v1beta1

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=dds.flexibleengine.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "dds.flexibleengine.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	DatabaseRole_Kind             = "DatabaseRole"
	DatabaseRole_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DatabaseRole_Kind}.String()
	DatabaseRole_KindAPIVersion   = DatabaseRole_Kind + "." + CRDGroupVersion.String()
	DatabaseRole_GroupVersionKind = CRDGroupVersion.WithKind(DatabaseRole_Kind)
)

Repository type metadata.

View Source
var (
	DatabaseUser_Kind             = "DatabaseUser"
	DatabaseUser_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DatabaseUser_Kind}.String()
	DatabaseUser_KindAPIVersion   = DatabaseUser_Kind + "." + CRDGroupVersion.String()
	DatabaseUser_GroupVersionKind = CRDGroupVersion.WithKind(DatabaseUser_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.

Functions

This section is empty.

Types

type BackupStrategyObservation

type BackupStrategyObservation struct {
}

func (*BackupStrategyObservation) DeepCopy

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

func (*BackupStrategyObservation) DeepCopyInto

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

type BackupStrategyParameters

type BackupStrategyParameters struct {

	// Specifies the number of days to retain the generated backup files.
	// The value range is from 0 to 732.
	// +kubebuilder:validation:Required
	KeepDays *float64 `json:"keepDays" tf:"keep_days,omitempty"`

	// Specifies the backup time window. Automated backups will be triggered
	// during the backup time window. The value cannot be empty. It must be a valid value in the
	// "hh:mm-HH:MM" format. The current time is in the UTC format.
	// +kubebuilder:validation:Required
	StartTime *string `json:"startTime" tf:"start_time,omitempty"`
}

func (*BackupStrategyParameters) DeepCopy

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

func (*BackupStrategyParameters) DeepCopyInto

func (in *BackupStrategyParameters) DeepCopyInto(out *BackupStrategyParameters)

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

type DatabaseRole

type DatabaseRole struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DatabaseRoleSpec   `json:"spec"`
	Status            DatabaseRoleStatus `json:"status,omitempty"`
}

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

func (*DatabaseRole) DeepCopy

func (in *DatabaseRole) DeepCopy() *DatabaseRole

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

func (*DatabaseRole) DeepCopyInto

func (in *DatabaseRole) DeepCopyInto(out *DatabaseRole)

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

func (*DatabaseRole) DeepCopyObject

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

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

func (*DatabaseRole) GetCondition

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

GetCondition of this DatabaseRole.

func (*DatabaseRole) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DatabaseRole

func (*DatabaseRole) GetDeletionPolicy

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

GetDeletionPolicy of this DatabaseRole.

func (*DatabaseRole) GetID

func (tr *DatabaseRole) GetID() string

GetID returns ID of underlying Terraform resource of this DatabaseRole

func (*DatabaseRole) GetObservation

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

GetObservation of this DatabaseRole

func (*DatabaseRole) GetParameters

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

GetParameters of this DatabaseRole

func (*DatabaseRole) GetProviderConfigReference

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

GetProviderConfigReference of this DatabaseRole.

func (*DatabaseRole) GetProviderReference

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

GetProviderReference of this DatabaseRole. Deprecated: Use GetProviderConfigReference.

func (*DatabaseRole) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DatabaseRole.

func (*DatabaseRole) GetTerraformResourceType

func (mg *DatabaseRole) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DatabaseRole

func (*DatabaseRole) GetTerraformSchemaVersion

func (tr *DatabaseRole) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DatabaseRole) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DatabaseRole.

func (*DatabaseRole) LateInitialize

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

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

func (*DatabaseRole) ResolveReferences

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

ResolveReferences of this DatabaseRole.

func (*DatabaseRole) SetConditions

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

SetConditions of this DatabaseRole.

func (*DatabaseRole) SetDeletionPolicy

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

SetDeletionPolicy of this DatabaseRole.

func (*DatabaseRole) SetObservation

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

