Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=redis.tencentcloud.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type BackupConfig
- func (in *BackupConfig) DeepCopy() *BackupConfig
- func (in *BackupConfig) DeepCopyInto(out *BackupConfig)
- func (in *BackupConfig) DeepCopyObject() runtime.Object
- func (mg *BackupConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *BackupConfig) GetConnectionDetailsMapping() map[string]string
- func (mg *BackupConfig) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *BackupConfig) GetID() string
- func (tr *BackupConfig) GetObservation() (map[string]interface{}, error)
- func (tr *BackupConfig) GetParameters() (map[string]interface{}, error)
- func (mg *BackupConfig) GetProviderConfigReference() *xpv1.Reference
- func (mg *BackupConfig) GetProviderReference() *xpv1.Reference
- func (mg *BackupConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *BackupConfig) GetTerraformResourceType() string
- func (tr *BackupConfig) GetTerraformSchemaVersion() int
- func (mg *BackupConfig) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *BackupConfig) LateInitialize(attrs []byte) (bool, error)
- func (mg *BackupConfig) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *BackupConfig) SetConditions(c ...xpv1.Condition)
- func (mg *BackupConfig) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *BackupConfig) SetObservation(obs map[string]interface{}) error
- func (tr *BackupConfig) SetParameters(params map[string]interface{}) error
- func (mg *BackupConfig) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *BackupConfig) SetProviderReference(r *xpv1.Reference)
- func (mg *BackupConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *BackupConfig) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type BackupConfigList
- type BackupConfigObservation
- type BackupConfigParameters
- type BackupConfigSpec
- type BackupConfigStatus
- type Instance
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Instance) GetConnectionDetailsMapping() map[string]string
- func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Instance) GetID() string
- func (tr *Instance) GetObservation() (map[string]interface{}, error)
- func (tr *Instance) GetParameters() (map[string]interface{}, error)
- func (mg *Instance) GetProviderConfigReference() *xpv1.Reference
- func (mg *Instance) GetProviderReference() *xpv1.Reference
- func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Instance) GetTerraformResourceType() string
- func (tr *Instance) GetTerraformSchemaVersion() int
- func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Instance) LateInitialize(attrs []byte) (bool, error)
- func (mg *Instance) SetConditions(c ...xpv1.Condition)
- func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Instance) SetObservation(obs map[string]interface{}) error
- func (tr *Instance) SetParameters(params map[string]interface{}) error
- func (mg *Instance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Instance) SetProviderReference(r *xpv1.Reference)
- func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type InstanceList
- type InstanceObservation
- type InstanceParameters
- type InstanceSpec
- type InstanceStatus
- type NodeInfoObservation
- type NodeInfoParameters
Constants ¶
const ( CRDGroup = "redis.tencentcloud.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( BackupConfig_Kind = "BackupConfig" BackupConfig_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: BackupConfig_Kind}.String() BackupConfig_KindAPIVersion = BackupConfig_Kind + "." + CRDGroupVersion.String() BackupConfig_GroupVersionKind = CRDGroupVersion.WithKind(BackupConfig_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 ( Instance_Kind = "Instance" Instance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Instance_Kind}.String() Instance_KindAPIVersion = Instance_Kind + "." + CRDGroupVersion.String() Instance_GroupVersionKind = CRDGroupVersion.WithKind(Instance_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type BackupConfig ¶
type BackupConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BackupConfigSpec `json:"spec"` Status BackupConfigStatus `json:"status,omitempty"` }
BackupConfig is the Schema for the BackupConfigs API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}
func (*BackupConfig) DeepCopy ¶
func (in *BackupConfig) DeepCopy() *BackupConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfig.
func (*BackupConfig) DeepCopyInto ¶
func (in *BackupConfig) DeepCopyInto(out *BackupConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupConfig) DeepCopyObject ¶
func (in *BackupConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupConfig) GetCondition ¶
func (mg *BackupConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this BackupConfig.
func (*BackupConfig) GetConnectionDetailsMapping ¶
func (tr *BackupConfig) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this BackupConfig
func (*BackupConfig) GetDeletionPolicy ¶
func (mg *BackupConfig) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this BackupConfig.
func (*BackupConfig) GetID ¶
func (tr *BackupConfig) GetID() string
GetID returns ID of underlying Terraform resource of this BackupConfig
func (*BackupConfig) GetObservation ¶
func (tr *BackupConfig) GetObservation() (map[string]interface{}, error)
GetObservation of this BackupConfig
func (*BackupConfig) GetParameters ¶
func (tr *BackupConfig) GetParameters() (map[string]interface{}, error)
GetParameters of this BackupConfig
func (*BackupConfig) GetProviderConfigReference ¶
func (mg *BackupConfig) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this BackupConfig.
func (*BackupConfig) GetProviderReference ¶
func (mg *BackupConfig) GetProviderReference() *xpv1.Reference
GetProviderReference of this BackupConfig. Deprecated: Use GetProviderConfigReference.
func (*BackupConfig) GetPublishConnectionDetailsTo ¶
func (mg *BackupConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this BackupConfig.
func (*BackupConfig) GetTerraformResourceType ¶
func (mg *BackupConfig) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this BackupConfig
func (*BackupConfig) GetTerraformSchemaVersion ¶
func (tr *BackupConfig) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*BackupConfig) GetWriteConnectionSecretToReference ¶
func (mg *BackupConfig) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this BackupConfig.
func (*BackupConfig) LateInitialize ¶
func (tr *BackupConfig) LateInitialize(attrs []byte) (bool, error)
LateInitialize this BackupConfig using its observed tfState. returns True if there are any spec changes for the resource.
func (*BackupConfig) ResolveReferences ¶
ResolveReferences of this BackupConfig.
func (*BackupConfig) SetConditions ¶
func (mg *BackupConfig) SetConditions(c ...xpv1.Condition)
SetConditions of this BackupConfig.
func (*BackupConfig) SetDeletionPolicy ¶
func (mg *BackupConfig) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this BackupConfig.
func (*BackupConfig) SetObservation ¶
func (tr *BackupConfig) SetObservation(obs map[string]interface{}) error
SetObservation for this BackupConfig
func (*BackupConfig) SetParameters ¶
func (tr *BackupConfig) SetParameters(params map[string]interface{}) error
SetParameters for this BackupConfig
func (*BackupConfig) SetProviderConfigReference ¶
func (mg *BackupConfig) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this BackupConfig.
func (*BackupConfig) SetProviderReference ¶
func (mg *BackupConfig) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this BackupConfig. Deprecated: Use SetProviderConfigReference.
func (*BackupConfig) SetPublishConnectionDetailsTo ¶
func (mg *BackupConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this BackupConfig.
func (*BackupConfig) SetWriteConnectionSecretToReference ¶
func (mg *BackupConfig) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this BackupConfig.
type BackupConfigList ¶
type BackupConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BackupConfig `json:"items"` }
BackupConfigList contains a list of BackupConfigs
func (*BackupConfigList) DeepCopy ¶
func (in *BackupConfigList) DeepCopy() *BackupConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigList.
func (*BackupConfigList) DeepCopyInto ¶
func (in *BackupConfigList) DeepCopyInto(out *BackupConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupConfigList) DeepCopyObject ¶
func (in *BackupConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupConfigList) GetItems ¶
func (l *BackupConfigList) GetItems() []resource.Managed
GetItems of this BackupConfigList.
type BackupConfigObservation ¶
type BackupConfigObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*BackupConfigObservation) DeepCopy ¶
func (in *BackupConfigObservation) DeepCopy() *BackupConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigObservation.
func (*BackupConfigObservation) DeepCopyInto ¶
func (in *BackupConfigObservation) DeepCopyInto(out *BackupConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfigParameters ¶
type BackupConfigParameters struct { // Specifys which day the backup action should take place. Valid values: `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`. // +kubebuilder:validation:Optional BackupPeriod []*string `json:"backupPeriod,omitempty" tf:"backup_period,omitempty"` // Specifys what time the backup action should take place. And the time interval should be one hour. // +kubebuilder:validation:Required BackupTime *string `json:"backupTime" tf:"backup_time,omitempty"` // ID of a redis instance to which the policy will be applied. // +crossplane:generate:reference:type=Instance // +kubebuilder:validation:Optional RedisID *string `json:"redisId,omitempty" tf:"redis_id,omitempty"` // +kubebuilder:validation:Optional RedisIDRef *v1.Reference `json:"redisIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional RedisIDSelector *v1.Selector `json:"redisIdSelector,omitempty" tf:"-"` }
func (*BackupConfigParameters) DeepCopy ¶
func (in *BackupConfigParameters) DeepCopy() *BackupConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigParameters.
func (*BackupConfigParameters) DeepCopyInto ¶
func (in *BackupConfigParameters) DeepCopyInto(out *BackupConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfigSpec ¶
type BackupConfigSpec struct { v1.ResourceSpec `json:",inline"` ForProvider BackupConfigParameters `json:"forProvider"` }
BackupConfigSpec defines the desired state of BackupConfig
func (*BackupConfigSpec) DeepCopy ¶
func (in *BackupConfigSpec) DeepCopy() *BackupConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigSpec.
func (*BackupConfigSpec) DeepCopyInto ¶
func (in *BackupConfigSpec) DeepCopyInto(out *BackupConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfigStatus ¶
type BackupConfigStatus struct { v1.ResourceStatus `json:",inline"` AtProvider BackupConfigObservation `json:"atProvider,omitempty"` }
BackupConfigStatus defines the observed state of BackupConfig.
func (*BackupConfigStatus) DeepCopy ¶
func (in *BackupConfigStatus) DeepCopy() *BackupConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigStatus.
func (*BackupConfigStatus) DeepCopyInto ¶
func (in *BackupConfigStatus) DeepCopyInto(out *BackupConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status,omitempty"` }
Instance is the Schema for the Instances API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}
func (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instance) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Instance) GetCondition ¶
func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Instance.
func (*Instance) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Instance
func (*Instance) GetDeletionPolicy ¶
func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Instance.
func (*Instance) GetObservation ¶
GetObservation of this Instance
func (*Instance) GetParameters ¶
GetParameters of this Instance
func (*Instance) GetProviderConfigReference ¶
GetProviderConfigReference of this Instance.
func (*Instance) GetProviderReference ¶
GetProviderReference of this Instance. Deprecated: Use GetProviderConfigReference.
func (*Instance) GetPublishConnectionDetailsTo ¶
func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Instance.
func (*Instance) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Instance
func (*Instance) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Instance) GetWriteConnectionSecretToReference ¶
func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Instance.
func (*Instance) LateInitialize ¶
LateInitialize this Instance using its observed tfState. returns True if there are any spec changes for the resource.
func (*Instance) SetConditions ¶
SetConditions of this Instance.
func (*Instance) SetDeletionPolicy ¶
func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Instance.
func (*Instance) SetObservation ¶
SetObservation for this Instance
func (*Instance) SetParameters ¶
SetParameters for this Instance
func (*Instance) SetProviderConfigReference ¶
SetProviderConfigReference of this Instance.
func (*Instance) SetProviderReference ¶
SetProviderReference of this Instance. Deprecated: Use SetProviderConfigReference.
func (*Instance) SetPublishConnectionDetailsTo ¶
func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Instance.
func (*Instance) SetWriteConnectionSecretToReference ¶
func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Instance.
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Instance `json:"items"` }
InstanceList contains a list of Instances
func (*InstanceList) DeepCopy ¶
func (in *InstanceList) DeepCopy() *InstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList.
func (*InstanceList) DeepCopyInto ¶
func (in *InstanceList) DeepCopyInto(out *InstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceList) DeepCopyObject ¶
func (in *InstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InstanceList) GetItems ¶
func (l *InstanceList) GetItems() []resource.Managed
GetItems of this InstanceList.
type InstanceObservation ¶
type InstanceObservation struct { CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` IP *string `json:"ip,omitempty" tf:"ip,omitempty"` NodeInfo []NodeInfoObservation `json:"nodeInfo,omitempty" tf:"node_info,omitempty"` Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*InstanceObservation) DeepCopy ¶
func (in *InstanceObservation) DeepCopy() *InstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceObservation.
func (*InstanceObservation) DeepCopyInto ¶
func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceParameters ¶
type InstanceParameters struct { // Auto-renew flag. 0 - default state (manual renewal); 1 - automatic renewal; 2 - explicit no automatic renewal. // +kubebuilder:validation:Optional AutoRenewFlag *float64 `json:"autoRenewFlag,omitempty" tf:"auto_renew_flag,omitempty"` // The available zone ID of an instance to be created, please refer to `tencentcloud_redis_zone_config.list`. // +kubebuilder:validation:Required AvailabilityZone *string `json:"availabilityZone" tf:"availability_zone,omitempty"` // The charge type of instance. Valid values: `PREPAID` and `POSTPAID`. Default value is `POSTPAID`. Note: TencentCloud International only supports `POSTPAID`. Caution that update operation on this field will delete old instances and create new with new charge type. // +kubebuilder:validation:Optional ChargeType *string `json:"chargeType,omitempty" tf:"charge_type,omitempty"` // Indicate whether to delete Redis instance directly or not. Default is false. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for `PREPAID` instance. // +kubebuilder:validation:Optional ForceDelete *bool `json:"forceDelete,omitempty" tf:"force_delete,omitempty"` // The memory volume of an available instance(in MB), please refer to `tencentcloud_redis_zone_config.list[zone].shard_memories`. When redis is standard type, it represents total memory size of the instance; when Redis is cluster type, it represents memory size of per sharding. // +kubebuilder:validation:Required MemSize *float64 `json:"memSize" tf:"mem_size,omitempty"` // Instance name. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // Indicates whether the redis instance support no-auth access. NOTE: Only available in private cloud environment. // +kubebuilder:validation:Optional NoAuth *bool `json:"noAuth,omitempty" tf:"no_auth,omitempty"` // Specify params template id. If not set, will use default template. // +kubebuilder:validation:Optional ParamsTemplateID *string `json:"paramsTemplateId,omitempty" tf:"params_template_id,omitempty"` // Password for a Redis user, which should be 8 to 16 characters. NOTE: Only `no_auth=true` specified can make password empty. // +kubebuilder:validation:Optional PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` // The port used to access a redis instance. The default value is 6379. And this value can't be changed after creation, or the Redis instance will be recreated. // +kubebuilder:validation:Optional Port *float64 `json:"port,omitempty" tf:"port,omitempty"` // The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when charge_type is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. // +kubebuilder:validation:Optional PrepaidPeriod *float64 `json:"prepaidPeriod,omitempty" tf:"prepaid_period,omitempty"` // Specifies which project the instance should belong to. // +kubebuilder:validation:Optional ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"` // The number of instance copies. This is not required for standalone and master slave versions and must equal to count of `replica_zone_ids`. // +kubebuilder:validation:Optional RedisReplicasNum *float64 `json:"redisReplicasNum,omitempty" tf:"redis_replicas_num,omitempty"` // The number of instance shard, default is 1. This is not required for standalone and master slave versions. // +kubebuilder:validation:Optional RedisShardNum *float64 `json:"redisShardNum,omitempty" tf:"redis_shard_num,omitempty"` // ID of replica nodes available zone. This is not required for standalone and master slave versions. NOTE: Removing some of the same zone of replicas (e.g. removing 100001 of [100001, 100001, 100002]) will pick the first hit to remove. // +kubebuilder:validation:Optional ReplicaZoneIds []*float64 `json:"replicaZoneIds,omitempty" tf:"replica_zone_ids,omitempty"` // Whether copy read-only is supported, Redis 2.8 Standard Edition and CKV Standard Edition do not support replica read-only, turn on replica read-only, the instance will automatically read and write separate, write requests are routed to the primary node, read requests are routed to the replica node, if you need to open replica read-only, the recommended number of replicas >=2. // +kubebuilder:validation:Optional ReplicasReadOnly *bool `json:"replicasReadOnly,omitempty" tf:"replicas_read_only,omitempty"` // ID of security group. If both vpc_id and subnet_id are not set, this argument should not be set either. // +kubebuilder:validation:Optional SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` // Specifies which subnet the instance should belong to. // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` // Instance tags. // +kubebuilder:validation:Optional Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Instance type. Available values: `cluster_ckv`,`cluster_redis5.0`,`cluster_redis`,`master_slave_ckv`,`master_slave_redis4.0`,`master_slave_redis5.0`,`master_slave_redis`,`standalone_redis`, specific region support specific types, need to refer data `tencentcloud_redis_zone_config`. // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` // Instance type. Available values reference data source `tencentcloud_redis_zone_config` or [document](https://intl.cloud.tencent.com/document/product/239/32069). // +kubebuilder:validation:Optional TypeID *float64 `json:"typeId,omitempty" tf:"type_id,omitempty"` // ID of the vpc with which the instance is to be associated. // +kubebuilder:validation:Optional VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` }
func (*InstanceParameters) DeepCopy ¶
func (in *InstanceParameters) DeepCopy() *InstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceParameters.
func (*InstanceParameters) DeepCopyInto ¶
func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpec ¶
type InstanceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider InstanceParameters `json:"forProvider"` }
InstanceSpec defines the desired state of Instance
func (*InstanceSpec) DeepCopy ¶
func (in *InstanceSpec) DeepCopy() *InstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec.
func (*InstanceSpec) DeepCopyInto ¶
func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider InstanceObservation `json:"atProvider,omitempty"` }
InstanceStatus defines the observed state of Instance.
func (*InstanceStatus) DeepCopy ¶
func (in *InstanceStatus) DeepCopy() *InstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus.
func (*InstanceStatus) DeepCopyInto ¶
func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeInfoObservation ¶
type NodeInfoObservation struct { ID *float64 `json:"id,omitempty" tf:"id,omitempty"` Master *bool `json:"master,omitempty" tf:"master,omitempty"` ZoneID *float64 `json:"zoneId,omitempty" tf:"zone_id,omitempty"` }
func (*NodeInfoObservation) DeepCopy ¶
func (in *NodeInfoObservation) DeepCopy() *NodeInfoObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInfoObservation.
func (*NodeInfoObservation) DeepCopyInto ¶
func (in *NodeInfoObservation) DeepCopyInto(out *NodeInfoObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeInfoParameters ¶
type NodeInfoParameters struct { }
func (*NodeInfoParameters) DeepCopy ¶
func (in *NodeInfoParameters) DeepCopy() *NodeInfoParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInfoParameters.
func (*NodeInfoParameters) DeepCopyInto ¶
func (in *NodeInfoParameters) DeepCopyInto(out *NodeInfoParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.