Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=database.linode.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AccessControls
- func (in *AccessControls) DeepCopy() *AccessControls
- func (in *AccessControls) DeepCopyInto(out *AccessControls)
- func (in *AccessControls) DeepCopyObject() runtime.Object
- func (mg *AccessControls) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *AccessControls) GetConnectionDetailsMapping() map[string]string
- func (mg *AccessControls) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *AccessControls) GetID() string
- func (tr *AccessControls) GetInitParameters() (map[string]any, error)
- func (mg *AccessControls) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *AccessControls) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *AccessControls) GetObservation() (map[string]any, error)
- func (tr *AccessControls) GetParameters() (map[string]any, error)
- func (mg *AccessControls) GetProviderConfigReference() *xpv1.Reference
- func (mg *AccessControls) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *AccessControls) GetTerraformResourceType() string
- func (tr *AccessControls) GetTerraformSchemaVersion() int
- func (mg *AccessControls) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *AccessControls) Hub()
- func (tr *AccessControls) LateInitialize(attrs []byte) (bool, error)
- func (mg *AccessControls) SetConditions(c ...xpv1.Condition)
- func (mg *AccessControls) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *AccessControls) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *AccessControls) SetObservation(obs map[string]any) error
- func (tr *AccessControls) SetParameters(params map[string]any) error
- func (mg *AccessControls) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *AccessControls) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *AccessControls) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AccessControlsInitParameters
- type AccessControlsList
- type AccessControlsObservation
- type AccessControlsParameters
- type AccessControlsSpec
- type AccessControlsStatus
- type MySQL
- func (in *MySQL) DeepCopy() *MySQL
- func (in *MySQL) DeepCopyInto(out *MySQL)
- func (in *MySQL) DeepCopyObject() runtime.Object
- func (mg *MySQL) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *MySQL) GetConnectionDetailsMapping() map[string]string
- func (mg *MySQL) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *MySQL) GetID() string
- func (tr *MySQL) GetInitParameters() (map[string]any, error)
- func (mg *MySQL) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *MySQL) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *MySQL) GetObservation() (map[string]any, error)
- func (tr *MySQL) GetParameters() (map[string]any, error)
- func (mg *MySQL) GetProviderConfigReference() *xpv1.Reference
- func (mg *MySQL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *MySQL) GetTerraformResourceType() string
- func (tr *MySQL) GetTerraformSchemaVersion() int
- func (mg *MySQL) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *MySQL) Hub()
- func (tr *MySQL) LateInitialize(attrs []byte) (bool, error)
- func (mg *MySQL) SetConditions(c ...xpv1.Condition)
- func (mg *MySQL) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *MySQL) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *MySQL) SetObservation(obs map[string]any) error
- func (tr *MySQL) SetParameters(params map[string]any) error
- func (mg *MySQL) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *MySQL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *MySQL) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MySQLInitParameters
- type MySQLList
- type MySQLObservation
- type MySQLParameters
- type MySQLSpec
- type MySQLStatus
- type MySQLv2
- func (in *MySQLv2) DeepCopy() *MySQLv2
- func (in *MySQLv2) DeepCopyInto(out *MySQLv2)
- func (in *MySQLv2) DeepCopyObject() runtime.Object
- func (mg *MySQLv2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *MySQLv2) GetConnectionDetailsMapping() map[string]string
- func (mg *MySQLv2) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *MySQLv2) GetID() string
- func (tr *MySQLv2) GetInitParameters() (map[string]any, error)
- func (mg *MySQLv2) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *MySQLv2) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *MySQLv2) GetObservation() (map[string]any, error)
- func (tr *MySQLv2) GetParameters() (map[string]any, error)
- func (mg *MySQLv2) GetProviderConfigReference() *xpv1.Reference
- func (mg *MySQLv2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *MySQLv2) GetTerraformResourceType() string
- func (tr *MySQLv2) GetTerraformSchemaVersion() int
- func (mg *MySQLv2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *MySQLv2) Hub()
- func (tr *MySQLv2) LateInitialize(attrs []byte) (bool, error)
- func (mg *MySQLv2) SetConditions(c ...xpv1.Condition)
- func (mg *MySQLv2) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *MySQLv2) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *MySQLv2) SetObservation(obs map[string]any) error
- func (tr *MySQLv2) SetParameters(params map[string]any) error
- func (mg *MySQLv2) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *MySQLv2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *MySQLv2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MySQLv2InitParameters
- type MySQLv2List
- type MySQLv2Observation
- type MySQLv2Parameters
- type MySQLv2Spec
- type MySQLv2Status
- type MySQLv2UpdatesInitParameters
- type MySQLv2UpdatesObservation
- type MySQLv2UpdatesParameters
- type PendingUpdatesInitParameters
- type PendingUpdatesObservation
- type PendingUpdatesParameters
- type PostgreSQL
- func (in *PostgreSQL) DeepCopy() *PostgreSQL
- func (in *PostgreSQL) DeepCopyInto(out *PostgreSQL)
- func (in *PostgreSQL) DeepCopyObject() runtime.Object
- func (mg *PostgreSQL) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *PostgreSQL) GetConnectionDetailsMapping() map[string]string
- func (mg *PostgreSQL) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *PostgreSQL) GetID() string
- func (tr *PostgreSQL) GetInitParameters() (map[string]any, error)
- func (mg *PostgreSQL) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *PostgreSQL) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *PostgreSQL) GetObservation() (map[string]any, error)
- func (tr *PostgreSQL) GetParameters() (map[string]any, error)
- func (mg *PostgreSQL) GetProviderConfigReference() *xpv1.Reference
- func (mg *PostgreSQL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PostgreSQL) GetTerraformResourceType() string
- func (tr *PostgreSQL) GetTerraformSchemaVersion() int
- func (mg *PostgreSQL) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *PostgreSQL) Hub()
- func (tr *PostgreSQL) LateInitialize(attrs []byte) (bool, error)
- func (mg *PostgreSQL) SetConditions(c ...xpv1.Condition)
- func (mg *PostgreSQL) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PostgreSQL) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *PostgreSQL) SetObservation(obs map[string]any) error
- func (tr *PostgreSQL) SetParameters(params map[string]any) error
- func (mg *PostgreSQL) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PostgreSQL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PostgreSQL) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PostgreSQLInitParameters
- type PostgreSQLList
- type PostgreSQLObservation
- type PostgreSQLParameters
- type PostgreSQLSpec
- type PostgreSQLStatus
- type PostgreSQLUpdatesInitParameters
- type PostgreSQLUpdatesObservation
- type PostgreSQLUpdatesParameters
- type PostgreSQLv2
- func (in *PostgreSQLv2) DeepCopy() *PostgreSQLv2
- func (in *PostgreSQLv2) DeepCopyInto(out *PostgreSQLv2)
- func (in *PostgreSQLv2) DeepCopyObject() runtime.Object
- func (mg *PostgreSQLv2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *PostgreSQLv2) GetConnectionDetailsMapping() map[string]string
- func (mg *PostgreSQLv2) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *PostgreSQLv2) GetID() string
- func (tr *PostgreSQLv2) GetInitParameters() (map[string]any, error)
- func (mg *PostgreSQLv2) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *PostgreSQLv2) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *PostgreSQLv2) GetObservation() (map[string]any, error)
- func (tr *PostgreSQLv2) GetParameters() (map[string]any, error)
- func (mg *PostgreSQLv2) GetProviderConfigReference() *xpv1.Reference
- func (mg *PostgreSQLv2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PostgreSQLv2) GetTerraformResourceType() string
- func (tr *PostgreSQLv2) GetTerraformSchemaVersion() int
- func (mg *PostgreSQLv2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *PostgreSQLv2) Hub()
- func (tr *PostgreSQLv2) LateInitialize(attrs []byte) (bool, error)
- func (mg *PostgreSQLv2) SetConditions(c ...xpv1.Condition)
- func (mg *PostgreSQLv2) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PostgreSQLv2) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *PostgreSQLv2) SetObservation(obs map[string]any) error
- func (tr *PostgreSQLv2) SetParameters(params map[string]any) error
- func (mg *PostgreSQLv2) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PostgreSQLv2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PostgreSQLv2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PostgreSQLv2InitParameters
- type PostgreSQLv2List
- type PostgreSQLv2Observation
- type PostgreSQLv2Parameters
- type PostgreSQLv2PendingUpdatesInitParameters
- type PostgreSQLv2PendingUpdatesObservation
- type PostgreSQLv2PendingUpdatesParameters
- type PostgreSQLv2Spec
- type PostgreSQLv2Status
- type PostgreSQLv2UpdatesInitParameters
- type PostgreSQLv2UpdatesObservation
- type PostgreSQLv2UpdatesParameters
- type UpdatesInitParameters
- type UpdatesObservation
- type UpdatesParameters
Constants ¶
const ( CRDGroup = "database.linode.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( AccessControls_Kind = "AccessControls" AccessControls_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AccessControls_Kind}.String() AccessControls_KindAPIVersion = AccessControls_Kind + "." + CRDGroupVersion.String() AccessControls_GroupVersionKind = CRDGroupVersion.WithKind(AccessControls_Kind) )
Repository type metadata.
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 )
var ( MySQL_Kind = "MySQL" MySQL_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: MySQL_Kind}.String() MySQL_KindAPIVersion = MySQL_Kind + "." + CRDGroupVersion.String() MySQL_GroupVersionKind = CRDGroupVersion.WithKind(MySQL_Kind) )
Repository type metadata.
var ( MySQLv2_Kind = "MySQLv2" MySQLv2_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: MySQLv2_Kind}.String() MySQLv2_KindAPIVersion = MySQLv2_Kind + "." + CRDGroupVersion.String() MySQLv2_GroupVersionKind = CRDGroupVersion.WithKind(MySQLv2_Kind) )
Repository type metadata.
var ( PostgreSQL_Kind = "PostgreSQL" PostgreSQL_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PostgreSQL_Kind}.String() PostgreSQL_KindAPIVersion = PostgreSQL_Kind + "." + CRDGroupVersion.String() PostgreSQL_GroupVersionKind = CRDGroupVersion.WithKind(PostgreSQL_Kind) )
Repository type metadata.
var ( PostgreSQLv2_Kind = "PostgreSQLv2" PostgreSQLv2_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PostgreSQLv2_Kind}.String() PostgreSQLv2_KindAPIVersion = PostgreSQLv2_Kind + "." + CRDGroupVersion.String() PostgreSQLv2_GroupVersionKind = CRDGroupVersion.WithKind(PostgreSQLv2_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AccessControls ¶
type AccessControls 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.allowList) || (has(self.initProvider) && has(self.initProvider.allowList))",message="spec.forProvider.allowList is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.databaseId) || (has(self.initProvider) && has(self.initProvider.databaseId))",message="spec.forProvider.databaseId is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.databaseType) || (has(self.initProvider) && has(self.initProvider.databaseType))",message="spec.forProvider.databaseType is a required parameter"
Spec AccessControlsSpec `json:"spec"`
Status AccessControlsStatus `json:"status,omitempty"`
}
AccessControls is the Schema for the AccessControlss API. Manages the access controls for a Linode Database. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,linode}
func (*AccessControls) DeepCopy ¶
func (in *AccessControls) DeepCopy() *AccessControls
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControls.
func (*AccessControls) DeepCopyInto ¶
func (in *AccessControls) DeepCopyInto(out *AccessControls)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessControls) DeepCopyObject ¶
func (in *AccessControls) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccessControls) GetCondition ¶
func (mg *AccessControls) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this AccessControls.
func (*AccessControls) GetConnectionDetailsMapping ¶
func (tr *AccessControls) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this AccessControls
func (*AccessControls) GetDeletionPolicy ¶
func (mg *AccessControls) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this AccessControls.
func (*AccessControls) GetID ¶
func (tr *AccessControls) GetID() string
GetID returns ID of underlying Terraform resource of this AccessControls
func (*AccessControls) GetInitParameters ¶ added in v0.0.16
func (tr *AccessControls) GetInitParameters() (map[string]any, error)
GetInitParameters of this AccessControls
func (*AccessControls) GetManagementPolicies ¶ added in v0.0.16
func (mg *AccessControls) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this AccessControls.
func (*AccessControls) GetMergedParameters ¶ added in v0.0.16
func (tr *AccessControls) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this AccessControls
func (*AccessControls) GetObservation ¶
func (tr *AccessControls) GetObservation() (map[string]any, error)
GetObservation of this AccessControls
func (*AccessControls) GetParameters ¶
func (tr *AccessControls) GetParameters() (map[string]any, error)
GetParameters of this AccessControls
func (*AccessControls) GetProviderConfigReference ¶
func (mg *AccessControls) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this AccessControls.
func (*AccessControls) GetPublishConnectionDetailsTo ¶
func (mg *AccessControls) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this AccessControls.
func (*AccessControls) GetTerraformResourceType ¶
func (mg *AccessControls) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this AccessControls
func (*AccessControls) GetTerraformSchemaVersion ¶
func (tr *AccessControls) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*AccessControls) GetWriteConnectionSecretToReference ¶
func (mg *AccessControls) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this AccessControls.
func (*AccessControls) Hub ¶ added in v0.0.16
func (tr *AccessControls) Hub()
Hub marks this type as a conversion hub.
func (*AccessControls) LateInitialize ¶
func (tr *AccessControls) LateInitialize(attrs []byte) (bool, error)
LateInitialize this AccessControls using its observed tfState. returns True if there are any spec changes for the resource.
func (*AccessControls) SetConditions ¶
func (mg *AccessControls) SetConditions(c ...xpv1.Condition)
SetConditions of this AccessControls.
func (*AccessControls) SetDeletionPolicy ¶
func (mg *AccessControls) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this AccessControls.
func (*AccessControls) SetManagementPolicies ¶ added in v0.0.16
func (mg *AccessControls) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this AccessControls.
func (*AccessControls) SetObservation ¶
func (tr *AccessControls) SetObservation(obs map[string]any) error
SetObservation for this AccessControls
func (*AccessControls) SetParameters ¶
func (tr *AccessControls) SetParameters(params map[string]any) error
SetParameters for this AccessControls
func (*AccessControls) SetProviderConfigReference ¶
func (mg *AccessControls) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this AccessControls.
func (*AccessControls) SetPublishConnectionDetailsTo ¶
func (mg *AccessControls) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this AccessControls.
func (*AccessControls) SetWriteConnectionSecretToReference ¶
func (mg *AccessControls) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this AccessControls.
type AccessControlsInitParameters ¶ added in v0.0.16
type AccessControlsInitParameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The unique ID of the target database.
// The ID of the database to manage the allow list for.
DatabaseID *float64 `json:"databaseId,omitempty" tf:"database_id,omitempty"`
// The unique type of the target database. (mysql, postgresql)
// The type of the database to manage the allow list for.
DatabaseType *string `json:"databaseType,omitempty" tf:"database_type,omitempty"`
}
func (*AccessControlsInitParameters) DeepCopy ¶ added in v0.0.16
func (in *AccessControlsInitParameters) DeepCopy() *AccessControlsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlsInitParameters.
func (*AccessControlsInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *AccessControlsInitParameters) DeepCopyInto(out *AccessControlsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessControlsList ¶
type AccessControlsList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AccessControls `json:"items"`
}
AccessControlsList contains a list of AccessControlss
func (*AccessControlsList) DeepCopy ¶
func (in *AccessControlsList) DeepCopy() *AccessControlsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlsList.
func (*AccessControlsList) DeepCopyInto ¶
func (in *AccessControlsList) DeepCopyInto(out *AccessControlsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessControlsList) DeepCopyObject ¶
func (in *AccessControlsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccessControlsList) GetItems ¶
func (l *AccessControlsList) GetItems() []resource.Managed
GetItems of this AccessControlsList.
type AccessControlsObservation ¶
type AccessControlsObservation struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The unique ID of the target database.
// The ID of the database to manage the allow list for.
DatabaseID *float64 `json:"databaseId,omitempty" tf:"database_id,omitempty"`
// The unique type of the target database. (mysql, postgresql)
// The type of the database to manage the allow list for.
DatabaseType *string `json:"databaseType,omitempty" tf:"database_type,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*AccessControlsObservation) DeepCopy ¶
func (in *AccessControlsObservation) DeepCopy() *AccessControlsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlsObservation.
func (*AccessControlsObservation) DeepCopyInto ¶
func (in *AccessControlsObservation) DeepCopyInto(out *AccessControlsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessControlsParameters ¶
type AccessControlsParameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +kubebuilder:validation:Optional
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The unique ID of the target database.
// The ID of the database to manage the allow list for.
// +kubebuilder:validation:Optional
DatabaseID *float64 `json:"databaseId,omitempty" tf:"database_id,omitempty"`
// The unique type of the target database. (mysql, postgresql)
// The type of the database to manage the allow list for.
// +kubebuilder:validation:Optional
DatabaseType *string `json:"databaseType,omitempty" tf:"database_type,omitempty"`
}
func (*AccessControlsParameters) DeepCopy ¶
func (in *AccessControlsParameters) DeepCopy() *AccessControlsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlsParameters.
func (*AccessControlsParameters) DeepCopyInto ¶
func (in *AccessControlsParameters) DeepCopyInto(out *AccessControlsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessControlsSpec ¶
type AccessControlsSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider AccessControlsParameters `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 AccessControlsInitParameters `json:"initProvider,omitempty"`
}
AccessControlsSpec defines the desired state of AccessControls
func (*AccessControlsSpec) DeepCopy ¶
func (in *AccessControlsSpec) DeepCopy() *AccessControlsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlsSpec.
func (*AccessControlsSpec) DeepCopyInto ¶
func (in *AccessControlsSpec) DeepCopyInto(out *AccessControlsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessControlsStatus ¶
type AccessControlsStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider AccessControlsObservation `json:"atProvider,omitempty"`
}
AccessControlsStatus defines the observed state of AccessControls.
func (*AccessControlsStatus) DeepCopy ¶
func (in *AccessControlsStatus) DeepCopy() *AccessControlsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlsStatus.
func (*AccessControlsStatus) DeepCopyInto ¶
func (in *AccessControlsStatus) DeepCopyInto(out *AccessControlsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQL ¶
type MySQL 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.engineId) || (has(self.initProvider) && has(self.initProvider.engineId))",message="spec.forProvider.engineId is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.label) || (has(self.initProvider) && has(self.initProvider.label))",message="spec.forProvider.label is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.region) || (has(self.initProvider) && has(self.initProvider.region))",message="spec.forProvider.region is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
Spec MySQLSpec `json:"spec"`
Status MySQLStatus `json:"status,omitempty"`
}
MySQL is the Schema for the MySQLs API. Manages a Linode MySQL Database. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,linode}
func (*MySQL) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQL.
func (*MySQL) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQL) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MySQL) GetCondition ¶
func (mg *MySQL) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this MySQL.
func (*MySQL) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this MySQL
func (*MySQL) GetDeletionPolicy ¶
func (mg *MySQL) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this MySQL.
func (*MySQL) GetInitParameters ¶ added in v0.0.16
GetInitParameters of this MySQL
func (*MySQL) GetManagementPolicies ¶ added in v0.0.16
func (mg *MySQL) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this MySQL.
func (*MySQL) GetMergedParameters ¶ added in v0.0.16
GetInitParameters of this MySQL
func (*MySQL) GetObservation ¶
GetObservation of this MySQL
func (*MySQL) GetParameters ¶
GetParameters of this MySQL
func (*MySQL) GetProviderConfigReference ¶
GetProviderConfigReference of this MySQL.
func (*MySQL) GetPublishConnectionDetailsTo ¶
func (mg *MySQL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this MySQL.
func (*MySQL) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this MySQL
func (*MySQL) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*MySQL) GetWriteConnectionSecretToReference ¶
func (mg *MySQL) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this MySQL.
func (*MySQL) Hub ¶ added in v0.0.16
func (tr *MySQL) Hub()
Hub marks this type as a conversion hub.
func (*MySQL) LateInitialize ¶
LateInitialize this MySQL using its observed tfState. returns True if there are any spec changes for the resource.
func (*MySQL) SetConditions ¶
SetConditions of this MySQL.
func (*MySQL) SetDeletionPolicy ¶
func (mg *MySQL) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this MySQL.
func (*MySQL) SetManagementPolicies ¶ added in v0.0.16
func (mg *MySQL) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this MySQL.
func (*MySQL) SetObservation ¶
SetObservation for this MySQL
func (*MySQL) SetParameters ¶
SetParameters for this MySQL
func (*MySQL) SetProviderConfigReference ¶
SetProviderConfigReference of this MySQL.
func (*MySQL) SetPublishConnectionDetailsTo ¶
func (mg *MySQL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this MySQL.
func (*MySQL) SetWriteConnectionSecretToReference ¶
func (mg *MySQL) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this MySQL.
type MySQLInitParameters ¶ added in v0.0.16
type MySQLInitParameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// Whether the Managed Databases is encrypted. (default false)
// Whether the Managed Databases is encrypted.
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The region to use for the Managed Database.
// The region to use for the Managed Database.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
// The replication method used for the Managed Database.
ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`
// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
// Whether to require SSL credentials to establish a connection to the Managed Database.
SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database instance.
// The Linode Instance type used by the Managed Database for its nodes.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// Configuration settings for automated patch update maintenance for the Managed Database.
Updates []UpdatesInitParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}
func (*MySQLInitParameters) DeepCopy ¶ added in v0.0.16
func (in *MySQLInitParameters) DeepCopy() *MySQLInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLInitParameters.
func (*MySQLInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *MySQLInitParameters) DeepCopyInto(out *MySQLInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLList ¶
type MySQLList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MySQL `json:"items"`
}
MySQLList contains a list of MySQLs
func (*MySQLList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLList.
func (*MySQLList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQLList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MySQLObservation ¶
type MySQLObservation struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// When this Managed Database was created.
// When this Managed Database was created.
Created *string `json:"created,omitempty" tf:"created,omitempty"`
// Whether the Managed Databases is encrypted. (default false)
// Whether the Managed Databases is encrypted.
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The Managed Database engine. (e.g. mysql)
// The Managed Database engine.
Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// The primary host for the Managed Database.
// The primary host for the Managed Database.
HostPrimary *string `json:"hostPrimary,omitempty" tf:"host_primary,omitempty"`
// The secondary/private network host for the Managed Database.
// The secondary host for the Managed Database.
HostSecondary *string `json:"hostSecondary,omitempty" tf:"host_secondary,omitempty"`
// The ID of the Managed Database.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The region to use for the Managed Database.
// The region to use for the Managed Database.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
// The replication method used for the Managed Database.
ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`
// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
// Whether to require SSL credentials to establish a connection to the Managed Database.
SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`
// The operating status of the Managed Database.
// The operating status of the Managed Database.
Status *string `json:"status,omitempty" tf:"status,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database instance.
// The Linode Instance type used by the Managed Database for its nodes.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// When this Managed Database was last updated.
// When this Managed Database was last updated.
Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`
// Configuration settings for automated patch update maintenance for the Managed Database.
Updates []UpdatesObservation `json:"updates,omitempty" tf:"updates,omitempty"`
// The Managed Database engine version. (e.g. v8.0.26)
// The Managed Database engine version.
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
func (*MySQLObservation) DeepCopy ¶
func (in *MySQLObservation) DeepCopy() *MySQLObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLObservation.
func (*MySQLObservation) DeepCopyInto ¶
func (in *MySQLObservation) DeepCopyInto(out *MySQLObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLParameters ¶
type MySQLParameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +kubebuilder:validation:Optional
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
// +kubebuilder:validation:Optional
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// Whether the Managed Databases is encrypted. (default false)
// Whether the Managed Databases is encrypted.
// +kubebuilder:validation:Optional
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
// +kubebuilder:validation:Optional
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
// +kubebuilder:validation:Optional
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The region to use for the Managed Database.
// The region to use for the Managed Database.
// +kubebuilder:validation:Optional
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
// The replication method used for the Managed Database.
// +kubebuilder:validation:Optional
ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`
// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
// Whether to require SSL credentials to establish a connection to the Managed Database.
// +kubebuilder:validation:Optional
SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database instance.
// The Linode Instance type used by the Managed Database for its nodes.
// +kubebuilder:validation:Optional
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// Configuration settings for automated patch update maintenance for the Managed Database.
// +kubebuilder:validation:Optional
Updates []UpdatesParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}
func (*MySQLParameters) DeepCopy ¶
func (in *MySQLParameters) DeepCopy() *MySQLParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLParameters.
func (*MySQLParameters) DeepCopyInto ¶
func (in *MySQLParameters) DeepCopyInto(out *MySQLParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLSpec ¶
type MySQLSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider MySQLParameters `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 MySQLInitParameters `json:"initProvider,omitempty"`
}
MySQLSpec defines the desired state of MySQL
func (*MySQLSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLSpec.
func (*MySQLSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLStatus ¶
type MySQLStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider MySQLObservation `json:"atProvider,omitempty"`
}
MySQLStatus defines the observed state of MySQL.
func (*MySQLStatus) DeepCopy ¶
func (in *MySQLStatus) DeepCopy() *MySQLStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLStatus.
func (*MySQLStatus) DeepCopyInto ¶
func (in *MySQLStatus) DeepCopyInto(out *MySQLStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLv2 ¶ added in v0.0.27
type MySQLv2 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.engineId) || (has(self.initProvider) && has(self.initProvider.engineId))",message="spec.forProvider.engineId is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.label) || (has(self.initProvider) && has(self.initProvider.label))",message="spec.forProvider.label is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.region) || (has(self.initProvider) && has(self.initProvider.region))",message="spec.forProvider.region is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
Spec MySQLv2Spec `json:"spec"`
Status MySQLv2Status `json:"status,omitempty"`
}
MySQLv2 is the Schema for the MySQLv2s API. Manages a Linode MySQL Database. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,linode}
func (*MySQLv2) DeepCopy ¶ added in v0.0.27
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLv2.
func (*MySQLv2) DeepCopyInto ¶ added in v0.0.27
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQLv2) DeepCopyObject ¶ added in v0.0.27
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MySQLv2) GetCondition ¶ added in v0.0.27
func (mg *MySQLv2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this MySQLv2.
func (*MySQLv2) GetConnectionDetailsMapping ¶ added in v0.0.27
GetConnectionDetailsMapping for this MySQLv2
func (*MySQLv2) GetDeletionPolicy ¶ added in v0.0.27
func (mg *MySQLv2) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this MySQLv2.
func (*MySQLv2) GetID ¶ added in v0.0.27
GetID returns ID of underlying Terraform resource of this MySQLv2
func (*MySQLv2) GetInitParameters ¶ added in v0.0.27
GetInitParameters of this MySQLv2
func (*MySQLv2) GetManagementPolicies ¶ added in v0.0.27
func (mg *MySQLv2) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this MySQLv2.
func (*MySQLv2) GetMergedParameters ¶ added in v0.0.27
GetInitParameters of this MySQLv2
func (*MySQLv2) GetObservation ¶ added in v0.0.27
GetObservation of this MySQLv2
func (*MySQLv2) GetParameters ¶ added in v0.0.27
GetParameters of this MySQLv2
func (*MySQLv2) GetProviderConfigReference ¶ added in v0.0.27
GetProviderConfigReference of this MySQLv2.
func (*MySQLv2) GetPublishConnectionDetailsTo ¶ added in v0.0.27
func (mg *MySQLv2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this MySQLv2.
func (*MySQLv2) GetTerraformResourceType ¶ added in v0.0.27
GetTerraformResourceType returns Terraform resource type for this MySQLv2
func (*MySQLv2) GetTerraformSchemaVersion ¶ added in v0.0.27
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*MySQLv2) GetWriteConnectionSecretToReference ¶ added in v0.0.27
func (mg *MySQLv2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this MySQLv2.
func (*MySQLv2) Hub ¶ added in v0.0.27
func (tr *MySQLv2) Hub()
Hub marks this type as a conversion hub.
func (*MySQLv2) LateInitialize ¶ added in v0.0.27
LateInitialize this MySQLv2 using its observed tfState. returns True if there are any spec changes for the resource.
func (*MySQLv2) SetConditions ¶ added in v0.0.27
SetConditions of this MySQLv2.
func (*MySQLv2) SetDeletionPolicy ¶ added in v0.0.27
func (mg *MySQLv2) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this MySQLv2.
func (*MySQLv2) SetManagementPolicies ¶ added in v0.0.27
func (mg *MySQLv2) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this MySQLv2.
func (*MySQLv2) SetObservation ¶ added in v0.0.27
SetObservation for this MySQLv2
func (*MySQLv2) SetParameters ¶ added in v0.0.27
SetParameters for this MySQLv2
func (*MySQLv2) SetProviderConfigReference ¶ added in v0.0.27
SetProviderConfigReference of this MySQLv2.
func (*MySQLv2) SetPublishConnectionDetailsTo ¶ added in v0.0.27
func (mg *MySQLv2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this MySQLv2.
func (*MySQLv2) SetWriteConnectionSecretToReference ¶ added in v0.0.27
func (mg *MySQLv2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this MySQLv2.
type MySQLv2InitParameters ¶ added in v0.0.27
type MySQLv2InitParameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode instance nodes deployed to the Managed Database.
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
// The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector.
EngineConfigBinlogRetentionPeriod *float64 `json:"engineConfigBinlogRetentionPeriod,omitempty" tf:"engine_config_binlog_retention_period,omitempty"`
// The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
// The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.
EngineConfigMySQLConnectTimeout *float64 `json:"engineConfigMysqlConnectTimeout,omitempty" tf:"engine_config_mysql_connect_timeout,omitempty"`
// Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or SYSTEM to use the MySQL server default.
// Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default.
EngineConfigMySQLDefaultTimeZone *string `json:"engineConfigMysqlDefaultTimeZone,omitempty" tf:"engine_config_mysql_default_time_zone,omitempty"`
// The maximum permitted result length in bytes for the GROUP_CONCAT() function.
// The maximum permitted result length in bytes for the GROUP_CONCAT() function.
EngineConfigMySQLGroupConcatMaxLen *float64 `json:"engineConfigMysqlGroupConcatMaxLen,omitempty" tf:"engine_config_mysql_group_concat_max_len,omitempty"`
// The time, in seconds, before cached statistics expire.
// The time, in seconds, before cached statistics expire.
EngineConfigMySQLInformationSchemaStatsExpiry *float64 `` /* 129-byte string literal not displayed */
// Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
// Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
EngineConfigMySQLInnodbChangeBufferMaxSize *float64 `json:"engineConfigMysqlInnodbChangeBufferMaxSize,omitempty" tf:"engine_config_mysql_innodb_change_buffer_max_size,omitempty"`
// Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
// Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
EngineConfigMySQLInnodbFlushNeighbors *float64 `json:"engineConfigMysqlInnodbFlushNeighbors,omitempty" tf:"engine_config_mysql_innodb_flush_neighbors,omitempty"`
// Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
// Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
EngineConfigMySQLInnodbFtMinTokenSize *float64 `json:"engineConfigMysqlInnodbFtMinTokenSize,omitempty" tf:"engine_config_mysql_innodb_ft_min_token_size,omitempty"`
// This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
// This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
EngineConfigMySQLInnodbFtServerStopwordTable *string `` /* 128-byte string literal not displayed */
// The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
// The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
EngineConfigMySQLInnodbLockWaitTimeout *float64 `json:"engineConfigMysqlInnodbLockWaitTimeout,omitempty" tf:"engine_config_mysql_innodb_lock_wait_timeout,omitempty"`
// The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
// The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
EngineConfigMySQLInnodbLogBufferSize *float64 `json:"engineConfigMysqlInnodbLogBufferSize,omitempty" tf:"engine_config_mysql_innodb_log_buffer_size,omitempty"`
// The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
// The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
EngineConfigMySQLInnodbOnlineAlterLogMaxSize *float64 `` /* 129-byte string literal not displayed */
// The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
// The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
EngineConfigMySQLInnodbReadIoThreads *float64 `json:"engineConfigMysqlInnodbReadIoThreads,omitempty" tf:"engine_config_mysql_innodb_read_io_threads,omitempty"`
// When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
// When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
EngineConfigMySQLInnodbRollbackOnTimeout *bool `json:"engineConfigMysqlInnodbRollbackOnTimeout,omitempty" tf:"engine_config_mysql_innodb_rollback_on_timeout,omitempty"`
// Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
// Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
EngineConfigMySQLInnodbThreadConcurrency *float64 `json:"engineConfigMysqlInnodbThreadConcurrency,omitempty" tf:"engine_config_mysql_innodb_thread_concurrency,omitempty"`
// The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
// The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
EngineConfigMySQLInnodbWriteIoThreads *float64 `json:"engineConfigMysqlInnodbWriteIoThreads,omitempty" tf:"engine_config_mysql_innodb_write_io_threads,omitempty"`
// The number of seconds the server waits for activity on an interactive connection before closing it.
// The number of seconds the server waits for activity on an interactive connection before closing it.
EngineConfigMySQLInteractiveTimeout *float64 `json:"engineConfigMysqlInteractiveTimeout,omitempty" tf:"engine_config_mysql_interactive_timeout,omitempty"`
// The storage engine for in-memory internal temporary tables.
// The storage engine for in-memory internal temporary tables.
EngineConfigMySQLInternalTmpMemStorageEngine *string `` /* 128-byte string literal not displayed */
// Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
// Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
EngineConfigMySQLMaxAllowedPacket *float64 `json:"engineConfigMysqlMaxAllowedPacket,omitempty" tf:"engine_config_mysql_max_allowed_packet,omitempty"`
// Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
// Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
EngineConfigMySQLMaxHeapTableSize *float64 `json:"engineConfigMysqlMaxHeapTableSize,omitempty" tf:"engine_config_mysql_max_heap_table_size,omitempty"`
// Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
// Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
EngineConfigMySQLNetBufferLength *float64 `json:"engineConfigMysqlNetBufferLength,omitempty" tf:"engine_config_mysql_net_buffer_length,omitempty"`
// The number of seconds to wait for more data from a connection before aborting the read.
// The number of seconds to wait for more data from a connection before aborting the read.
EngineConfigMySQLNetReadTimeout *float64 `json:"engineConfigMysqlNetReadTimeout,omitempty" tf:"engine_config_mysql_net_read_timeout,omitempty"`
// The number of seconds to wait for a block to be written to a connection before aborting the write.
// The number of seconds to wait for a block to be written to a connection before aborting the write.
EngineConfigMySQLNetWriteTimeout *float64 `json:"engineConfigMysqlNetWriteTimeout,omitempty" tf:"engine_config_mysql_net_write_timeout,omitempty"`
// Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES)
// Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
EngineConfigMySQLSQLMode *string `json:"engineConfigMysqlSqlMode,omitempty" tf:"engine_config_mysql_sql_mode,omitempty"`
// Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default true)
// Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
EngineConfigMySQLSQLRequirePrimaryKey *bool `json:"engineConfigMysqlSqlRequirePrimaryKey,omitempty" tf:"engine_config_mysql_sql_require_primary_key,omitempty"`
// Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
// Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
EngineConfigMySQLSortBufferSize *float64 `json:"engineConfigMysqlSortBufferSize,omitempty" tf:"engine_config_mysql_sort_buffer_size,omitempty"`
// Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
// Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
EngineConfigMySQLTmpTableSize *float64 `json:"engineConfigMysqlTmpTableSize,omitempty" tf:"engine_config_mysql_tmp_table_size,omitempty"`
// The number of seconds the server waits for activity on a noninteractive connection before closing it.
// The number of seconds the server waits for activity on a noninteractive connection before closing it.
EngineConfigMySQLWaitTimeout *float64 `json:"engineConfigMysqlWaitTimeout,omitempty" tf:"engine_config_mysql_wait_timeout,omitempty"`
// The Managed Database engine in engine/version format. (e.g. mysql)
// The unique ID of the database engine and version to use. (e.g. mysql/8)
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// The database timestamp from which it was restored.
// The database timestamp from which it was restored.
ForkRestoreTime *string `json:"forkRestoreTime,omitempty" tf:"fork_restore_time,omitempty"`
// The ID of the database that was forked from.
// The ID of the database that was forked from.
ForkSource *float64 `json:"forkSource,omitempty" tf:"fork_source,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The region to use for the Managed Database.
// The Region ID for the Managed Database.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// Whether this Managed Database should be suspended.
// Whether this database is suspended.
Suspended *bool `json:"suspended,omitempty" tf:"suspended,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database.
// The Linode Instance type used by the Managed Database for its nodes.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
Updates []MySQLv2UpdatesInitParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}
func (*MySQLv2InitParameters) DeepCopy ¶ added in v0.0.27
func (in *MySQLv2InitParameters) DeepCopy() *MySQLv2InitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLv2InitParameters.
func (*MySQLv2InitParameters) DeepCopyInto ¶ added in v0.0.27
func (in *MySQLv2InitParameters) DeepCopyInto(out *MySQLv2InitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLv2List ¶ added in v0.0.27
type MySQLv2List struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MySQLv2 `json:"items"`
}
MySQLv2List contains a list of MySQLv2s
func (*MySQLv2List) DeepCopy ¶ added in v0.0.27
func (in *MySQLv2List) DeepCopy() *MySQLv2List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLv2List.
func (*MySQLv2List) DeepCopyInto ¶ added in v0.0.27
func (in *MySQLv2List) DeepCopyInto(out *MySQLv2List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQLv2List) DeepCopyObject ¶ added in v0.0.27
func (in *MySQLv2List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MySQLv2List) GetItems ¶ added in v0.0.27
func (l *MySQLv2List) GetItems() []resource.Managed
GetItems of this MySQLv2List.
type MySQLv2Observation ¶ added in v0.0.27
type MySQLv2Observation struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode instance nodes deployed to the Managed Database.
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// When this Managed Database was created.
// When this Managed Database was created.
Created *string `json:"created,omitempty" tf:"created,omitempty"`
// Whether the Managed Databases is encrypted.
// Whether the Managed Databases is encrypted.
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The Managed Database engine. (e.g. mysql)
// The Managed Database engine in engine/version format.
Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`
// The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
// The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector.
EngineConfigBinlogRetentionPeriod *float64 `json:"engineConfigBinlogRetentionPeriod,omitempty" tf:"engine_config_binlog_retention_period,omitempty"`
// The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
// The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.
EngineConfigMySQLConnectTimeout *float64 `json:"engineConfigMysqlConnectTimeout,omitempty" tf:"engine_config_mysql_connect_timeout,omitempty"`
// Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or SYSTEM to use the MySQL server default.
// Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default.
EngineConfigMySQLDefaultTimeZone *string `json:"engineConfigMysqlDefaultTimeZone,omitempty" tf:"engine_config_mysql_default_time_zone,omitempty"`
// The maximum permitted result length in bytes for the GROUP_CONCAT() function.
// The maximum permitted result length in bytes for the GROUP_CONCAT() function.
EngineConfigMySQLGroupConcatMaxLen *float64 `json:"engineConfigMysqlGroupConcatMaxLen,omitempty" tf:"engine_config_mysql_group_concat_max_len,omitempty"`
// The time, in seconds, before cached statistics expire.
// The time, in seconds, before cached statistics expire.
EngineConfigMySQLInformationSchemaStatsExpiry *float64 `` /* 129-byte string literal not displayed */
// Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
// Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
EngineConfigMySQLInnodbChangeBufferMaxSize *float64 `json:"engineConfigMysqlInnodbChangeBufferMaxSize,omitempty" tf:"engine_config_mysql_innodb_change_buffer_max_size,omitempty"`
// Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
// Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
EngineConfigMySQLInnodbFlushNeighbors *float64 `json:"engineConfigMysqlInnodbFlushNeighbors,omitempty" tf:"engine_config_mysql_innodb_flush_neighbors,omitempty"`
// Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
// Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
EngineConfigMySQLInnodbFtMinTokenSize *float64 `json:"engineConfigMysqlInnodbFtMinTokenSize,omitempty" tf:"engine_config_mysql_innodb_ft_min_token_size,omitempty"`
// This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
// This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
EngineConfigMySQLInnodbFtServerStopwordTable *string `` /* 128-byte string literal not displayed */
// The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
// The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
EngineConfigMySQLInnodbLockWaitTimeout *float64 `json:"engineConfigMysqlInnodbLockWaitTimeout,omitempty" tf:"engine_config_mysql_innodb_lock_wait_timeout,omitempty"`
// The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
// The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
EngineConfigMySQLInnodbLogBufferSize *float64 `json:"engineConfigMysqlInnodbLogBufferSize,omitempty" tf:"engine_config_mysql_innodb_log_buffer_size,omitempty"`
// The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
// The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
EngineConfigMySQLInnodbOnlineAlterLogMaxSize *float64 `` /* 129-byte string literal not displayed */
// The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
// The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
EngineConfigMySQLInnodbReadIoThreads *float64 `json:"engineConfigMysqlInnodbReadIoThreads,omitempty" tf:"engine_config_mysql_innodb_read_io_threads,omitempty"`
// When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
// When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
EngineConfigMySQLInnodbRollbackOnTimeout *bool `json:"engineConfigMysqlInnodbRollbackOnTimeout,omitempty" tf:"engine_config_mysql_innodb_rollback_on_timeout,omitempty"`
// Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
// Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
EngineConfigMySQLInnodbThreadConcurrency *float64 `json:"engineConfigMysqlInnodbThreadConcurrency,omitempty" tf:"engine_config_mysql_innodb_thread_concurrency,omitempty"`
// The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
// The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
EngineConfigMySQLInnodbWriteIoThreads *float64 `json:"engineConfigMysqlInnodbWriteIoThreads,omitempty" tf:"engine_config_mysql_innodb_write_io_threads,omitempty"`
// The number of seconds the server waits for activity on an interactive connection before closing it.
// The number of seconds the server waits for activity on an interactive connection before closing it.
EngineConfigMySQLInteractiveTimeout *float64 `json:"engineConfigMysqlInteractiveTimeout,omitempty" tf:"engine_config_mysql_interactive_timeout,omitempty"`
// The storage engine for in-memory internal temporary tables.
// The storage engine for in-memory internal temporary tables.
EngineConfigMySQLInternalTmpMemStorageEngine *string `` /* 128-byte string literal not displayed */
// Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
// Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
EngineConfigMySQLMaxAllowedPacket *float64 `json:"engineConfigMysqlMaxAllowedPacket,omitempty" tf:"engine_config_mysql_max_allowed_packet,omitempty"`
// Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
// Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
EngineConfigMySQLMaxHeapTableSize *float64 `json:"engineConfigMysqlMaxHeapTableSize,omitempty" tf:"engine_config_mysql_max_heap_table_size,omitempty"`
// Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
// Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
EngineConfigMySQLNetBufferLength *float64 `json:"engineConfigMysqlNetBufferLength,omitempty" tf:"engine_config_mysql_net_buffer_length,omitempty"`
// The number of seconds to wait for more data from a connection before aborting the read.
// The number of seconds to wait for more data from a connection before aborting the read.
EngineConfigMySQLNetReadTimeout *float64 `json:"engineConfigMysqlNetReadTimeout,omitempty" tf:"engine_config_mysql_net_read_timeout,omitempty"`
// The number of seconds to wait for a block to be written to a connection before aborting the write.
// The number of seconds to wait for a block to be written to a connection before aborting the write.
EngineConfigMySQLNetWriteTimeout *float64 `json:"engineConfigMysqlNetWriteTimeout,omitempty" tf:"engine_config_mysql_net_write_timeout,omitempty"`
// Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES)
// Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
EngineConfigMySQLSQLMode *string `json:"engineConfigMysqlSqlMode,omitempty" tf:"engine_config_mysql_sql_mode,omitempty"`
// Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default true)
// Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
EngineConfigMySQLSQLRequirePrimaryKey *bool `json:"engineConfigMysqlSqlRequirePrimaryKey,omitempty" tf:"engine_config_mysql_sql_require_primary_key,omitempty"`
// Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
// Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
EngineConfigMySQLSortBufferSize *float64 `json:"engineConfigMysqlSortBufferSize,omitempty" tf:"engine_config_mysql_sort_buffer_size,omitempty"`
// Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
// Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
EngineConfigMySQLTmpTableSize *float64 `json:"engineConfigMysqlTmpTableSize,omitempty" tf:"engine_config_mysql_tmp_table_size,omitempty"`
// The number of seconds the server waits for activity on a noninteractive connection before closing it.
// The number of seconds the server waits for activity on a noninteractive connection before closing it.
EngineConfigMySQLWaitTimeout *float64 `json:"engineConfigMysqlWaitTimeout,omitempty" tf:"engine_config_mysql_wait_timeout,omitempty"`
// The Managed Database engine in engine/version format. (e.g. mysql)
// The unique ID of the database engine and version to use. (e.g. mysql/8)
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// The database timestamp from which it was restored.
// The database timestamp from which it was restored.
ForkRestoreTime *string `json:"forkRestoreTime,omitempty" tf:"fork_restore_time,omitempty"`
// The ID of the database that was forked from.
// The ID of the database that was forked from.
ForkSource *float64 `json:"forkSource,omitempty" tf:"fork_source,omitempty"`
// The primary host for the Managed Database.
// The primary host for the Managed Database.
HostPrimary *string `json:"hostPrimary,omitempty" tf:"host_primary,omitempty"`
// The secondary/private host for the managed database.
// The secondary/private host for the Managed Database.
HostSecondary *string `json:"hostSecondary,omitempty" tf:"host_secondary,omitempty"`
// The ID of the Managed Database.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// A mapping between IP addresses and strings designating them as primary or failover.
// +mapType=granular
Members map[string]*string `json:"members,omitempty" tf:"members,omitempty"`
// The oldest time to which a database can be restored.
OldestRestoreTime *string `json:"oldestRestoreTime,omitempty" tf:"oldest_restore_time,omitempty"`
// A set of pending updates.
// A set of pending updates.
PendingUpdates []PendingUpdatesObservation `json:"pendingUpdates,omitempty" tf:"pending_updates,omitempty"`
// The back-end platform for relational databases used by the service.
// The back-end platform for relational databases used by the service.
Platform *string `json:"platform,omitempty" tf:"platform,omitempty"`
// The access port for this Managed Database.
// The access port for this Managed Database.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// The region to use for the Managed Database.
// The Region ID for the Managed Database.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// Whether to require SSL credentials to establish a connection to the Managed Database.
// Whether to require SSL credentials to establish a connection to the Managed Database.
SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`
// The operating status of the Managed Database.
// The operating status of the Managed Database.
Status *string `json:"status,omitempty" tf:"status,omitempty"`
// Whether this Managed Database should be suspended.
// Whether this database is suspended.
Suspended *bool `json:"suspended,omitempty" tf:"suspended,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database.
// The Linode Instance type used by the Managed Database for its nodes.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// When this Managed Database was last updated.
// When this Managed Database was last updated.
Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`
Updates []MySQLv2UpdatesObservation `json:"updates,omitempty" tf:"updates,omitempty"`
// The Managed Database engine version. (e.g. 13.2)
// The Managed Database engine version.
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
func (*MySQLv2Observation) DeepCopy ¶ added in v0.0.27
func (in *MySQLv2Observation) DeepCopy() *MySQLv2Observation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLv2Observation.
func (*MySQLv2Observation) DeepCopyInto ¶ added in v0.0.27
func (in *MySQLv2Observation) DeepCopyInto(out *MySQLv2Observation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLv2Parameters ¶ added in v0.0.27
type MySQLv2Parameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +kubebuilder:validation:Optional
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode instance nodes deployed to the Managed Database.
// +kubebuilder:validation:Optional
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
// The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector.
// +kubebuilder:validation:Optional
EngineConfigBinlogRetentionPeriod *float64 `json:"engineConfigBinlogRetentionPeriod,omitempty" tf:"engine_config_binlog_retention_period,omitempty"`
// The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
// The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.
// +kubebuilder:validation:Optional
EngineConfigMySQLConnectTimeout *float64 `json:"engineConfigMysqlConnectTimeout,omitempty" tf:"engine_config_mysql_connect_timeout,omitempty"`
// Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or SYSTEM to use the MySQL server default.
// Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default.
// +kubebuilder:validation:Optional
EngineConfigMySQLDefaultTimeZone *string `json:"engineConfigMysqlDefaultTimeZone,omitempty" tf:"engine_config_mysql_default_time_zone,omitempty"`
// The maximum permitted result length in bytes for the GROUP_CONCAT() function.
// The maximum permitted result length in bytes for the GROUP_CONCAT() function.
// +kubebuilder:validation:Optional
EngineConfigMySQLGroupConcatMaxLen *float64 `json:"engineConfigMysqlGroupConcatMaxLen,omitempty" tf:"engine_config_mysql_group_concat_max_len,omitempty"`
// The time, in seconds, before cached statistics expire.
// The time, in seconds, before cached statistics expire.
// +kubebuilder:validation:Optional
EngineConfigMySQLInformationSchemaStatsExpiry *float64 `` /* 129-byte string literal not displayed */
// Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
// Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
// +kubebuilder:validation:Optional
EngineConfigMySQLInnodbChangeBufferMaxSize *float64 `json:"engineConfigMysqlInnodbChangeBufferMaxSize,omitempty" tf:"engine_config_mysql_innodb_change_buffer_max_size,omitempty"`
// Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
// Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
// +kubebuilder:validation:Optional
EngineConfigMySQLInnodbFlushNeighbors *float64 `json:"engineConfigMysqlInnodbFlushNeighbors,omitempty" tf:"engine_config_mysql_innodb_flush_neighbors,omitempty"`
// Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
// Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
// +kubebuilder:validation:Optional
EngineConfigMySQLInnodbFtMinTokenSize *float64 `json:"engineConfigMysqlInnodbFtMinTokenSize,omitempty" tf:"engine_config_mysql_innodb_ft_min_token_size,omitempty"`
// This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
// This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
// +kubebuilder:validation:Optional
EngineConfigMySQLInnodbFtServerStopwordTable *string `` /* 128-byte string literal not displayed */
// The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
// The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
// +kubebuilder:validation:Optional
EngineConfigMySQLInnodbLockWaitTimeout *float64 `json:"engineConfigMysqlInnodbLockWaitTimeout,omitempty" tf:"engine_config_mysql_innodb_lock_wait_timeout,omitempty"`
// The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
// The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
// +kubebuilder:validation:Optional
EngineConfigMySQLInnodbLogBufferSize *float64 `json:"engineConfigMysqlInnodbLogBufferSize,omitempty" tf:"engine_config_mysql_innodb_log_buffer_size,omitempty"`
// The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
// The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
// +kubebuilder:validation:Optional
EngineConfigMySQLInnodbOnlineAlterLogMaxSize *float64 `` /* 129-byte string literal not displayed */
// The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
// The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
// +kubebuilder:validation:Optional
EngineConfigMySQLInnodbReadIoThreads *float64 `json:"engineConfigMysqlInnodbReadIoThreads,omitempty" tf:"engine_config_mysql_innodb_read_io_threads,omitempty"`
// When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
// When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
// +kubebuilder:validation:Optional
EngineConfigMySQLInnodbRollbackOnTimeout *bool `json:"engineConfigMysqlInnodbRollbackOnTimeout,omitempty" tf:"engine_config_mysql_innodb_rollback_on_timeout,omitempty"`
// Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
// Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
// +kubebuilder:validation:Optional
EngineConfigMySQLInnodbThreadConcurrency *float64 `json:"engineConfigMysqlInnodbThreadConcurrency,omitempty" tf:"engine_config_mysql_innodb_thread_concurrency,omitempty"`
// The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
// The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
// +kubebuilder:validation:Optional
EngineConfigMySQLInnodbWriteIoThreads *float64 `json:"engineConfigMysqlInnodbWriteIoThreads,omitempty" tf:"engine_config_mysql_innodb_write_io_threads,omitempty"`
// The number of seconds the server waits for activity on an interactive connection before closing it.
// The number of seconds the server waits for activity on an interactive connection before closing it.
// +kubebuilder:validation:Optional
EngineConfigMySQLInteractiveTimeout *float64 `json:"engineConfigMysqlInteractiveTimeout,omitempty" tf:"engine_config_mysql_interactive_timeout,omitempty"`
// The storage engine for in-memory internal temporary tables.
// The storage engine for in-memory internal temporary tables.
// +kubebuilder:validation:Optional
EngineConfigMySQLInternalTmpMemStorageEngine *string `` /* 128-byte string literal not displayed */
// Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
// Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
// +kubebuilder:validation:Optional
EngineConfigMySQLMaxAllowedPacket *float64 `json:"engineConfigMysqlMaxAllowedPacket,omitempty" tf:"engine_config_mysql_max_allowed_packet,omitempty"`
// Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
// Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
// +kubebuilder:validation:Optional
EngineConfigMySQLMaxHeapTableSize *float64 `json:"engineConfigMysqlMaxHeapTableSize,omitempty" tf:"engine_config_mysql_max_heap_table_size,omitempty"`
// Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
// Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
// +kubebuilder:validation:Optional
EngineConfigMySQLNetBufferLength *float64 `json:"engineConfigMysqlNetBufferLength,omitempty" tf:"engine_config_mysql_net_buffer_length,omitempty"`
// The number of seconds to wait for more data from a connection before aborting the read.
// The number of seconds to wait for more data from a connection before aborting the read.
// +kubebuilder:validation:Optional
EngineConfigMySQLNetReadTimeout *float64 `json:"engineConfigMysqlNetReadTimeout,omitempty" tf:"engine_config_mysql_net_read_timeout,omitempty"`
// The number of seconds to wait for a block to be written to a connection before aborting the write.
// The number of seconds to wait for a block to be written to a connection before aborting the write.
// +kubebuilder:validation:Optional
EngineConfigMySQLNetWriteTimeout *float64 `json:"engineConfigMysqlNetWriteTimeout,omitempty" tf:"engine_config_mysql_net_write_timeout,omitempty"`
// Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES)
// Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
// +kubebuilder:validation:Optional
EngineConfigMySQLSQLMode *string `json:"engineConfigMysqlSqlMode,omitempty" tf:"engine_config_mysql_sql_mode,omitempty"`
// Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default true)
// Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
// +kubebuilder:validation:Optional
EngineConfigMySQLSQLRequirePrimaryKey *bool `json:"engineConfigMysqlSqlRequirePrimaryKey,omitempty" tf:"engine_config_mysql_sql_require_primary_key,omitempty"`
// Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
// Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
// +kubebuilder:validation:Optional
EngineConfigMySQLSortBufferSize *float64 `json:"engineConfigMysqlSortBufferSize,omitempty" tf:"engine_config_mysql_sort_buffer_size,omitempty"`
// Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
// Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
// +kubebuilder:validation:Optional
EngineConfigMySQLTmpTableSize *float64 `json:"engineConfigMysqlTmpTableSize,omitempty" tf:"engine_config_mysql_tmp_table_size,omitempty"`
// The number of seconds the server waits for activity on a noninteractive connection before closing it.
// The number of seconds the server waits for activity on a noninteractive connection before closing it.
// +kubebuilder:validation:Optional
EngineConfigMySQLWaitTimeout *float64 `json:"engineConfigMysqlWaitTimeout,omitempty" tf:"engine_config_mysql_wait_timeout,omitempty"`
// The Managed Database engine in engine/version format. (e.g. mysql)
// The unique ID of the database engine and version to use. (e.g. mysql/8)
// +kubebuilder:validation:Optional
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// The database timestamp from which it was restored.
// The database timestamp from which it was restored.
// +kubebuilder:validation:Optional
ForkRestoreTime *string `json:"forkRestoreTime,omitempty" tf:"fork_restore_time,omitempty"`
// The ID of the database that was forked from.
// The ID of the database that was forked from.
// +kubebuilder:validation:Optional
ForkSource *float64 `json:"forkSource,omitempty" tf:"fork_source,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
// +kubebuilder:validation:Optional
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The region to use for the Managed Database.
// The Region ID for the Managed Database.
// +kubebuilder:validation:Optional
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// Whether this Managed Database should be suspended.
// Whether this database is suspended.
// +kubebuilder:validation:Optional
Suspended *bool `json:"suspended,omitempty" tf:"suspended,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database.
// The Linode Instance type used by the Managed Database for its nodes.
// +kubebuilder:validation:Optional
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// +kubebuilder:validation:Optional
Updates []MySQLv2UpdatesParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}
func (*MySQLv2Parameters) DeepCopy ¶ added in v0.0.27
func (in *MySQLv2Parameters) DeepCopy() *MySQLv2Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLv2Parameters.
func (*MySQLv2Parameters) DeepCopyInto ¶ added in v0.0.27
func (in *MySQLv2Parameters) DeepCopyInto(out *MySQLv2Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLv2Spec ¶ added in v0.0.27
type MySQLv2Spec struct {
v1.ResourceSpec `json:",inline"`
ForProvider MySQLv2Parameters `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 MySQLv2InitParameters `json:"initProvider,omitempty"`
}
MySQLv2Spec defines the desired state of MySQLv2
func (*MySQLv2Spec) DeepCopy ¶ added in v0.0.27
func (in *MySQLv2Spec) DeepCopy() *MySQLv2Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLv2Spec.
func (*MySQLv2Spec) DeepCopyInto ¶ added in v0.0.27
func (in *MySQLv2Spec) DeepCopyInto(out *MySQLv2Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLv2Status ¶ added in v0.0.27
type MySQLv2Status struct {
v1.ResourceStatus `json:",inline"`
AtProvider MySQLv2Observation `json:"atProvider,omitempty"`
}
MySQLv2Status defines the observed state of MySQLv2.
func (*MySQLv2Status) DeepCopy ¶ added in v0.0.27
func (in *MySQLv2Status) DeepCopy() *MySQLv2Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLv2Status.
func (*MySQLv2Status) DeepCopyInto ¶ added in v0.0.27
func (in *MySQLv2Status) DeepCopyInto(out *MySQLv2Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLv2UpdatesInitParameters ¶ added in v0.0.30
type MySQLv2UpdatesInitParameters struct {
// The day to perform maintenance. (monday, tuesday, ...)
DayOfWeek *float64 `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`
// The frequency at which maintenance occurs. (weekly)
Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`
}
func (*MySQLv2UpdatesInitParameters) DeepCopy ¶ added in v0.0.30
func (in *MySQLv2UpdatesInitParameters) DeepCopy() *MySQLv2UpdatesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLv2UpdatesInitParameters.
func (*MySQLv2UpdatesInitParameters) DeepCopyInto ¶ added in v0.0.30
func (in *MySQLv2UpdatesInitParameters) DeepCopyInto(out *MySQLv2UpdatesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLv2UpdatesObservation ¶ added in v0.0.30
type MySQLv2UpdatesObservation struct {
// The day to perform maintenance. (monday, tuesday, ...)
DayOfWeek *float64 `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`
// The frequency at which maintenance occurs. (weekly)
Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`
}
func (*MySQLv2UpdatesObservation) DeepCopy ¶ added in v0.0.30
func (in *MySQLv2UpdatesObservation) DeepCopy() *MySQLv2UpdatesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLv2UpdatesObservation.
func (*MySQLv2UpdatesObservation) DeepCopyInto ¶ added in v0.0.30
func (in *MySQLv2UpdatesObservation) DeepCopyInto(out *MySQLv2UpdatesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLv2UpdatesParameters ¶ added in v0.0.30
type MySQLv2UpdatesParameters struct {
// The day to perform maintenance. (monday, tuesday, ...)
// +kubebuilder:validation:Optional
DayOfWeek *float64 `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
// +kubebuilder:validation:Optional
Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`
// The frequency at which maintenance occurs. (weekly)
// +kubebuilder:validation:Optional
Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
// +kubebuilder:validation:Optional
HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`
}
func (*MySQLv2UpdatesParameters) DeepCopy ¶ added in v0.0.30
func (in *MySQLv2UpdatesParameters) DeepCopy() *MySQLv2UpdatesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLv2UpdatesParameters.
func (*MySQLv2UpdatesParameters) DeepCopyInto ¶ added in v0.0.30
func (in *MySQLv2UpdatesParameters) DeepCopyInto(out *MySQLv2UpdatesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PendingUpdatesInitParameters ¶ added in v0.0.27
type PendingUpdatesInitParameters struct {
}
func (*PendingUpdatesInitParameters) DeepCopy ¶ added in v0.0.27
func (in *PendingUpdatesInitParameters) DeepCopy() *PendingUpdatesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PendingUpdatesInitParameters.
func (*PendingUpdatesInitParameters) DeepCopyInto ¶ added in v0.0.27
func (in *PendingUpdatesInitParameters) DeepCopyInto(out *PendingUpdatesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PendingUpdatesObservation ¶ added in v0.0.27
type PendingUpdatesObservation struct {
// The time when a mandatory update needs to be applied.
Deadline *string `json:"deadline,omitempty" tf:"deadline,omitempty"`
// A description of the update.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// The date and time a maintenance update will be applied.
PlannedFor *string `json:"plannedFor,omitempty" tf:"planned_for,omitempty"`
}
func (*PendingUpdatesObservation) DeepCopy ¶ added in v0.0.27
func (in *PendingUpdatesObservation) DeepCopy() *PendingUpdatesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PendingUpdatesObservation.
func (*PendingUpdatesObservation) DeepCopyInto ¶ added in v0.0.27
func (in *PendingUpdatesObservation) DeepCopyInto(out *PendingUpdatesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PendingUpdatesParameters ¶ added in v0.0.27
type PendingUpdatesParameters struct {
}
func (*PendingUpdatesParameters) DeepCopy ¶ added in v0.0.27
func (in *PendingUpdatesParameters) DeepCopy() *PendingUpdatesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PendingUpdatesParameters.
func (*PendingUpdatesParameters) DeepCopyInto ¶ added in v0.0.27
func (in *PendingUpdatesParameters) DeepCopyInto(out *PendingUpdatesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQL ¶
type PostgreSQL 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.engineId) || (has(self.initProvider) && has(self.initProvider.engineId))",message="spec.forProvider.engineId is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.label) || (has(self.initProvider) && has(self.initProvider.label))",message="spec.forProvider.label is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.region) || (has(self.initProvider) && has(self.initProvider.region))",message="spec.forProvider.region is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
Spec PostgreSQLSpec `json:"spec"`
Status PostgreSQLStatus `json:"status,omitempty"`
}
PostgreSQL is the Schema for the PostgreSQLs API. Manages a Linode PostgreSQL Database. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,linode}
func (*PostgreSQL) DeepCopy ¶
func (in *PostgreSQL) DeepCopy() *PostgreSQL
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQL.
func (*PostgreSQL) DeepCopyInto ¶
func (in *PostgreSQL) DeepCopyInto(out *PostgreSQL)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgreSQL) DeepCopyObject ¶
func (in *PostgreSQL) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgreSQL) GetCondition ¶
func (mg *PostgreSQL) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PostgreSQL.
func (*PostgreSQL) GetConnectionDetailsMapping ¶
func (tr *PostgreSQL) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this PostgreSQL
func (*PostgreSQL) GetDeletionPolicy ¶
func (mg *PostgreSQL) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PostgreSQL.
func (*PostgreSQL) GetID ¶
func (tr *PostgreSQL) GetID() string
GetID returns ID of underlying Terraform resource of this PostgreSQL
func (*PostgreSQL) GetInitParameters ¶ added in v0.0.16
func (tr *PostgreSQL) GetInitParameters() (map[string]any, error)
GetInitParameters of this PostgreSQL
func (*PostgreSQL) GetManagementPolicies ¶ added in v0.0.16
func (mg *PostgreSQL) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this PostgreSQL.
func (*PostgreSQL) GetMergedParameters ¶ added in v0.0.16
func (tr *PostgreSQL) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this PostgreSQL
func (*PostgreSQL) GetObservation ¶
func (tr *PostgreSQL) GetObservation() (map[string]any, error)
GetObservation of this PostgreSQL
func (*PostgreSQL) GetParameters ¶
func (tr *PostgreSQL) GetParameters() (map[string]any, error)
GetParameters of this PostgreSQL
func (*PostgreSQL) GetProviderConfigReference ¶
func (mg *PostgreSQL) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this PostgreSQL.
func (*PostgreSQL) GetPublishConnectionDetailsTo ¶
func (mg *PostgreSQL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PostgreSQL.
func (*PostgreSQL) GetTerraformResourceType ¶
func (mg *PostgreSQL) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this PostgreSQL
func (*PostgreSQL) GetTerraformSchemaVersion ¶
func (tr *PostgreSQL) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*PostgreSQL) GetWriteConnectionSecretToReference ¶
func (mg *PostgreSQL) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PostgreSQL.
func (*PostgreSQL) Hub ¶ added in v0.0.16
func (tr *PostgreSQL) Hub()
Hub marks this type as a conversion hub.
func (*PostgreSQL) LateInitialize ¶
func (tr *PostgreSQL) LateInitialize(attrs []byte) (bool, error)
LateInitialize this PostgreSQL using its observed tfState. returns True if there are any spec changes for the resource.
func (*PostgreSQL) SetConditions ¶
func (mg *PostgreSQL) SetConditions(c ...xpv1.Condition)
SetConditions of this PostgreSQL.
func (*PostgreSQL) SetDeletionPolicy ¶
func (mg *PostgreSQL) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PostgreSQL.
func (*PostgreSQL) SetManagementPolicies ¶ added in v0.0.16
func (mg *PostgreSQL) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this PostgreSQL.
func (*PostgreSQL) SetObservation ¶
func (tr *PostgreSQL) SetObservation(obs map[string]any) error
SetObservation for this PostgreSQL
func (*PostgreSQL) SetParameters ¶
func (tr *PostgreSQL) SetParameters(params map[string]any) error
SetParameters for this PostgreSQL
func (*PostgreSQL) SetProviderConfigReference ¶
func (mg *PostgreSQL) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this PostgreSQL.
func (*PostgreSQL) SetPublishConnectionDetailsTo ¶
func (mg *PostgreSQL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PostgreSQL.
func (*PostgreSQL) SetWriteConnectionSecretToReference ¶
func (mg *PostgreSQL) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PostgreSQL.
type PostgreSQLInitParameters ¶ added in v0.0.16
type PostgreSQLInitParameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// Whether the Managed Databases is encrypted. (default false)
// Whether the Managed Databases is encrypted.
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The Managed Database engine in engine/version format. (e.g. postgresql/13.2)
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The region to use for the Managed Database.
// The region to use for the Managed Database.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// The synchronization level of the replicating server. (on, local, remote_write, remote_apply, off; default off)
// The synchronization level of the replicating server.Must be `local` or `off` for the `asynch` replication type. Must be `on`, `remote_write`, or `remote_apply` for the `semi_synch` replication type.
ReplicationCommitType *string `json:"replicationCommitType,omitempty" tf:"replication_commit_type,omitempty"`
// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
// The replication method used for the Managed Database. Must be `none` for a single node cluster. Must be `asynch` or `semi_synch` for a high availability cluster.
ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`
// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
// Whether to require SSL credentials to establish a connection to the Managed Database.
SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database instance.
// The Linode Instance type used by the Managed Database for its nodes.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// Configuration settings for automated patch update maintenance for the Managed Database.
Updates []PostgreSQLUpdatesInitParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}
func (*PostgreSQLInitParameters) DeepCopy ¶ added in v0.0.16
func (in *PostgreSQLInitParameters) DeepCopy() *PostgreSQLInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLInitParameters.
func (*PostgreSQLInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *PostgreSQLInitParameters) DeepCopyInto(out *PostgreSQLInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLList ¶
type PostgreSQLList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []PostgreSQL `json:"items"`
}
PostgreSQLList contains a list of PostgreSQLs
func (*PostgreSQLList) DeepCopy ¶
func (in *PostgreSQLList) DeepCopy() *PostgreSQLList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLList.
func (*PostgreSQLList) DeepCopyInto ¶
func (in *PostgreSQLList) DeepCopyInto(out *PostgreSQLList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgreSQLList) DeepCopyObject ¶
func (in *PostgreSQLList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgreSQLList) GetItems ¶
func (l *PostgreSQLList) GetItems() []resource.Managed
GetItems of this PostgreSQLList.
type PostgreSQLObservation ¶
type PostgreSQLObservation struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// When this Managed Database was created.
// When this Managed Database was created.
Created *string `json:"created,omitempty" tf:"created,omitempty"`
// Whether the Managed Databases is encrypted. (default false)
// Whether the Managed Databases is encrypted.
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The Managed Database engine. (e.g. postgresql)
// The Managed Database engine.
Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`
// The Managed Database engine in engine/version format. (e.g. postgresql/13.2)
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// The primary host for the Managed Database.
// The primary host for the Managed Database.
HostPrimary *string `json:"hostPrimary,omitempty" tf:"host_primary,omitempty"`
// The secondary/private network host for the Managed Database.
// The secondary host for the Managed Database.
HostSecondary *string `json:"hostSecondary,omitempty" tf:"host_secondary,omitempty"`
// The ID of the Managed Database.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The access port for this Managed Database.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// The region to use for the Managed Database.
// The region to use for the Managed Database.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// The synchronization level of the replicating server. (on, local, remote_write, remote_apply, off; default off)
// The synchronization level of the replicating server.Must be `local` or `off` for the `asynch` replication type. Must be `on`, `remote_write`, or `remote_apply` for the `semi_synch` replication type.
ReplicationCommitType *string `json:"replicationCommitType,omitempty" tf:"replication_commit_type,omitempty"`
// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
// The replication method used for the Managed Database. Must be `none` for a single node cluster. Must be `asynch` or `semi_synch` for a high availability cluster.
ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`
// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
// Whether to require SSL credentials to establish a connection to the Managed Database.
SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`
// The operating status of the Managed Database.
// The operating status of the Managed Database.
Status *string `json:"status,omitempty" tf:"status,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database instance.
// The Linode Instance type used by the Managed Database for its nodes.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// When this Managed Database was last updated.
// When this Managed Database was last updated.
Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`
// Configuration settings for automated patch update maintenance for the Managed Database.
Updates []PostgreSQLUpdatesObservation `json:"updates,omitempty" tf:"updates,omitempty"`
// The Managed Database engine version. (e.g. 13.2)
// The Managed Database engine version.
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
func (*PostgreSQLObservation) DeepCopy ¶
func (in *PostgreSQLObservation) DeepCopy() *PostgreSQLObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLObservation.
func (*PostgreSQLObservation) DeepCopyInto ¶
func (in *PostgreSQLObservation) DeepCopyInto(out *PostgreSQLObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLParameters ¶
type PostgreSQLParameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +kubebuilder:validation:Optional
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
// +kubebuilder:validation:Optional
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// Whether the Managed Databases is encrypted. (default false)
// Whether the Managed Databases is encrypted.
// +kubebuilder:validation:Optional
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The Managed Database engine in engine/version format. (e.g. postgresql/13.2)
// The Managed Database engine in engine/version format. (e.g. mysql/8.0.30)
// +kubebuilder:validation:Optional
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
// +kubebuilder:validation:Optional
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The region to use for the Managed Database.
// The region to use for the Managed Database.
// +kubebuilder:validation:Optional
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// The synchronization level of the replicating server. (on, local, remote_write, remote_apply, off; default off)
// The synchronization level of the replicating server.Must be `local` or `off` for the `asynch` replication type. Must be `on`, `remote_write`, or `remote_apply` for the `semi_synch` replication type.
// +kubebuilder:validation:Optional
ReplicationCommitType *string `json:"replicationCommitType,omitempty" tf:"replication_commit_type,omitempty"`
// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
// The replication method used for the Managed Database. Must be `none` for a single node cluster. Must be `asynch` or `semi_synch` for a high availability cluster.
// +kubebuilder:validation:Optional
ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`
// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
// Whether to require SSL credentials to establish a connection to the Managed Database.
// +kubebuilder:validation:Optional
SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database instance.
// The Linode Instance type used by the Managed Database for its nodes.
// +kubebuilder:validation:Optional
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// Configuration settings for automated patch update maintenance for the Managed Database.
// +kubebuilder:validation:Optional
Updates []PostgreSQLUpdatesParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}
func (*PostgreSQLParameters) DeepCopy ¶
func (in *PostgreSQLParameters) DeepCopy() *PostgreSQLParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLParameters.
func (*PostgreSQLParameters) DeepCopyInto ¶
func (in *PostgreSQLParameters) DeepCopyInto(out *PostgreSQLParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLSpec ¶
type PostgreSQLSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider PostgreSQLParameters `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 PostgreSQLInitParameters `json:"initProvider,omitempty"`
}
PostgreSQLSpec defines the desired state of PostgreSQL
func (*PostgreSQLSpec) DeepCopy ¶
func (in *PostgreSQLSpec) DeepCopy() *PostgreSQLSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLSpec.
func (*PostgreSQLSpec) DeepCopyInto ¶
func (in *PostgreSQLSpec) DeepCopyInto(out *PostgreSQLSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLStatus ¶
type PostgreSQLStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider PostgreSQLObservation `json:"atProvider,omitempty"`
}
PostgreSQLStatus defines the observed state of PostgreSQL.
func (*PostgreSQLStatus) DeepCopy ¶
func (in *PostgreSQLStatus) DeepCopy() *PostgreSQLStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLStatus.
func (*PostgreSQLStatus) DeepCopyInto ¶
func (in *PostgreSQLStatus) DeepCopyInto(out *PostgreSQLStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLUpdatesInitParameters ¶ added in v0.0.16
type PostgreSQLUpdatesInitParameters struct {
// The day to perform maintenance. (monday, tuesday, ...)
// The day to perform maintenance.
DayOfWeek *string `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
// The maximum maintenance window time in hours.
Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`
// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
// Whether maintenance occurs on a weekly or monthly basis.
Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
// The hour to begin maintenance based in UTC time.
HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}
func (*PostgreSQLUpdatesInitParameters) DeepCopy ¶ added in v0.0.16
func (in *PostgreSQLUpdatesInitParameters) DeepCopy() *PostgreSQLUpdatesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLUpdatesInitParameters.
func (*PostgreSQLUpdatesInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *PostgreSQLUpdatesInitParameters) DeepCopyInto(out *PostgreSQLUpdatesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLUpdatesObservation ¶
type PostgreSQLUpdatesObservation struct {
// The day to perform maintenance. (monday, tuesday, ...)
// The day to perform maintenance.
DayOfWeek *string `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
// The maximum maintenance window time in hours.
Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`
// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
// Whether maintenance occurs on a weekly or monthly basis.
Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
// The hour to begin maintenance based in UTC time.
HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}
func (*PostgreSQLUpdatesObservation) DeepCopy ¶
func (in *PostgreSQLUpdatesObservation) DeepCopy() *PostgreSQLUpdatesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLUpdatesObservation.
func (*PostgreSQLUpdatesObservation) DeepCopyInto ¶
func (in *PostgreSQLUpdatesObservation) DeepCopyInto(out *PostgreSQLUpdatesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLUpdatesParameters ¶
type PostgreSQLUpdatesParameters struct {
// The day to perform maintenance. (monday, tuesday, ...)
// The day to perform maintenance.
// +kubebuilder:validation:Optional
DayOfWeek *string `json:"dayOfWeek" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
// The maximum maintenance window time in hours.
// +kubebuilder:validation:Optional
Duration *float64 `json:"duration" tf:"duration,omitempty"`
// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
// Whether maintenance occurs on a weekly or monthly basis.
// +kubebuilder:validation:Optional
Frequency *string `json:"frequency" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
// The hour to begin maintenance based in UTC time.
// +kubebuilder:validation:Optional
HourOfDay *float64 `json:"hourOfDay" tf:"hour_of_day,omitempty"`
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
// +kubebuilder:validation:Optional
WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}
func (*PostgreSQLUpdatesParameters) DeepCopy ¶
func (in *PostgreSQLUpdatesParameters) DeepCopy() *PostgreSQLUpdatesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLUpdatesParameters.
func (*PostgreSQLUpdatesParameters) DeepCopyInto ¶
func (in *PostgreSQLUpdatesParameters) DeepCopyInto(out *PostgreSQLUpdatesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLv2 ¶ added in v0.0.27
type PostgreSQLv2 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.engineId) || (has(self.initProvider) && has(self.initProvider.engineId))",message="spec.forProvider.engineId is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.label) || (has(self.initProvider) && has(self.initProvider.label))",message="spec.forProvider.label is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.region) || (has(self.initProvider) && has(self.initProvider.region))",message="spec.forProvider.region is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
Spec PostgreSQLv2Spec `json:"spec"`
Status PostgreSQLv2Status `json:"status,omitempty"`
}
PostgreSQLv2 is the Schema for the PostgreSQLv2s API. Manages a Linode PostgreSQL Database. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,linode}
func (*PostgreSQLv2) DeepCopy ¶ added in v0.0.27
func (in *PostgreSQLv2) DeepCopy() *PostgreSQLv2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLv2.
func (*PostgreSQLv2) DeepCopyInto ¶ added in v0.0.27
func (in *PostgreSQLv2) DeepCopyInto(out *PostgreSQLv2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgreSQLv2) DeepCopyObject ¶ added in v0.0.27
func (in *PostgreSQLv2) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgreSQLv2) GetCondition ¶ added in v0.0.27
func (mg *PostgreSQLv2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PostgreSQLv2.
func (*PostgreSQLv2) GetConnectionDetailsMapping ¶ added in v0.0.27
func (tr *PostgreSQLv2) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this PostgreSQLv2
func (*PostgreSQLv2) GetDeletionPolicy ¶ added in v0.0.27
func (mg *PostgreSQLv2) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PostgreSQLv2.
func (*PostgreSQLv2) GetID ¶ added in v0.0.27
func (tr *PostgreSQLv2) GetID() string
GetID returns ID of underlying Terraform resource of this PostgreSQLv2
func (*PostgreSQLv2) GetInitParameters ¶ added in v0.0.27
func (tr *PostgreSQLv2) GetInitParameters() (map[string]any, error)
GetInitParameters of this PostgreSQLv2
func (*PostgreSQLv2) GetManagementPolicies ¶ added in v0.0.27
func (mg *PostgreSQLv2) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this PostgreSQLv2.
func (*PostgreSQLv2) GetMergedParameters ¶ added in v0.0.27
func (tr *PostgreSQLv2) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this PostgreSQLv2
func (*PostgreSQLv2) GetObservation ¶ added in v0.0.27
func (tr *PostgreSQLv2) GetObservation() (map[string]any, error)
GetObservation of this PostgreSQLv2
func (*PostgreSQLv2) GetParameters ¶ added in v0.0.27
func (tr *PostgreSQLv2) GetParameters() (map[string]any, error)
GetParameters of this PostgreSQLv2
func (*PostgreSQLv2) GetProviderConfigReference ¶ added in v0.0.27
func (mg *PostgreSQLv2) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this PostgreSQLv2.
func (*PostgreSQLv2) GetPublishConnectionDetailsTo ¶ added in v0.0.27
func (mg *PostgreSQLv2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PostgreSQLv2.
func (*PostgreSQLv2) GetTerraformResourceType ¶ added in v0.0.27
func (mg *PostgreSQLv2) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this PostgreSQLv2
func (*PostgreSQLv2) GetTerraformSchemaVersion ¶ added in v0.0.27
func (tr *PostgreSQLv2) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*PostgreSQLv2) GetWriteConnectionSecretToReference ¶ added in v0.0.27
func (mg *PostgreSQLv2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PostgreSQLv2.
func (*PostgreSQLv2) Hub ¶ added in v0.0.27
func (tr *PostgreSQLv2) Hub()
Hub marks this type as a conversion hub.
func (*PostgreSQLv2) LateInitialize ¶ added in v0.0.27
func (tr *PostgreSQLv2) LateInitialize(attrs []byte) (bool, error)
LateInitialize this PostgreSQLv2 using its observed tfState. returns True if there are any spec changes for the resource.
func (*PostgreSQLv2) SetConditions ¶ added in v0.0.27
func (mg *PostgreSQLv2) SetConditions(c ...xpv1.Condition)
SetConditions of this PostgreSQLv2.
func (*PostgreSQLv2) SetDeletionPolicy ¶ added in v0.0.27
func (mg *PostgreSQLv2) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PostgreSQLv2.
func (*PostgreSQLv2) SetManagementPolicies ¶ added in v0.0.27
func (mg *PostgreSQLv2) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this PostgreSQLv2.
func (*PostgreSQLv2) SetObservation ¶ added in v0.0.27
func (tr *PostgreSQLv2) SetObservation(obs map[string]any) error
SetObservation for this PostgreSQLv2
func (*PostgreSQLv2) SetParameters ¶ added in v0.0.27
func (tr *PostgreSQLv2) SetParameters(params map[string]any) error
SetParameters for this PostgreSQLv2
func (*PostgreSQLv2) SetProviderConfigReference ¶ added in v0.0.27
func (mg *PostgreSQLv2) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this PostgreSQLv2.
func (*PostgreSQLv2) SetPublishConnectionDetailsTo ¶ added in v0.0.27
func (mg *PostgreSQLv2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PostgreSQLv2.
func (*PostgreSQLv2) SetWriteConnectionSecretToReference ¶ added in v0.0.27
func (mg *PostgreSQLv2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PostgreSQLv2.
type PostgreSQLv2InitParameters ¶ added in v0.0.27
type PostgreSQLv2InitParameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode instance nodes deployed to the Managed Database.
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size)
// Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size)
EngineConfigPgAutovacuumAnalyzeScaleFactor *float64 `json:"engineConfigPgAutovacuumAnalyzeScaleFactor,omitempty" tf:"engine_config_pg_autovacuum_analyze_scale_factor,omitempty"`
// Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
// Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
EngineConfigPgAutovacuumAnalyzeThreshold *float64 `json:"engineConfigPgAutovacuumAnalyzeThreshold,omitempty" tf:"engine_config_pg_autovacuum_analyze_threshold,omitempty"`
// Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
// Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
EngineConfigPgAutovacuumMaxWorkers *float64 `json:"engineConfigPgAutovacuumMaxWorkers,omitempty" tf:"engine_config_pg_autovacuum_max_workers,omitempty"`
// Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute
// Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute
EngineConfigPgAutovacuumNaptime *float64 `json:"engineConfigPgAutovacuumNaptime,omitempty" tf:"engine_config_pg_autovacuum_naptime,omitempty"`
// Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds
// Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds
EngineConfigPgAutovacuumVacuumCostDelay *float64 `json:"engineConfigPgAutovacuumVacuumCostDelay,omitempty" tf:"engine_config_pg_autovacuum_vacuum_cost_delay,omitempty"`
// Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
// Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
EngineConfigPgAutovacuumVacuumCostLimit *float64 `json:"engineConfigPgAutovacuumVacuumCostLimit,omitempty" tf:"engine_config_pg_autovacuum_vacuum_cost_limit,omitempty"`
// Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size)
// Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size)
EngineConfigPgAutovacuumVacuumScaleFactor *float64 `json:"engineConfigPgAutovacuumVacuumScaleFactor,omitempty" tf:"engine_config_pg_autovacuum_vacuum_scale_factor,omitempty"`
// Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
// Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples
EngineConfigPgAutovacuumVacuumThreshold *float64 `json:"engineConfigPgAutovacuumVacuumThreshold,omitempty" tf:"engine_config_pg_autovacuum_vacuum_threshold,omitempty"`
// Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
// Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
EngineConfigPgBgwriterDelay *float64 `json:"engineConfigPgBgwriterDelay,omitempty" tf:"engine_config_pg_bgwriter_delay,omitempty"`
// Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
// Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
EngineConfigPgBgwriterFlushAfter *float64 `json:"engineConfigPgBgwriterFlushAfter,omitempty" tf:"engine_config_pg_bgwriter_flush_after,omitempty"`
// In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100.
// In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100.
EngineConfigPgBgwriterLruMaxpages *float64 `json:"engineConfigPgBgwriterLruMaxpages,omitempty" tf:"engine_config_pg_bgwriter_lru_maxpages,omitempty"`
// The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0.
// The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0.
EngineConfigPgBgwriterLruMultiplier *float64 `json:"engineConfigPgBgwriterLruMultiplier,omitempty" tf:"engine_config_pg_bgwriter_lru_multiplier,omitempty"`
// This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
// This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
EngineConfigPgDeadlockTimeout *float64 `json:"engineConfigPgDeadlockTimeout,omitempty" tf:"engine_config_pg_deadlock_timeout,omitempty"`
// Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
// Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
EngineConfigPgDefaultToastCompression *string `json:"engineConfigPgDefaultToastCompression,omitempty" tf:"engine_config_pg_default_toast_compression,omitempty"`
// Time out sessions with open transactions after this number of milliseconds.
// Time out sessions with open transactions after this number of milliseconds
EngineConfigPgIdleInTransactionSessionTimeout *float64 `` /* 130-byte string literal not displayed */
// Controls system-wide use of Just-in-Time Compilation (JIT).
// Controls system-wide use of Just-in-Time Compilation (JIT).
EngineConfigPgJit *bool `json:"engineConfigPgJit,omitempty" tf:"engine_config_pg_jit,omitempty"`
// PostgreSQL maximum number of files that can be open per process.
// PostgreSQL maximum number of files that can be open per process
EngineConfigPgMaxFilesPerProcess *float64 `json:"engineConfigPgMaxFilesPerProcess,omitempty" tf:"engine_config_pg_max_files_per_process,omitempty"`
// PostgreSQL maximum locks per transaction.
// PostgreSQL maximum locks per transaction
EngineConfigPgMaxLocksPerTransaction *float64 `json:"engineConfigPgMaxLocksPerTransaction,omitempty" tf:"engine_config_pg_max_locks_per_transaction,omitempty"`
// PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
// PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers)
EngineConfigPgMaxLogicalReplicationWorkers *float64 `json:"engineConfigPgMaxLogicalReplicationWorkers,omitempty" tf:"engine_config_pg_max_logical_replication_workers,omitempty"`
// Sets the maximum number of workers that the system can support for parallel queries.
// Sets the maximum number of workers that the system can support for parallel queries
EngineConfigPgMaxParallelWorkers *float64 `json:"engineConfigPgMaxParallelWorkers,omitempty" tf:"engine_config_pg_max_parallel_workers,omitempty"`
// Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
// Sets the maximum number of workers that can be started by a single Gather or Gather Merge node
EngineConfigPgMaxParallelWorkersPerGather *float64 `json:"engineConfigPgMaxParallelWorkersPerGather,omitempty" tf:"engine_config_pg_max_parallel_workers_per_gather,omitempty"`
// PostgreSQL maximum predicate locks per transaction.
// PostgreSQL maximum predicate locks per transaction
EngineConfigPgMaxPredLocksPerTransaction *float64 `json:"engineConfigPgMaxPredLocksPerTransaction,omitempty" tf:"engine_config_pg_max_pred_locks_per_transaction,omitempty"`
// PostgreSQL maximum replication slots.
// PostgreSQL maximum replication slots
EngineConfigPgMaxReplicationSlots *float64 `json:"engineConfigPgMaxReplicationSlots,omitempty" tf:"engine_config_pg_max_replication_slots,omitempty"`
// PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
// PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
EngineConfigPgMaxSlotWalKeepSize *float64 `json:"engineConfigPgMaxSlotWalKeepSize,omitempty" tf:"engine_config_pg_max_slot_wal_keep_size,omitempty"`
// Maximum depth of the stack in bytes.
// Maximum depth of the stack in bytes
EngineConfigPgMaxStackDepth *float64 `json:"engineConfigPgMaxStackDepth,omitempty" tf:"engine_config_pg_max_stack_depth,omitempty"`
// Max standby archive delay in milliseconds.
// Max standby archive delay in milliseconds
EngineConfigPgMaxStandbyArchiveDelay *float64 `json:"engineConfigPgMaxStandbyArchiveDelay,omitempty" tf:"engine_config_pg_max_standby_archive_delay,omitempty"`
// Max standby streaming delay in milliseconds.
// Max standby streaming delay in milliseconds
EngineConfigPgMaxStandbyStreamingDelay *float64 `json:"engineConfigPgMaxStandbyStreamingDelay,omitempty" tf:"engine_config_pg_max_standby_streaming_delay,omitempty"`
// PostgreSQL maximum WAL senders.
// PostgreSQL maximum WAL senders
EngineConfigPgMaxWalSenders *float64 `json:"engineConfigPgMaxWalSenders,omitempty" tf:"engine_config_pg_max_wal_senders,omitempty"`
// Sets the maximum number of background processes that the system can support.
// Sets the maximum number of background processes that the system can support
EngineConfigPgMaxWorkerProcesses *float64 `json:"engineConfigPgMaxWorkerProcesses,omitempty" tf:"engine_config_pg_max_worker_processes,omitempty"`
// Chooses the algorithm for encrypting passwords. (default md5)
// Chooses the algorithm for encrypting passwords.
EngineConfigPgPasswordEncryption *string `json:"engineConfigPgPasswordEncryption,omitempty" tf:"engine_config_pg_password_encryption,omitempty"`
// Sets the time interval to run pg_partman's scheduled tasks.
// Sets the time interval to run pg_partman's scheduled tasks
EngineConfigPgPgPartmanBgwInterval *float64 `json:"engineConfigPgPgPartmanBgwInterval,omitempty" tf:"engine_config_pg_pg_partman_bgw_interval,omitempty"`
// Controls which role to use for pg_partman's scheduled background tasks.
// Controls which role to use for pg_partman's scheduled background tasks.
EngineConfigPgPgPartmanBgwRole *string `json:"engineConfigPgPgPartmanBgwRole,omitempty" tf:"engine_config_pg_pg_partman_bgw_role,omitempty"`
// Enables or disables query plan monitoring.
// Enables or disables query plan monitoring
EngineConfigPgPgStatMonitorPgsmEnableQueryPlan *bool `` /* 134-byte string literal not displayed */
// Sets the maximum number of buckets.
// Sets the maximum number of buckets
EngineConfigPgPgStatMonitorPgsmMaxBuckets *float64 `json:"engineConfigPgPgStatMonitorPgsmMaxBuckets,omitempty" tf:"engine_config_pg_pg_stat_monitor_pgsm_max_buckets,omitempty"`
// Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.
// Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.
EngineConfigPgPgStatStatementsTrack *string `json:"engineConfigPgPgStatStatementsTrack,omitempty" tf:"engine_config_pg_pg_stat_statements_track,omitempty"`
// Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted. When this extension is enabled, pg_stat_statements results for utility commands are unreliable. (default false)
// Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
EngineConfigPgStatMonitorEnable *bool `json:"engineConfigPgStatMonitorEnable,omitempty" tf:"engine_config_pg_stat_monitor_enable,omitempty"`
// PostgreSQL temporary file limit in KiB, -1 for unlimited.
// PostgreSQL temporary file limit in KiB, -1 for unlimited
EngineConfigPgTempFileLimit *float64 `json:"engineConfigPgTempFileLimit,omitempty" tf:"engine_config_pg_temp_file_limit,omitempty"`
// PostgreSQL service timezone.
// PostgreSQL service timezone
EngineConfigPgTimezone *string `json:"engineConfigPgTimezone,omitempty" tf:"engine_config_pg_timezone,omitempty"`
// Specifies the number of bytes reserved to track the currently executing command for each active session.
// Specifies the number of bytes reserved to track the currently executing command for each active session.
EngineConfigPgTrackActivityQuerySize *float64 `json:"engineConfigPgTrackActivityQuerySize,omitempty" tf:"engine_config_pg_track_activity_query_size,omitempty"`
// Record commit time of transactions.
// Record commit time of transactions.
EngineConfigPgTrackCommitTimestamp *string `json:"engineConfigPgTrackCommitTimestamp,omitempty" tf:"engine_config_pg_track_commit_timestamp,omitempty"`
// Enables tracking of function call counts and time used.
// Enables tracking of function call counts and time used.
EngineConfigPgTrackFunctions *string `json:"engineConfigPgTrackFunctions,omitempty" tf:"engine_config_pg_track_functions,omitempty"`
// Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms.
// Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms.
EngineConfigPgTrackIoTiming *string `json:"engineConfigPgTrackIoTiming,omitempty" tf:"engine_config_pg_track_io_timing,omitempty"`
// Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
// Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
EngineConfigPgWalSenderTimeout *float64 `json:"engineConfigPgWalSenderTimeout,omitempty" tf:"engine_config_pg_wal_sender_timeout,omitempty"`
// WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance.
// WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance.
EngineConfigPgWalWriterDelay *float64 `json:"engineConfigPgWalWriterDelay,omitempty" tf:"engine_config_pg_wal_writer_delay,omitempty"`
// Number of seconds of master unavailability before triggering database failover to standby. (default 60)
// Number of seconds of master unavailability before triggering database failover to standby.
EngineConfigPglookoutMaxFailoverReplicationTimeLag *float64 `` /* 140-byte string literal not displayed */
// Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value.
EngineConfigSharedBuffersPercentage *float64 `json:"engineConfigSharedBuffersPercentage,omitempty" tf:"engine_config_shared_buffers_percentage,omitempty"`
// Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB).
// Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB).
EngineConfigWorkMem *float64 `json:"engineConfigWorkMem,omitempty" tf:"engine_config_work_mem,omitempty"`
// The Managed Database engine in engine/version format. (e.g. postgresql/16)
// The unique ID of the database engine and version to use. (e.g. postgresql/16)
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// The database timestamp from which it was restored.
// The database timestamp from which it was restored.
ForkRestoreTime *string `json:"forkRestoreTime,omitempty" tf:"fork_restore_time,omitempty"`
// The ID of the database that was forked from.
// The ID of the database that was forked from.
ForkSource *float64 `json:"forkSource,omitempty" tf:"fork_source,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The region to use for the Managed Database.
// The Region ID for the Managed Database.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// Whether this Managed Database should be suspended.
// Whether this database is suspended.
Suspended *bool `json:"suspended,omitempty" tf:"suspended,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database.
// The Linode Instance type used by the Managed Database for its nodes.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
Updates []PostgreSQLv2UpdatesInitParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}
func (*PostgreSQLv2InitParameters) DeepCopy ¶ added in v0.0.27
func (in *PostgreSQLv2InitParameters) DeepCopy() *PostgreSQLv2InitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLv2InitParameters.
func (*PostgreSQLv2InitParameters) DeepCopyInto ¶ added in v0.0.27
func (in *PostgreSQLv2InitParameters) DeepCopyInto(out *PostgreSQLv2InitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLv2List ¶ added in v0.0.27
type PostgreSQLv2List struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []PostgreSQLv2 `json:"items"`
}
PostgreSQLv2List contains a list of PostgreSQLv2s
func (*PostgreSQLv2List) DeepCopy ¶ added in v0.0.27
func (in *PostgreSQLv2List) DeepCopy() *PostgreSQLv2List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLv2List.
func (*PostgreSQLv2List) DeepCopyInto ¶ added in v0.0.27
func (in *PostgreSQLv2List) DeepCopyInto(out *PostgreSQLv2List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgreSQLv2List) DeepCopyObject ¶ added in v0.0.27
func (in *PostgreSQLv2List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgreSQLv2List) GetItems ¶ added in v0.0.27
func (l *PostgreSQLv2List) GetItems() []resource.Managed
GetItems of this PostgreSQLv2List.
type PostgreSQLv2Observation ¶ added in v0.0.27
type PostgreSQLv2Observation struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode instance nodes deployed to the Managed Database.
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// When this Managed Database was created.
// When this Managed Database was created.
Created *string `json:"created,omitempty" tf:"created,omitempty"`
// Whether the Managed Databases is encrypted.
// Whether the Managed Databases is encrypted.
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The Managed Database engine. (e.g. postgresql)
// The Managed Database engine in engine/version format.
Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`
// Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size)
// Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size)
EngineConfigPgAutovacuumAnalyzeScaleFactor *float64 `json:"engineConfigPgAutovacuumAnalyzeScaleFactor,omitempty" tf:"engine_config_pg_autovacuum_analyze_scale_factor,omitempty"`
// Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
// Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
EngineConfigPgAutovacuumAnalyzeThreshold *float64 `json:"engineConfigPgAutovacuumAnalyzeThreshold,omitempty" tf:"engine_config_pg_autovacuum_analyze_threshold,omitempty"`
// Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
// Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
EngineConfigPgAutovacuumMaxWorkers *float64 `json:"engineConfigPgAutovacuumMaxWorkers,omitempty" tf:"engine_config_pg_autovacuum_max_workers,omitempty"`
// Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute
// Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute
EngineConfigPgAutovacuumNaptime *float64 `json:"engineConfigPgAutovacuumNaptime,omitempty" tf:"engine_config_pg_autovacuum_naptime,omitempty"`
// Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds
// Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds
EngineConfigPgAutovacuumVacuumCostDelay *float64 `json:"engineConfigPgAutovacuumVacuumCostDelay,omitempty" tf:"engine_config_pg_autovacuum_vacuum_cost_delay,omitempty"`
// Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
// Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
EngineConfigPgAutovacuumVacuumCostLimit *float64 `json:"engineConfigPgAutovacuumVacuumCostLimit,omitempty" tf:"engine_config_pg_autovacuum_vacuum_cost_limit,omitempty"`
// Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size)
// Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size)
EngineConfigPgAutovacuumVacuumScaleFactor *float64 `json:"engineConfigPgAutovacuumVacuumScaleFactor,omitempty" tf:"engine_config_pg_autovacuum_vacuum_scale_factor,omitempty"`
// Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
// Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples
EngineConfigPgAutovacuumVacuumThreshold *float64 `json:"engineConfigPgAutovacuumVacuumThreshold,omitempty" tf:"engine_config_pg_autovacuum_vacuum_threshold,omitempty"`
// Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
// Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
EngineConfigPgBgwriterDelay *float64 `json:"engineConfigPgBgwriterDelay,omitempty" tf:"engine_config_pg_bgwriter_delay,omitempty"`
// Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
// Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
EngineConfigPgBgwriterFlushAfter *float64 `json:"engineConfigPgBgwriterFlushAfter,omitempty" tf:"engine_config_pg_bgwriter_flush_after,omitempty"`
// In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100.
// In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100.
EngineConfigPgBgwriterLruMaxpages *float64 `json:"engineConfigPgBgwriterLruMaxpages,omitempty" tf:"engine_config_pg_bgwriter_lru_maxpages,omitempty"`
// The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0.
// The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0.
EngineConfigPgBgwriterLruMultiplier *float64 `json:"engineConfigPgBgwriterLruMultiplier,omitempty" tf:"engine_config_pg_bgwriter_lru_multiplier,omitempty"`
// This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
// This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
EngineConfigPgDeadlockTimeout *float64 `json:"engineConfigPgDeadlockTimeout,omitempty" tf:"engine_config_pg_deadlock_timeout,omitempty"`
// Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
// Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
EngineConfigPgDefaultToastCompression *string `json:"engineConfigPgDefaultToastCompression,omitempty" tf:"engine_config_pg_default_toast_compression,omitempty"`
// Time out sessions with open transactions after this number of milliseconds.
// Time out sessions with open transactions after this number of milliseconds
EngineConfigPgIdleInTransactionSessionTimeout *float64 `` /* 130-byte string literal not displayed */
// Controls system-wide use of Just-in-Time Compilation (JIT).
// Controls system-wide use of Just-in-Time Compilation (JIT).
EngineConfigPgJit *bool `json:"engineConfigPgJit,omitempty" tf:"engine_config_pg_jit,omitempty"`
// PostgreSQL maximum number of files that can be open per process.
// PostgreSQL maximum number of files that can be open per process
EngineConfigPgMaxFilesPerProcess *float64 `json:"engineConfigPgMaxFilesPerProcess,omitempty" tf:"engine_config_pg_max_files_per_process,omitempty"`
// PostgreSQL maximum locks per transaction.
// PostgreSQL maximum locks per transaction
EngineConfigPgMaxLocksPerTransaction *float64 `json:"engineConfigPgMaxLocksPerTransaction,omitempty" tf:"engine_config_pg_max_locks_per_transaction,omitempty"`
// PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
// PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers)
EngineConfigPgMaxLogicalReplicationWorkers *float64 `json:"engineConfigPgMaxLogicalReplicationWorkers,omitempty" tf:"engine_config_pg_max_logical_replication_workers,omitempty"`
// Sets the maximum number of workers that the system can support for parallel queries.
// Sets the maximum number of workers that the system can support for parallel queries
EngineConfigPgMaxParallelWorkers *float64 `json:"engineConfigPgMaxParallelWorkers,omitempty" tf:"engine_config_pg_max_parallel_workers,omitempty"`
// Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
// Sets the maximum number of workers that can be started by a single Gather or Gather Merge node
EngineConfigPgMaxParallelWorkersPerGather *float64 `json:"engineConfigPgMaxParallelWorkersPerGather,omitempty" tf:"engine_config_pg_max_parallel_workers_per_gather,omitempty"`
// PostgreSQL maximum predicate locks per transaction.
// PostgreSQL maximum predicate locks per transaction
EngineConfigPgMaxPredLocksPerTransaction *float64 `json:"engineConfigPgMaxPredLocksPerTransaction,omitempty" tf:"engine_config_pg_max_pred_locks_per_transaction,omitempty"`
// PostgreSQL maximum replication slots.
// PostgreSQL maximum replication slots
EngineConfigPgMaxReplicationSlots *float64 `json:"engineConfigPgMaxReplicationSlots,omitempty" tf:"engine_config_pg_max_replication_slots,omitempty"`
// PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
// PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
EngineConfigPgMaxSlotWalKeepSize *float64 `json:"engineConfigPgMaxSlotWalKeepSize,omitempty" tf:"engine_config_pg_max_slot_wal_keep_size,omitempty"`
// Maximum depth of the stack in bytes.
// Maximum depth of the stack in bytes
EngineConfigPgMaxStackDepth *float64 `json:"engineConfigPgMaxStackDepth,omitempty" tf:"engine_config_pg_max_stack_depth,omitempty"`
// Max standby archive delay in milliseconds.
// Max standby archive delay in milliseconds
EngineConfigPgMaxStandbyArchiveDelay *float64 `json:"engineConfigPgMaxStandbyArchiveDelay,omitempty" tf:"engine_config_pg_max_standby_archive_delay,omitempty"`
// Max standby streaming delay in milliseconds.
// Max standby streaming delay in milliseconds
EngineConfigPgMaxStandbyStreamingDelay *float64 `json:"engineConfigPgMaxStandbyStreamingDelay,omitempty" tf:"engine_config_pg_max_standby_streaming_delay,omitempty"`
// PostgreSQL maximum WAL senders.
// PostgreSQL maximum WAL senders
EngineConfigPgMaxWalSenders *float64 `json:"engineConfigPgMaxWalSenders,omitempty" tf:"engine_config_pg_max_wal_senders,omitempty"`
// Sets the maximum number of background processes that the system can support.
// Sets the maximum number of background processes that the system can support
EngineConfigPgMaxWorkerProcesses *float64 `json:"engineConfigPgMaxWorkerProcesses,omitempty" tf:"engine_config_pg_max_worker_processes,omitempty"`
// Chooses the algorithm for encrypting passwords. (default md5)
// Chooses the algorithm for encrypting passwords.
EngineConfigPgPasswordEncryption *string `json:"engineConfigPgPasswordEncryption,omitempty" tf:"engine_config_pg_password_encryption,omitempty"`
// Sets the time interval to run pg_partman's scheduled tasks.
// Sets the time interval to run pg_partman's scheduled tasks
EngineConfigPgPgPartmanBgwInterval *float64 `json:"engineConfigPgPgPartmanBgwInterval,omitempty" tf:"engine_config_pg_pg_partman_bgw_interval,omitempty"`
// Controls which role to use for pg_partman's scheduled background tasks.
// Controls which role to use for pg_partman's scheduled background tasks.
EngineConfigPgPgPartmanBgwRole *string `json:"engineConfigPgPgPartmanBgwRole,omitempty" tf:"engine_config_pg_pg_partman_bgw_role,omitempty"`
// Enables or disables query plan monitoring.
// Enables or disables query plan monitoring
EngineConfigPgPgStatMonitorPgsmEnableQueryPlan *bool `` /* 134-byte string literal not displayed */
// Sets the maximum number of buckets.
// Sets the maximum number of buckets
EngineConfigPgPgStatMonitorPgsmMaxBuckets *float64 `json:"engineConfigPgPgStatMonitorPgsmMaxBuckets,omitempty" tf:"engine_config_pg_pg_stat_monitor_pgsm_max_buckets,omitempty"`
// Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.
// Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.
EngineConfigPgPgStatStatementsTrack *string `json:"engineConfigPgPgStatStatementsTrack,omitempty" tf:"engine_config_pg_pg_stat_statements_track,omitempty"`
// Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted. When this extension is enabled, pg_stat_statements results for utility commands are unreliable. (default false)
// Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
EngineConfigPgStatMonitorEnable *bool `json:"engineConfigPgStatMonitorEnable,omitempty" tf:"engine_config_pg_stat_monitor_enable,omitempty"`
// PostgreSQL temporary file limit in KiB, -1 for unlimited.
// PostgreSQL temporary file limit in KiB, -1 for unlimited
EngineConfigPgTempFileLimit *float64 `json:"engineConfigPgTempFileLimit,omitempty" tf:"engine_config_pg_temp_file_limit,omitempty"`
// PostgreSQL service timezone.
// PostgreSQL service timezone
EngineConfigPgTimezone *string `json:"engineConfigPgTimezone,omitempty" tf:"engine_config_pg_timezone,omitempty"`
// Specifies the number of bytes reserved to track the currently executing command for each active session.
// Specifies the number of bytes reserved to track the currently executing command for each active session.
EngineConfigPgTrackActivityQuerySize *float64 `json:"engineConfigPgTrackActivityQuerySize,omitempty" tf:"engine_config_pg_track_activity_query_size,omitempty"`
// Record commit time of transactions.
// Record commit time of transactions.
EngineConfigPgTrackCommitTimestamp *string `json:"engineConfigPgTrackCommitTimestamp,omitempty" tf:"engine_config_pg_track_commit_timestamp,omitempty"`
// Enables tracking of function call counts and time used.
// Enables tracking of function call counts and time used.
EngineConfigPgTrackFunctions *string `json:"engineConfigPgTrackFunctions,omitempty" tf:"engine_config_pg_track_functions,omitempty"`
// Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms.
// Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms.
EngineConfigPgTrackIoTiming *string `json:"engineConfigPgTrackIoTiming,omitempty" tf:"engine_config_pg_track_io_timing,omitempty"`
// Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
// Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
EngineConfigPgWalSenderTimeout *float64 `json:"engineConfigPgWalSenderTimeout,omitempty" tf:"engine_config_pg_wal_sender_timeout,omitempty"`
// WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance.
// WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance.
EngineConfigPgWalWriterDelay *float64 `json:"engineConfigPgWalWriterDelay,omitempty" tf:"engine_config_pg_wal_writer_delay,omitempty"`
// Number of seconds of master unavailability before triggering database failover to standby. (default 60)
// Number of seconds of master unavailability before triggering database failover to standby.
EngineConfigPglookoutMaxFailoverReplicationTimeLag *float64 `` /* 140-byte string literal not displayed */
// Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value.
EngineConfigSharedBuffersPercentage *float64 `json:"engineConfigSharedBuffersPercentage,omitempty" tf:"engine_config_shared_buffers_percentage,omitempty"`
// Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB).
// Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB).
EngineConfigWorkMem *float64 `json:"engineConfigWorkMem,omitempty" tf:"engine_config_work_mem,omitempty"`
// The Managed Database engine in engine/version format. (e.g. postgresql/16)
// The unique ID of the database engine and version to use. (e.g. postgresql/16)
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// The database timestamp from which it was restored.
// The database timestamp from which it was restored.
ForkRestoreTime *string `json:"forkRestoreTime,omitempty" tf:"fork_restore_time,omitempty"`
// The ID of the database that was forked from.
// The ID of the database that was forked from.
ForkSource *float64 `json:"forkSource,omitempty" tf:"fork_source,omitempty"`
// The primary host for the Managed Database.
// The primary host for the Managed Database.
HostPrimary *string `json:"hostPrimary,omitempty" tf:"host_primary,omitempty"`
// The secondary/private host for the managed database.
// The secondary/private host for the Managed Database.
HostSecondary *string `json:"hostSecondary,omitempty" tf:"host_secondary,omitempty"`
// The ID of the Managed Database.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// A mapping between IP addresses and strings designating them as primary or failover.
// +mapType=granular
Members map[string]*string `json:"members,omitempty" tf:"members,omitempty"`
// The oldest time to which a database can be restored.
OldestRestoreTime *string `json:"oldestRestoreTime,omitempty" tf:"oldest_restore_time,omitempty"`
// A set of pending updates.
// A set of pending updates.
PendingUpdates []PostgreSQLv2PendingUpdatesObservation `json:"pendingUpdates,omitempty" tf:"pending_updates,omitempty"`
// The back-end platform for relational databases used by the service.
// The back-end platform for relational databases used by the service.
Platform *string `json:"platform,omitempty" tf:"platform,omitempty"`
// The access port for this Managed Database.
// The access port for this Managed Database.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// The region to use for the Managed Database.
// The Region ID for the Managed Database.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// Whether to require SSL credentials to establish a connection to the Managed Database.
// Whether to require SSL credentials to establish a connection to the Managed Database.
SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`
// The operating status of the Managed Database.
// The operating status of the Managed Database.
Status *string `json:"status,omitempty" tf:"status,omitempty"`
// Whether this Managed Database should be suspended.
// Whether this database is suspended.
Suspended *bool `json:"suspended,omitempty" tf:"suspended,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database.
// The Linode Instance type used by the Managed Database for its nodes.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// When this Managed Database was last updated.
// When this Managed Database was last updated.
Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`
Updates []PostgreSQLv2UpdatesObservation `json:"updates,omitempty" tf:"updates,omitempty"`
// The Managed Database engine version. (e.g. 13.2)
// The Managed Database engine version.
Version *string `json:"version,omitempty" tf:"version,omitempty"`
}
func (*PostgreSQLv2Observation) DeepCopy ¶ added in v0.0.27
func (in *PostgreSQLv2Observation) DeepCopy() *PostgreSQLv2Observation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLv2Observation.
func (*PostgreSQLv2Observation) DeepCopyInto ¶ added in v0.0.27
func (in *PostgreSQLv2Observation) DeepCopyInto(out *PostgreSQLv2Observation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLv2Parameters ¶ added in v0.0.27
type PostgreSQLv2Parameters struct {
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
// +kubebuilder:validation:Optional
// +listType=set
AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`
// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
// The number of Linode instance nodes deployed to the Managed Database.
// +kubebuilder:validation:Optional
ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`
// Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size)
// Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size)
// +kubebuilder:validation:Optional
EngineConfigPgAutovacuumAnalyzeScaleFactor *float64 `json:"engineConfigPgAutovacuumAnalyzeScaleFactor,omitempty" tf:"engine_config_pg_autovacuum_analyze_scale_factor,omitempty"`
// Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
// Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
// +kubebuilder:validation:Optional
EngineConfigPgAutovacuumAnalyzeThreshold *float64 `json:"engineConfigPgAutovacuumAnalyzeThreshold,omitempty" tf:"engine_config_pg_autovacuum_analyze_threshold,omitempty"`
// Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
// Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
// +kubebuilder:validation:Optional
EngineConfigPgAutovacuumMaxWorkers *float64 `json:"engineConfigPgAutovacuumMaxWorkers,omitempty" tf:"engine_config_pg_autovacuum_max_workers,omitempty"`
// Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute
// Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute
// +kubebuilder:validation:Optional
EngineConfigPgAutovacuumNaptime *float64 `json:"engineConfigPgAutovacuumNaptime,omitempty" tf:"engine_config_pg_autovacuum_naptime,omitempty"`
// Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds
// Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds
// +kubebuilder:validation:Optional
EngineConfigPgAutovacuumVacuumCostDelay *float64 `json:"engineConfigPgAutovacuumVacuumCostDelay,omitempty" tf:"engine_config_pg_autovacuum_vacuum_cost_delay,omitempty"`
// Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
// Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
// +kubebuilder:validation:Optional
EngineConfigPgAutovacuumVacuumCostLimit *float64 `json:"engineConfigPgAutovacuumVacuumCostLimit,omitempty" tf:"engine_config_pg_autovacuum_vacuum_cost_limit,omitempty"`
// Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size)
// Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size)
// +kubebuilder:validation:Optional
EngineConfigPgAutovacuumVacuumScaleFactor *float64 `json:"engineConfigPgAutovacuumVacuumScaleFactor,omitempty" tf:"engine_config_pg_autovacuum_vacuum_scale_factor,omitempty"`
// Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
// Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples
// +kubebuilder:validation:Optional
EngineConfigPgAutovacuumVacuumThreshold *float64 `json:"engineConfigPgAutovacuumVacuumThreshold,omitempty" tf:"engine_config_pg_autovacuum_vacuum_threshold,omitempty"`
// Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
// Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
// +kubebuilder:validation:Optional
EngineConfigPgBgwriterDelay *float64 `json:"engineConfigPgBgwriterDelay,omitempty" tf:"engine_config_pg_bgwriter_delay,omitempty"`
// Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
// Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
// +kubebuilder:validation:Optional
EngineConfigPgBgwriterFlushAfter *float64 `json:"engineConfigPgBgwriterFlushAfter,omitempty" tf:"engine_config_pg_bgwriter_flush_after,omitempty"`
// In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100.
// In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100.
// +kubebuilder:validation:Optional
EngineConfigPgBgwriterLruMaxpages *float64 `json:"engineConfigPgBgwriterLruMaxpages,omitempty" tf:"engine_config_pg_bgwriter_lru_maxpages,omitempty"`
// The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0.
// The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0.
// +kubebuilder:validation:Optional
EngineConfigPgBgwriterLruMultiplier *float64 `json:"engineConfigPgBgwriterLruMultiplier,omitempty" tf:"engine_config_pg_bgwriter_lru_multiplier,omitempty"`
// This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
// This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
// +kubebuilder:validation:Optional
EngineConfigPgDeadlockTimeout *float64 `json:"engineConfigPgDeadlockTimeout,omitempty" tf:"engine_config_pg_deadlock_timeout,omitempty"`
// Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
// Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
// +kubebuilder:validation:Optional
EngineConfigPgDefaultToastCompression *string `json:"engineConfigPgDefaultToastCompression,omitempty" tf:"engine_config_pg_default_toast_compression,omitempty"`
// Time out sessions with open transactions after this number of milliseconds.
// Time out sessions with open transactions after this number of milliseconds
// +kubebuilder:validation:Optional
EngineConfigPgIdleInTransactionSessionTimeout *float64 `` /* 130-byte string literal not displayed */
// Controls system-wide use of Just-in-Time Compilation (JIT).
// Controls system-wide use of Just-in-Time Compilation (JIT).
// +kubebuilder:validation:Optional
EngineConfigPgJit *bool `json:"engineConfigPgJit,omitempty" tf:"engine_config_pg_jit,omitempty"`
// PostgreSQL maximum number of files that can be open per process.
// PostgreSQL maximum number of files that can be open per process
// +kubebuilder:validation:Optional
EngineConfigPgMaxFilesPerProcess *float64 `json:"engineConfigPgMaxFilesPerProcess,omitempty" tf:"engine_config_pg_max_files_per_process,omitempty"`
// PostgreSQL maximum locks per transaction.
// PostgreSQL maximum locks per transaction
// +kubebuilder:validation:Optional
EngineConfigPgMaxLocksPerTransaction *float64 `json:"engineConfigPgMaxLocksPerTransaction,omitempty" tf:"engine_config_pg_max_locks_per_transaction,omitempty"`
// PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
// PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers)
// +kubebuilder:validation:Optional
EngineConfigPgMaxLogicalReplicationWorkers *float64 `json:"engineConfigPgMaxLogicalReplicationWorkers,omitempty" tf:"engine_config_pg_max_logical_replication_workers,omitempty"`
// Sets the maximum number of workers that the system can support for parallel queries.
// Sets the maximum number of workers that the system can support for parallel queries
// +kubebuilder:validation:Optional
EngineConfigPgMaxParallelWorkers *float64 `json:"engineConfigPgMaxParallelWorkers,omitempty" tf:"engine_config_pg_max_parallel_workers,omitempty"`
// Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
// Sets the maximum number of workers that can be started by a single Gather or Gather Merge node
// +kubebuilder:validation:Optional
EngineConfigPgMaxParallelWorkersPerGather *float64 `json:"engineConfigPgMaxParallelWorkersPerGather,omitempty" tf:"engine_config_pg_max_parallel_workers_per_gather,omitempty"`
// PostgreSQL maximum predicate locks per transaction.
// PostgreSQL maximum predicate locks per transaction
// +kubebuilder:validation:Optional
EngineConfigPgMaxPredLocksPerTransaction *float64 `json:"engineConfigPgMaxPredLocksPerTransaction,omitempty" tf:"engine_config_pg_max_pred_locks_per_transaction,omitempty"`
// PostgreSQL maximum replication slots.
// PostgreSQL maximum replication slots
// +kubebuilder:validation:Optional
EngineConfigPgMaxReplicationSlots *float64 `json:"engineConfigPgMaxReplicationSlots,omitempty" tf:"engine_config_pg_max_replication_slots,omitempty"`
// PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
// PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
// +kubebuilder:validation:Optional
EngineConfigPgMaxSlotWalKeepSize *float64 `json:"engineConfigPgMaxSlotWalKeepSize,omitempty" tf:"engine_config_pg_max_slot_wal_keep_size,omitempty"`
// Maximum depth of the stack in bytes.
// Maximum depth of the stack in bytes
// +kubebuilder:validation:Optional
EngineConfigPgMaxStackDepth *float64 `json:"engineConfigPgMaxStackDepth,omitempty" tf:"engine_config_pg_max_stack_depth,omitempty"`
// Max standby archive delay in milliseconds.
// Max standby archive delay in milliseconds
// +kubebuilder:validation:Optional
EngineConfigPgMaxStandbyArchiveDelay *float64 `json:"engineConfigPgMaxStandbyArchiveDelay,omitempty" tf:"engine_config_pg_max_standby_archive_delay,omitempty"`
// Max standby streaming delay in milliseconds.
// Max standby streaming delay in milliseconds
// +kubebuilder:validation:Optional
EngineConfigPgMaxStandbyStreamingDelay *float64 `json:"engineConfigPgMaxStandbyStreamingDelay,omitempty" tf:"engine_config_pg_max_standby_streaming_delay,omitempty"`
// PostgreSQL maximum WAL senders.
// PostgreSQL maximum WAL senders
// +kubebuilder:validation:Optional
EngineConfigPgMaxWalSenders *float64 `json:"engineConfigPgMaxWalSenders,omitempty" tf:"engine_config_pg_max_wal_senders,omitempty"`
// Sets the maximum number of background processes that the system can support.
// Sets the maximum number of background processes that the system can support
// +kubebuilder:validation:Optional
EngineConfigPgMaxWorkerProcesses *float64 `json:"engineConfigPgMaxWorkerProcesses,omitempty" tf:"engine_config_pg_max_worker_processes,omitempty"`
// Chooses the algorithm for encrypting passwords. (default md5)
// Chooses the algorithm for encrypting passwords.
// +kubebuilder:validation:Optional
EngineConfigPgPasswordEncryption *string `json:"engineConfigPgPasswordEncryption,omitempty" tf:"engine_config_pg_password_encryption,omitempty"`
// Sets the time interval to run pg_partman's scheduled tasks.
// Sets the time interval to run pg_partman's scheduled tasks
// +kubebuilder:validation:Optional
EngineConfigPgPgPartmanBgwInterval *float64 `json:"engineConfigPgPgPartmanBgwInterval,omitempty" tf:"engine_config_pg_pg_partman_bgw_interval,omitempty"`
// Controls which role to use for pg_partman's scheduled background tasks.
// Controls which role to use for pg_partman's scheduled background tasks.
// +kubebuilder:validation:Optional
EngineConfigPgPgPartmanBgwRole *string `json:"engineConfigPgPgPartmanBgwRole,omitempty" tf:"engine_config_pg_pg_partman_bgw_role,omitempty"`
// Enables or disables query plan monitoring.
// Enables or disables query plan monitoring
// +kubebuilder:validation:Optional
EngineConfigPgPgStatMonitorPgsmEnableQueryPlan *bool `` /* 134-byte string literal not displayed */
// Sets the maximum number of buckets.
// Sets the maximum number of buckets
// +kubebuilder:validation:Optional
EngineConfigPgPgStatMonitorPgsmMaxBuckets *float64 `json:"engineConfigPgPgStatMonitorPgsmMaxBuckets,omitempty" tf:"engine_config_pg_pg_stat_monitor_pgsm_max_buckets,omitempty"`
// Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.
// Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.
// +kubebuilder:validation:Optional
EngineConfigPgPgStatStatementsTrack *string `json:"engineConfigPgPgStatStatementsTrack,omitempty" tf:"engine_config_pg_pg_stat_statements_track,omitempty"`
// Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted. When this extension is enabled, pg_stat_statements results for utility commands are unreliable. (default false)
// Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
// +kubebuilder:validation:Optional
EngineConfigPgStatMonitorEnable *bool `json:"engineConfigPgStatMonitorEnable,omitempty" tf:"engine_config_pg_stat_monitor_enable,omitempty"`
// PostgreSQL temporary file limit in KiB, -1 for unlimited.
// PostgreSQL temporary file limit in KiB, -1 for unlimited
// +kubebuilder:validation:Optional
EngineConfigPgTempFileLimit *float64 `json:"engineConfigPgTempFileLimit,omitempty" tf:"engine_config_pg_temp_file_limit,omitempty"`
// PostgreSQL service timezone.
// PostgreSQL service timezone
// +kubebuilder:validation:Optional
EngineConfigPgTimezone *string `json:"engineConfigPgTimezone,omitempty" tf:"engine_config_pg_timezone,omitempty"`
// Specifies the number of bytes reserved to track the currently executing command for each active session.
// Specifies the number of bytes reserved to track the currently executing command for each active session.
// +kubebuilder:validation:Optional
EngineConfigPgTrackActivityQuerySize *float64 `json:"engineConfigPgTrackActivityQuerySize,omitempty" tf:"engine_config_pg_track_activity_query_size,omitempty"`
// Record commit time of transactions.
// Record commit time of transactions.
// +kubebuilder:validation:Optional
EngineConfigPgTrackCommitTimestamp *string `json:"engineConfigPgTrackCommitTimestamp,omitempty" tf:"engine_config_pg_track_commit_timestamp,omitempty"`
// Enables tracking of function call counts and time used.
// Enables tracking of function call counts and time used.
// +kubebuilder:validation:Optional
EngineConfigPgTrackFunctions *string `json:"engineConfigPgTrackFunctions,omitempty" tf:"engine_config_pg_track_functions,omitempty"`
// Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms.
// Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms.
// +kubebuilder:validation:Optional
EngineConfigPgTrackIoTiming *string `json:"engineConfigPgTrackIoTiming,omitempty" tf:"engine_config_pg_track_io_timing,omitempty"`
// Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
// Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
// +kubebuilder:validation:Optional
EngineConfigPgWalSenderTimeout *float64 `json:"engineConfigPgWalSenderTimeout,omitempty" tf:"engine_config_pg_wal_sender_timeout,omitempty"`
// WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance.
// WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance.
// +kubebuilder:validation:Optional
EngineConfigPgWalWriterDelay *float64 `json:"engineConfigPgWalWriterDelay,omitempty" tf:"engine_config_pg_wal_writer_delay,omitempty"`
// Number of seconds of master unavailability before triggering database failover to standby. (default 60)
// Number of seconds of master unavailability before triggering database failover to standby.
// +kubebuilder:validation:Optional
EngineConfigPglookoutMaxFailoverReplicationTimeLag *float64 `` /* 140-byte string literal not displayed */
// Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value.
// +kubebuilder:validation:Optional
EngineConfigSharedBuffersPercentage *float64 `json:"engineConfigSharedBuffersPercentage,omitempty" tf:"engine_config_shared_buffers_percentage,omitempty"`
// Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB).
// Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB).
// +kubebuilder:validation:Optional
EngineConfigWorkMem *float64 `json:"engineConfigWorkMem,omitempty" tf:"engine_config_work_mem,omitempty"`
// The Managed Database engine in engine/version format. (e.g. postgresql/16)
// The unique ID of the database engine and version to use. (e.g. postgresql/16)
// +kubebuilder:validation:Optional
EngineID *string `json:"engineId,omitempty" tf:"engine_id,omitempty"`
// The database timestamp from which it was restored.
// The database timestamp from which it was restored.
// +kubebuilder:validation:Optional
ForkRestoreTime *string `json:"forkRestoreTime,omitempty" tf:"fork_restore_time,omitempty"`
// The ID of the database that was forked from.
// The ID of the database that was forked from.
// +kubebuilder:validation:Optional
ForkSource *float64 `json:"forkSource,omitempty" tf:"fork_source,omitempty"`
// A unique, user-defined string referring to the Managed Database.
// A unique, user-defined string referring to the Managed Database.
// +kubebuilder:validation:Optional
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The region to use for the Managed Database.
// The Region ID for the Managed Database.
// +kubebuilder:validation:Optional
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// Whether this Managed Database should be suspended.
// Whether this database is suspended.
// +kubebuilder:validation:Optional
Suspended *bool `json:"suspended,omitempty" tf:"suspended,omitempty"`
// The Linode Instance type used for the nodes of the Managed Database.
// The Linode Instance type used by the Managed Database for its nodes.
// +kubebuilder:validation:Optional
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// +kubebuilder:validation:Optional
Updates []PostgreSQLv2UpdatesParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}
func (*PostgreSQLv2Parameters) DeepCopy ¶ added in v0.0.27
func (in *PostgreSQLv2Parameters) DeepCopy() *PostgreSQLv2Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLv2Parameters.
func (*PostgreSQLv2Parameters) DeepCopyInto ¶ added in v0.0.27
func (in *PostgreSQLv2Parameters) DeepCopyInto(out *PostgreSQLv2Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLv2PendingUpdatesInitParameters ¶ added in v0.0.27
type PostgreSQLv2PendingUpdatesInitParameters struct {
}
func (*PostgreSQLv2PendingUpdatesInitParameters) DeepCopy ¶ added in v0.0.27
func (in *PostgreSQLv2PendingUpdatesInitParameters) DeepCopy() *PostgreSQLv2PendingUpdatesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLv2PendingUpdatesInitParameters.
func (*PostgreSQLv2PendingUpdatesInitParameters) DeepCopyInto ¶ added in v0.0.27
func (in *PostgreSQLv2PendingUpdatesInitParameters) DeepCopyInto(out *PostgreSQLv2PendingUpdatesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLv2PendingUpdatesObservation ¶ added in v0.0.27
type PostgreSQLv2PendingUpdatesObservation struct {
// The time when a mandatory update needs to be applied.
Deadline *string `json:"deadline,omitempty" tf:"deadline,omitempty"`
// A description of the update.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// The date and time a maintenance update will be applied.
PlannedFor *string `json:"plannedFor,omitempty" tf:"planned_for,omitempty"`
}
func (*PostgreSQLv2PendingUpdatesObservation) DeepCopy ¶ added in v0.0.27
func (in *PostgreSQLv2PendingUpdatesObservation) DeepCopy() *PostgreSQLv2PendingUpdatesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLv2PendingUpdatesObservation.
func (*PostgreSQLv2PendingUpdatesObservation) DeepCopyInto ¶ added in v0.0.27
func (in *PostgreSQLv2PendingUpdatesObservation) DeepCopyInto(out *PostgreSQLv2PendingUpdatesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLv2PendingUpdatesParameters ¶ added in v0.0.27
type PostgreSQLv2PendingUpdatesParameters struct {
}
func (*PostgreSQLv2PendingUpdatesParameters) DeepCopy ¶ added in v0.0.27
func (in *PostgreSQLv2PendingUpdatesParameters) DeepCopy() *PostgreSQLv2PendingUpdatesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLv2PendingUpdatesParameters.
func (*PostgreSQLv2PendingUpdatesParameters) DeepCopyInto ¶ added in v0.0.27
func (in *PostgreSQLv2PendingUpdatesParameters) DeepCopyInto(out *PostgreSQLv2PendingUpdatesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLv2Spec ¶ added in v0.0.27
type PostgreSQLv2Spec struct {
v1.ResourceSpec `json:",inline"`
ForProvider PostgreSQLv2Parameters `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 PostgreSQLv2InitParameters `json:"initProvider,omitempty"`
}
PostgreSQLv2Spec defines the desired state of PostgreSQLv2
func (*PostgreSQLv2Spec) DeepCopy ¶ added in v0.0.27
func (in *PostgreSQLv2Spec) DeepCopy() *PostgreSQLv2Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLv2Spec.
func (*PostgreSQLv2Spec) DeepCopyInto ¶ added in v0.0.27
func (in *PostgreSQLv2Spec) DeepCopyInto(out *PostgreSQLv2Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLv2Status ¶ added in v0.0.27
type PostgreSQLv2Status struct {
v1.ResourceStatus `json:",inline"`
AtProvider PostgreSQLv2Observation `json:"atProvider,omitempty"`
}
PostgreSQLv2Status defines the observed state of PostgreSQLv2.
func (*PostgreSQLv2Status) DeepCopy ¶ added in v0.0.27
func (in *PostgreSQLv2Status) DeepCopy() *PostgreSQLv2Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLv2Status.
func (*PostgreSQLv2Status) DeepCopyInto ¶ added in v0.0.27
func (in *PostgreSQLv2Status) DeepCopyInto(out *PostgreSQLv2Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLv2UpdatesInitParameters ¶ added in v0.0.30
type PostgreSQLv2UpdatesInitParameters struct {
// The day to perform maintenance. (monday, tuesday, ...)
DayOfWeek *float64 `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`
// The frequency at which maintenance occurs. (weekly)
Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`
}
func (*PostgreSQLv2UpdatesInitParameters) DeepCopy ¶ added in v0.0.30
func (in *PostgreSQLv2UpdatesInitParameters) DeepCopy() *PostgreSQLv2UpdatesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLv2UpdatesInitParameters.
func (*PostgreSQLv2UpdatesInitParameters) DeepCopyInto ¶ added in v0.0.30
func (in *PostgreSQLv2UpdatesInitParameters) DeepCopyInto(out *PostgreSQLv2UpdatesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLv2UpdatesObservation ¶ added in v0.0.30
type PostgreSQLv2UpdatesObservation struct {
// The day to perform maintenance. (monday, tuesday, ...)
DayOfWeek *float64 `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`
// The frequency at which maintenance occurs. (weekly)
Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`
}
func (*PostgreSQLv2UpdatesObservation) DeepCopy ¶ added in v0.0.30
func (in *PostgreSQLv2UpdatesObservation) DeepCopy() *PostgreSQLv2UpdatesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLv2UpdatesObservation.
func (*PostgreSQLv2UpdatesObservation) DeepCopyInto ¶ added in v0.0.30
func (in *PostgreSQLv2UpdatesObservation) DeepCopyInto(out *PostgreSQLv2UpdatesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLv2UpdatesParameters ¶ added in v0.0.30
type PostgreSQLv2UpdatesParameters struct {
// The day to perform maintenance. (monday, tuesday, ...)
// +kubebuilder:validation:Optional
DayOfWeek *float64 `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
// +kubebuilder:validation:Optional
Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`
// The frequency at which maintenance occurs. (weekly)
// +kubebuilder:validation:Optional
Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
// +kubebuilder:validation:Optional
HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`
}
func (*PostgreSQLv2UpdatesParameters) DeepCopy ¶ added in v0.0.30
func (in *PostgreSQLv2UpdatesParameters) DeepCopy() *PostgreSQLv2UpdatesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLv2UpdatesParameters.
func (*PostgreSQLv2UpdatesParameters) DeepCopyInto ¶ added in v0.0.30
func (in *PostgreSQLv2UpdatesParameters) DeepCopyInto(out *PostgreSQLv2UpdatesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpdatesInitParameters ¶ added in v0.0.16
type UpdatesInitParameters struct {
// The day to perform maintenance. (monday, tuesday, ...)
// The day to perform maintenance.
DayOfWeek *string `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
// The maximum maintenance window time in hours.
Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`
// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
// Whether maintenance occurs on a weekly or monthly basis.
Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
// The hour to begin maintenance based in UTC time.
HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}
func (*UpdatesInitParameters) DeepCopy ¶ added in v0.0.16
func (in *UpdatesInitParameters) DeepCopy() *UpdatesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdatesInitParameters.
func (*UpdatesInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *UpdatesInitParameters) DeepCopyInto(out *UpdatesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpdatesObservation ¶
type UpdatesObservation struct {
// The day to perform maintenance. (monday, tuesday, ...)
// The day to perform maintenance.
DayOfWeek *string `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
// The maximum maintenance window time in hours.
Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"`
// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
// Whether maintenance occurs on a weekly or monthly basis.
Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
// The hour to begin maintenance based in UTC time.
HourOfDay *float64 `json:"hourOfDay,omitempty" tf:"hour_of_day,omitempty"`
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}
func (*UpdatesObservation) DeepCopy ¶
func (in *UpdatesObservation) DeepCopy() *UpdatesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdatesObservation.
func (*UpdatesObservation) DeepCopyInto ¶
func (in *UpdatesObservation) DeepCopyInto(out *UpdatesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpdatesParameters ¶
type UpdatesParameters struct {
// The day to perform maintenance. (monday, tuesday, ...)
// The day to perform maintenance.
// +kubebuilder:validation:Optional
DayOfWeek *string `json:"dayOfWeek" tf:"day_of_week,omitempty"`
// The maximum maintenance window time in hours. (1..3)
// The maximum maintenance window time in hours.
// +kubebuilder:validation:Optional
Duration *float64 `json:"duration" tf:"duration,omitempty"`
// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
// Whether maintenance occurs on a weekly or monthly basis.
// +kubebuilder:validation:Optional
Frequency *string `json:"frequency" tf:"frequency,omitempty"`
// The hour to begin maintenance based in UTC time. (0..23)
// The hour to begin maintenance based in UTC time.
// +kubebuilder:validation:Optional
HourOfDay *float64 `json:"hourOfDay" tf:"hour_of_day,omitempty"`
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
// +kubebuilder:validation:Optional
WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}
func (*UpdatesParameters) DeepCopy ¶
func (in *UpdatesParameters) DeepCopy() *UpdatesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdatesParameters.
func (*UpdatesParameters) DeepCopyInto ¶
func (in *UpdatesParameters) DeepCopyInto(out *UpdatesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- zz_accesscontrols_terraformed.go
- zz_accesscontrols_types.go
- zz_generated.conversion_hubs.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_groupversion_info.go
- zz_mysql_terraformed.go
- zz_mysql_types.go
- zz_mysqlv2_terraformed.go
- zz_mysqlv2_types.go
- zz_postgresql_terraformed.go
- zz_postgresql_types.go
- zz_postgresqlv2_terraformed.go
- zz_postgresqlv2_types.go