SetObservation for this DatabaseRole

func (*DatabaseRole) SetParameters

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

SetParameters for this DatabaseRole

func (*DatabaseRole) SetProviderConfigReference

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

SetProviderConfigReference of this DatabaseRole.

func (*DatabaseRole) SetProviderReference

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

SetProviderReference of this DatabaseRole. Deprecated: Use SetProviderConfigReference.

func (*DatabaseRole) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DatabaseRole.

func (*DatabaseRole) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DatabaseRole.

type DatabaseRoleList

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

DatabaseRoleList contains a list of DatabaseRoles

func (*DatabaseRoleList) DeepCopy

func (in *DatabaseRoleList) DeepCopy() *DatabaseRoleList

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

func (*DatabaseRoleList) DeepCopyInto

func (in *DatabaseRoleList) DeepCopyInto(out *DatabaseRoleList)

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

func (*DatabaseRoleList) DeepCopyObject

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

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

func (*DatabaseRoleList) GetItems

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

GetItems of this DatabaseRoleList.

type DatabaseRoleObservation

type DatabaseRoleObservation struct {

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

	// The list of database privileges owned by the current role, includes all privileges
	// inherited by owned roles. The object structure is documented below.
	InheritedPrivileges []InheritedPrivilegesObservation `json:"inheritedPrivileges,omitempty" tf:"inherited_privileges,omitempty"`

	// The list of database privileges owned by the current role.
	// The object structure is documented below.
	Privileges []PrivilegesObservation `json:"privileges,omitempty" tf:"privileges,omitempty"`
}

func (*DatabaseRoleObservation) DeepCopy

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

func (*DatabaseRoleObservation) DeepCopyInto

func (in *DatabaseRoleObservation) DeepCopyInto(out *DatabaseRoleObservation)

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

type DatabaseRoleParameters

type DatabaseRoleParameters struct {

	// Specifies the database name to which the role belongs.
	// The name can contain 1 to 64 characters, only letters, digits and underscores (_) are allowed.
	// Changing this parameter will create a new role.
	// +kubebuilder:validation:Required
	DBName *string `json:"dbName" tf:"db_name,omitempty"`

	// Specifies the DDS instance ID to which the role belongs.
	// Changing this parameter will create a new role.
	// +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:"-"`

	// Specifies the role name.
	// The name can contain 1 to 64 characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are
	// allowed. Changing this parameter will create a new role.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Specifies the region where the DDS instance is located.
	// Changing this parameter will create a new role.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the list of roles owned by the current role.
	// The object structure is documented below.
	// Changing this parameter will create a new role.
	// +kubebuilder:validation:Optional
	Roles []RolesParameters `json:"roles,omitempty" tf:"roles,omitempty"`
}

func (*DatabaseRoleParameters) DeepCopy

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

func (*DatabaseRoleParameters) DeepCopyInto

func (in *DatabaseRoleParameters) DeepCopyInto(out *DatabaseRoleParameters)

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

type DatabaseRoleSpec

type DatabaseRoleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DatabaseRoleParameters `json:"forProvider"`
}

DatabaseRoleSpec defines the desired state of DatabaseRole

func (*DatabaseRoleSpec) DeepCopy

func (in *DatabaseRoleSpec) DeepCopy() *DatabaseRoleSpec

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

func (*DatabaseRoleSpec) DeepCopyInto

func (in *DatabaseRoleSpec) DeepCopyInto(out *DatabaseRoleSpec)

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

type DatabaseRoleStatus

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

DatabaseRoleStatus defines the observed state of DatabaseRole.

func (*DatabaseRoleStatus) DeepCopy

func (in *DatabaseRoleStatus) DeepCopy() *DatabaseRoleStatus

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

func (*DatabaseRoleStatus) DeepCopyInto

func (in *DatabaseRoleStatus) DeepCopyInto(out *DatabaseRoleStatus)

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

type DatabaseUser

type DatabaseUser struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DatabaseUserSpec   `json:"spec"`
	Status            DatabaseUserStatus `json:"status,omitempty"`
}

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

func (*DatabaseUser) DeepCopy

func (in *DatabaseUser) DeepCopy() *DatabaseUser

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

func (*DatabaseUser) DeepCopyInto

func (in *DatabaseUser) DeepCopyInto(out *DatabaseUser)

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

func (*DatabaseUser) DeepCopyObject

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

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

func (*DatabaseUser) GetCondition

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

GetCondition of this DatabaseUser.

func (*DatabaseUser) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DatabaseUser

func (*DatabaseUser) GetDeletionPolicy

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

GetDeletionPolicy of this DatabaseUser.

func (*DatabaseUser) GetID

func (tr *DatabaseUser) GetID() string

GetID returns ID of underlying Terraform resource of this DatabaseUser

func (*DatabaseUser) GetObservation

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

GetObservation of this DatabaseUser

func (*DatabaseUser) GetParameters

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

GetParameters of this DatabaseUser

func (*DatabaseUser) GetProviderConfigReference

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

GetProviderConfigReference of this DatabaseUser.

func (*DatabaseUser) GetProviderReference

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

GetProviderReference of this DatabaseUser. Deprecated: Use GetProviderConfigReference.

func (*DatabaseUser) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DatabaseUser.

func (*DatabaseUser) GetTerraformResourceType

func (mg *DatabaseUser) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DatabaseUser

func (*DatabaseUser) GetTerraformSchemaVersion

func (tr *DatabaseUser) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DatabaseUser) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DatabaseUser.

func (*DatabaseUser) LateInitialize

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

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

func (*DatabaseUser) ResolveReferences

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

ResolveReferences of this DatabaseUser.

func (*DatabaseUser) SetConditions

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

SetConditions of this DatabaseUser.

func (*DatabaseUser) SetDeletionPolicy

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

SetDeletionPolicy of this DatabaseUser.

func (*DatabaseUser) SetObservation

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

SetObservation for this DatabaseUser

func (*DatabaseUser) SetParameters

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

SetParameters for this DatabaseUser

func (*DatabaseUser) SetProviderConfigReference

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

SetProviderConfigReference of this DatabaseUser.

func (*DatabaseUser) SetProviderReference

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

SetProviderReference of this DatabaseUser. Deprecated: Use SetProviderConfigReference.

func (*DatabaseUser) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DatabaseUser.

func (*DatabaseUser) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DatabaseUser.

type DatabaseUserInheritedPrivilegesObservation

type DatabaseUserInheritedPrivilegesObservation struct {

	// The operation permission list.
	Actions []*string `json:"actions,omitempty" tf:"actions,omitempty"`

	// The details of the resource to which the privilege belongs.
	// The object structure is documented below.
	Resources []InheritedPrivilegesResourcesObservation `json:"resources,omitempty" tf:"resources,omitempty"`
}

func (*DatabaseUserInheritedPrivilegesObservation) DeepCopy

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

func (*DatabaseUserInheritedPrivilegesObservation) DeepCopyInto

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

type DatabaseUserInheritedPrivilegesParameters

type DatabaseUserInheritedPrivilegesParameters struct {
}

func (*DatabaseUserInheritedPrivilegesParameters) DeepCopy

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

func (*DatabaseUserInheritedPrivilegesParameters) DeepCopyInto

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

type DatabaseUserList

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

DatabaseUserList contains a list of DatabaseUsers

func (*DatabaseUserList) DeepCopy

func (in *DatabaseUserList) DeepCopy() *DatabaseUserList

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

func (*DatabaseUserList) DeepCopyInto

func (in *DatabaseUserList) DeepCopyInto(out *DatabaseUserList)

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

func (*DatabaseUserList) DeepCopyObject

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

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

func (*DatabaseUserList) GetItems

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

GetItems of this DatabaseUserList.

type DatabaseUserObservation

type DatabaseUserObservation struct {

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

	// The list of database privileges owned by the current user, includes all privileges
	// inherited by owned roles. The object structure is documented below.
	InheritedPrivileges []DatabaseUserInheritedPrivilegesObservation `json:"inheritedPrivileges,omitempty" tf:"inherited_privileges,omitempty"`

	// The list of database privileges owned by the current user.
	// The object structure is documented below.
	Privileges []DatabaseUserPrivilegesObservation `json:"privileges,omitempty" tf:"privileges,omitempty"`
}

func (*DatabaseUserObservation) DeepCopy

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

func (*DatabaseUserObservation) DeepCopyInto

func (in *DatabaseUserObservation) DeepCopyInto(out *DatabaseUserObservation)

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

type DatabaseUserParameters

type DatabaseUserParameters struct {

	// Specifies the database name to which the user belongs.
	// The name can contain 1 to 64 characters, only letters, digits and underscores (_) are allowed.
	// Changing this parameter will create a new user.
	// +kubebuilder:validation:Required
	DBName *string `json:"dbName" tf:"db_name,omitempty"`

	// Specifies the DDS instance ID to which the user belongs.
	// Changing this parameter will create a new user.
	// +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:"-"`

	// Specifies the user name.
	// The name can contain 1 to 64 characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are
	// allowed. And cannot use reserved names: drsFull or drsIncremental.
	// Changing this parameter will create a new user.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Specifies the user password.
	// The assword content must meet the following conditions:
	// +kubebuilder:validation:Required
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// Specifies the region where the DDS instance is located.
	// Changing this parameter will create a new user.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the list of roles owned by the current user.
	// The object structure is documented below. Changing this parameter will create a new user.
	// +kubebuilder:validation:Required
	Roles []DatabaseUserRolesParameters `json:"roles" tf:"roles,omitempty"`
}

func (*DatabaseUserParameters) DeepCopy

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

func (*DatabaseUserParameters) DeepCopyInto

func (in *DatabaseUserParameters) DeepCopyInto(out *DatabaseUserParameters)

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

type DatabaseUserPrivilegesObservation

type DatabaseUserPrivilegesObservation struct {

	// The operation permission list.
	Actions []*string `json:"actions,omitempty" tf:"actions,omitempty"`

	// The details of the resource to which the privilege belongs.
	// The object structure is documented below.
	Resources []DatabaseUserPrivilegesResourcesObservation `json:"resources,omitempty" tf:"resources,omitempty"`
}

func (*DatabaseUserPrivilegesObservation) DeepCopy

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

func (*DatabaseUserPrivilegesObservation) DeepCopyInto

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

type DatabaseUserPrivilegesParameters

type DatabaseUserPrivilegesParameters struct {
}

func (*DatabaseUserPrivilegesParameters) DeepCopy

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

func (*DatabaseUserPrivilegesParameters) DeepCopyInto

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

type DatabaseUserPrivilegesResourcesObservation

type DatabaseUserPrivilegesResourcesObservation struct {

	// The database collection type.
	Collection *string `json:"collection,omitempty" tf:"collection,omitempty"`

	// Specifies the database name to which this owned role belongs.
	// Changing this parameter will create a new user.
	DBName *string `json:"dbName,omitempty" tf:"db_name,omitempty"`
}

func (*DatabaseUserPrivilegesResourcesObservation) DeepCopy

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

func (*DatabaseUserPrivilegesResourcesObservation) DeepCopyInto

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

type DatabaseUserPrivilegesResourcesParameters

type DatabaseUserPrivilegesResourcesParameters struct {
}

func (*DatabaseUserPrivilegesResourcesParameters) DeepCopy

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

func (*DatabaseUserPrivilegesResourcesParameters) DeepCopyInto

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

type DatabaseUserRolesObservation

type DatabaseUserRolesObservation struct {
}

func (*DatabaseUserRolesObservation) DeepCopy

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

func (*DatabaseUserRolesObservation) DeepCopyInto

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

type DatabaseUserRolesParameters

type DatabaseUserRolesParameters struct {

	// Specifies the database name to which this owned role belongs.
	// Changing this parameter will create a new user.
	// +kubebuilder:validation:Required
	DBName *string `json:"dbName" tf:"db_name,omitempty"`

	// Specifies the name of role owned by the current user.
	// The name can contain 1 to 64 characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are
	// allowed. Changing this parameter will create a new user.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*DatabaseUserRolesParameters) DeepCopy

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

func (*DatabaseUserRolesParameters) DeepCopyInto

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

type DatabaseUserSpec

type DatabaseUserSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DatabaseUserParameters `json:"forProvider"`
}

DatabaseUserSpec defines the desired state of DatabaseUser

func (*DatabaseUserSpec) DeepCopy

func (in *DatabaseUserSpec) DeepCopy() *DatabaseUserSpec

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

func (*DatabaseUserSpec) DeepCopyInto

func (in *DatabaseUserSpec) DeepCopyInto(out *DatabaseUserSpec)

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

type DatabaseUserStatus

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

DatabaseUserStatus defines the observed state of DatabaseUser.

func (*DatabaseUserStatus) DeepCopy

func (in *DatabaseUserStatus) DeepCopy() *DatabaseUserStatus

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

func (*DatabaseUserStatus) DeepCopyInto

func (in *DatabaseUserStatus) DeepCopyInto(out *DatabaseUserStatus)

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

type DatastoreObservation

type DatastoreObservation struct {
}

func (*DatastoreObservation) DeepCopy

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

func (*DatastoreObservation) DeepCopyInto

func (in *DatastoreObservation) DeepCopyInto(out *DatastoreObservation)

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

type DatastoreParameters

type DatastoreParameters struct {

	// Specifies the storage engine of the DB instance. Only wiredTiger is supported now.
	// +kubebuilder:validation:Optional
	StorageEngine *string `json:"storageEngine,omitempty" tf:"storage_engine,omitempty"`

	// Specifies the DB engine. Only DDS-Community is supported now.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// Specifies the DB instance version. Only 3.4 and 4.0 are supported now.
	// +kubebuilder:validation:Required
	Version *string `json:"version" tf:"version,omitempty"`
}

func (*DatastoreParameters) DeepCopy

func (in *DatastoreParameters) DeepCopy() *DatastoreParameters

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

func (*DatastoreParameters) DeepCopyInto

func (in *DatastoreParameters) DeepCopyInto(out *DatastoreParameters)

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

type FlavorObservation

type FlavorObservation struct {
}

func (*FlavorObservation) DeepCopy

func (in *FlavorObservation) DeepCopy() *FlavorObservation

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

func (*FlavorObservation) DeepCopyInto

func (in *FlavorObservation) DeepCopyInto(out *FlavorObservation)

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

type FlavorParameters

type FlavorParameters struct {

	// Specifies the node quantity. Valid value:
	// +kubebuilder:validation:Required
	Num *float64 `json:"num" tf:"num,omitempty"`

	// Specifies the disk size. The value must be a multiple of 10. The unit is GB. This parameter
	// is mandatory for nodes except mongos and invalid for mongos.
	// +kubebuilder:validation:Optional
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// Specifies the resource specification code. Valid values:
	// +kubebuilder:validation:Required
	SpecCode *string `json:"specCode" tf:"spec_code,omitempty"`

	// Specifies the disk type. Valid value: ULTRAHIGH which indicates the type SSD.
	// +kubebuilder:validation:Optional
	Storage *string `json:"storage,omitempty" tf:"storage,omitempty"`

	// Specifies the node type. Valid value: mongos, shard, config, replica.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*FlavorParameters) DeepCopy

func (in *FlavorParameters) DeepCopy() *FlavorParameters

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

func (*FlavorParameters) DeepCopyInto

func (in *FlavorParameters) DeepCopyInto(out *FlavorParameters)

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

type InheritedPrivilegesObservation

type InheritedPrivilegesObservation struct {

	// The operation permission list.
	Actions []*string `json:"actions,omitempty" tf:"actions,omitempty"`

	// The details of the resource to which the privilege belongs.
	// The object structure is documented below.
	Resources []ResourcesObservation `json:"resources,omitempty" tf:"resources,omitempty"`
}

func (*InheritedPrivilegesObservation) DeepCopy

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

func (*InheritedPrivilegesObservation) DeepCopyInto

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

type InheritedPrivilegesParameters

type InheritedPrivilegesParameters struct {
}

func (*InheritedPrivilegesParameters) DeepCopy

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

func (*InheritedPrivilegesParameters) DeepCopyInto

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

type InheritedPrivilegesResourcesObservation

type InheritedPrivilegesResourcesObservation struct {

	// The database collection type.
	Collection *string `json:"collection,omitempty" tf:"collection,omitempty"`

	// Specifies the database name to which this owned role belongs.
	// Changing this parameter will create a new user.
	DBName *string `json:"dbName,omitempty" tf:"db_name,omitempty"`
}

func (*InheritedPrivilegesResourcesObservation) DeepCopy

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

func (*InheritedPrivilegesResourcesObservation) DeepCopyInto

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

type InheritedPrivilegesResourcesParameters

type InheritedPrivilegesResourcesParameters struct {
}

func (*InheritedPrivilegesResourcesParameters) DeepCopy

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

func (*InheritedPrivilegesResourcesParameters) DeepCopyInto

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

type Instance

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

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

func (*Instance) DeepCopy

func (in *Instance) DeepCopy() *Instance

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

func (*Instance) DeepCopyInto

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

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

func (*Instance) DeepCopyObject

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

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

func (*Instance) GetCondition

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

GetCondition of this Instance.

func (*Instance) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Instance

func (*Instance) GetDeletionPolicy

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

GetDeletionPolicy of this Instance.

func (*Instance) GetID

func (tr *Instance) GetID() string

GetID returns ID of underlying Terraform resource of this Instance

func (*Instance) GetObservation

func (tr *Instance) GetObservation() (map[string]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) GetProviderReference

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

GetProviderReference of this Instance. Deprecated: Use GetProviderConfigReference.

func (*Instance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Instance.

func (*Instance) GetTerraformResourceType

func (mg *Instance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Instance

func (*Instance) GetTerraformSchemaVersion

func (tr *Instance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Instance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Instance.

func (*Instance) LateInitialize

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

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

func (*Instance) ResolveReferences

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

ResolveReferences of this Instance.

func (*Instance) SetConditions

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

SetConditions of this Instance.

func (*Instance) SetDeletionPolicy

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

SetDeletionPolicy of this Instance.

func (*Instance) SetObservation

func (tr *Instance) SetObservation(obs map[string]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) SetProviderReference

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

SetProviderReference of this Instance. Deprecated: Use SetProviderConfigReference.

func (*Instance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Instance.

func (*Instance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Instance.

type InstanceList

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

InstanceList contains a list of Instances

func (*InstanceList) DeepCopy

func (in *InstanceList) DeepCopy() *InstanceList

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

func (*InstanceList) DeepCopyInto

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

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

func (*InstanceList) DeepCopyObject

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

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

func (*InstanceList) GetItems

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

GetItems of this InstanceList.

type InstanceObservation

type InstanceObservation struct {

	// Indicates the DB Administator name.
	DBUsername *string `json:"dbUsername,omitempty" tf:"db_username,omitempty"`

	// The resource ID in UUID format.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Indicates the instance nodes information. Structure is documented below.
	Nodes []NodesObservation `json:"nodes,omitempty" tf:"nodes,omitempty"`

	// Indicates the database port number. The port range is 2100 to 9500.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Indicates the the DB instance status.
	Status *string `json:"status,omitempty" tf:"status,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 {

	// Specifies the ID of the availability zone. Changing
	// this creates a new instance.
	// +kubebuilder:validation:Required
	AvailabilityZone *string `json:"availabilityZone" tf:"availability_zone,omitempty"`

	// Specifies the advanced backup policy. The structure is
	// described below. Changing this creates a new instance.
	// +kubebuilder:validation:Optional
	BackupStrategy []BackupStrategyParameters `json:"backupStrategy,omitempty" tf:"backup_strategy,omitempty"`

	// Specifies database information. The structure is described
	// below. Changing this creates a new instance.
	// +kubebuilder:validation:Required
	Datastore []DatastoreParameters `json:"datastore" tf:"datastore,omitempty"`

	// Specifies the disk encryption ID of the instance.
	// Changing this creates a new instance.
	// +kubebuilder:validation:Optional
	DiskEncryptionIDSecretRef *v1.SecretKeySelector `json:"diskEncryptionIdSecretRef,omitempty" tf:"-"`

	// Specifies the flavors information. The structure is described below.
	// Changing this creates a new instance.
	// +kubebuilder:validation:Required
	Flavor []FlavorParameters `json:"flavor" tf:"flavor,omitempty"`

	// Specifies the mode of the database instance. Changing this creates a new instance.
	// +kubebuilder:validation:Required
	Mode *string `json:"mode" tf:"mode,omitempty"`

	// Specifies the DB instance name. The DB instance name of the same
	// type is unique in the same tenant. Changing this creates a new instance.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Specifies the Administrator password of the database instance.
	// Changing this creates a new instance.
	// +kubebuilder:validation:Required
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`

	// Specifies the region of the DDS instance. Changing this creates
	// a new instance.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies whether to enable or disable SSL. Defaults to true.
	// Changing this creates a new instance.
	// +kubebuilder:validation:Optional
	SSL *bool `json:"ssl,omitempty" tf:"ssl,omitempty"`

	// Specifies the security group ID of the DDS instance.
	// Changing this creates a new instance.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.SecurityGroup
	// +crossplane:generate:reference:refFieldName=SecurityGroupIDRef
	// +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector
	// +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:"-"`

	// Specifies the ID of the VPC Subnet. Changing this creates a new instance.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPCSubnet
	// +crossplane:generate:reference:extractor=github.com/FlexibleEngineCloud/provider-flexibleengine/pkg/tools.ExtractorParamPathfunc(true, "id")
	// +crossplane:generate:reference:refFieldName=SubnetIDRef
	// +crossplane:generate:reference:selectorFieldName=SubnetIDSelector
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

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

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

	// The key/value pairs to associate with the DDS instance.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies the VPC ID. Changing this creates a new instance.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.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:"-"`
}

func (*InstanceParameters) DeepCopy

func (in *InstanceParameters) DeepCopy() *InstanceParameters

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

func (*InstanceParameters) DeepCopyInto

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

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

type InstanceSpec

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

InstanceSpec defines the desired state of Instance

func (*InstanceSpec) DeepCopy

func (in *InstanceSpec) DeepCopy() *InstanceSpec

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

func (*InstanceSpec) DeepCopyInto

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

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

type InstanceStatus

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

InstanceStatus defines the observed state of Instance.

func (*InstanceStatus) DeepCopy

func (in *InstanceStatus) DeepCopy() *InstanceStatus

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

func (*InstanceStatus) DeepCopyInto

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

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

type NodesObservation

type NodesObservation struct {

	// Indicates the node ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Indicates the node name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Indicates the private IP address of a node. This parameter is valid only for
	// mongos nodes, replica set instances, and single node instances.
	PrivateIP *string `json:"privateIp,omitempty" tf:"private_ip,omitempty"`

	// Indicates the EIP that has been bound on a node. This parameter is valid only for
	// mongos nodes of cluster instances, primary nodes and secondary nodes of replica set instances,
	// and single node instances.
	PublicIP *string `json:"publicIp,omitempty" tf:"public_ip,omitempty"`

	// Indicates the node role.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Indicates the node status.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Indicates the node type.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*NodesObservation) DeepCopy

func (in *NodesObservation) DeepCopy() *NodesObservation

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

func (*NodesObservation) DeepCopyInto

func (in *NodesObservation) DeepCopyInto(out *NodesObservation)

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

type NodesParameters

type NodesParameters struct {
}

func (*NodesParameters) DeepCopy

func (in *NodesParameters) DeepCopy() *NodesParameters

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

func (*NodesParameters) DeepCopyInto

func (in *NodesParameters) DeepCopyInto(out *NodesParameters)

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

type PrivilegesObservation

type PrivilegesObservation struct {

	// The operation permission list.
	Actions []*string `json:"actions,omitempty" tf:"actions,omitempty"`

	// The details of the resource to which the privilege belongs.
	// The object structure is documented below.
	Resources []PrivilegesResourcesObservation `json:"resources,omitempty" tf:"resources,omitempty"`
}

func (*PrivilegesObservation) DeepCopy

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

func (*PrivilegesObservation) DeepCopyInto

func (in *PrivilegesObservation) DeepCopyInto(out *PrivilegesObservation)

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

type PrivilegesParameters

type PrivilegesParameters struct {
}

func (*PrivilegesParameters) DeepCopy

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

func (*PrivilegesParameters) DeepCopyInto

func (in *PrivilegesParameters) DeepCopyInto(out *PrivilegesParameters)

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

type PrivilegesResourcesObservation

type PrivilegesResourcesObservation struct {

	// The database collection type.
	Collection *string `json:"collection,omitempty" tf:"collection,omitempty"`

	// Specifies the database name to which this owned role belongs.
	// Changing this parameter will create a new role.
	DBName *string `json:"dbName,omitempty" tf:"db_name,omitempty"`
}

func (*PrivilegesResourcesObservation) DeepCopy

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

func (*PrivilegesResourcesObservation) DeepCopyInto

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

type PrivilegesResourcesParameters

type PrivilegesResourcesParameters struct {
}

func (*PrivilegesResourcesParameters) DeepCopy

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

func (*PrivilegesResourcesParameters) DeepCopyInto

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

type ResourcesObservation

type ResourcesObservation struct {

	// The database collection type.
	Collection *string `json:"collection,omitempty" tf:"collection,omitempty"`

	// Specifies the database name to which this owned role belongs.
	// Changing this parameter will create a new role.
	DBName *string `json:"dbName,omitempty" tf:"db_name,omitempty"`
}

func (*ResourcesObservation) DeepCopy

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

func (*ResourcesObservation) DeepCopyInto

func (in *ResourcesObservation) DeepCopyInto(out *ResourcesObservation)

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

type ResourcesParameters

type ResourcesParameters struct {
}

func (*ResourcesParameters) DeepCopy

func (in *ResourcesParameters) DeepCopy() *ResourcesParameters

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

func (*ResourcesParameters) DeepCopyInto

func (in *ResourcesParameters) DeepCopyInto(out *ResourcesParameters)

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

type RolesObservation

type RolesObservation struct {
}

func (*RolesObservation) DeepCopy

func (in *RolesObservation) DeepCopy() *RolesObservation

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

func (*RolesObservation) DeepCopyInto

func (in *RolesObservation) DeepCopyInto(out *RolesObservation)

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

type RolesParameters

type RolesParameters struct {

	// Specifies the database name to which this owned role belongs.
	// Changing this parameter will create a new role.
	// +kubebuilder:validation:Required
	DBName *string `json:"dbName" tf:"db_name,omitempty"`

	// Specifies the name of role owned by the current role.
	// The name can contain 1 to 64 characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are
	// allowed. Changing this parameter will create a new role.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*RolesParameters) DeepCopy

func (in *RolesParameters) DeepCopy() *RolesParameters

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

func (*RolesParameters) DeepCopyInto

func (in *RolesParameters) DeepCopyInto(out *RolesParameters)

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