Versions in this module Expand all Collapse all v0 v0.9.5 Sep 1, 2025 Changes in this version + func CreateReplica(client *golangsdk.ServiceClient, instanceId string, opts CreateReplicaOpts) (*string, error) + func Delete(client *golangsdk.ServiceClient, instanceID string) (*string, error) + func DeleteReplica(client *golangsdk.ServiceClient, instanceID string, nodeId string) (*string, error) + func Resize(client *golangsdk.ServiceClient, instanceId string, specCode string) (*string, error) + func UpdateName(client *golangsdk.ServiceClient, instanceId string, name string) (*string, error) + func UpdatePass(client *golangsdk.ServiceClient, instanceId string, password string) error + func UpdatePort(client *golangsdk.ServiceClient, instanceId string, port int) (*string, error) + func UpdateSecondLevelMonitoring(client *golangsdk.ServiceClient, opts UpdateSecondLevelMonitoringOpts) (*string, error) + type BackupStrategy struct + KeepDays string + StartTime string + type BackupStrategyOpt struct + KeepDays string + StartTime string + type ChargeInfo struct + ChargingMode string + OrderId string + type CreateOpts struct + AZMode string + BackupStrategy *BackupStrategyOpt + ChargeInfo *ChargeInfo + ConfigurationId string + DataStore DataStoreOpt + DedicatedResourceId string + Flavor string + LowerCaseTableNames *int + MasterAZ string + Mode string + Name string + Password string + Region string + SecurityGroupId string + SlaveCount int + SubnetId string + Tags *Tags + TimeZone string + Volume *VolumeOpt + VpcId string + type CreateReplicaOpts struct + Priorities []int + type CreateResponse struct + Instance TaurusDBResponse + JobId string + func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*CreateResponse, error) + type DataStore struct + KernelVersion string + Type string + Version string + type DataStoreOpt struct + Type string + Version string + type FlavorInfo struct + Ram string + Vcpus string + type ListOpts struct + DataStoreType string + Id string + Limit int + Name string + Offset int + SubnetId string + Type string + VpcId string + type ListTaurusDBInstance struct + AZMode string + BackupStrategy BackupStrategy + ConfigurationId string + Created string + DataStore DataStore + DbUserName string + DedicatedResourceId string + Flavor string + FlavorInfo FlavorInfo + Id string + MasterAZ string + Name string + Nodes []Nodes + Port string + PrivateIps []string + ProjectId string + PublicIps []string + SecurityGroupId string + Status string + SubnetId string + Tags []Tags + TimeZone string + Type string + Updated string + Volume Volume + VpcId string + func ExtractInstances(r pagination.NewPage) ([]ListTaurusDBInstance, error) + func List(client *golangsdk.ServiceClient, opts ListOpts) ([]ListTaurusDBInstance, error) + type NodeVolume struct + Size int64 + Type string + Used string + type Nodes struct + AvailabilityZone string + Created string + Flavor string + FlavorId string + Id string + MaxConnections string + Name string + NeedRestart bool + Port int + Priority int + PrivateIps []string + Ram string + Region string + Status string + Type string + Updated string + Vcpus string + Volume NodeVolume + type ProxyInfo struct + Address string + Name string + PoolId string + type SecondLevelMonitoring struct + MonitorSwitch bool + Period int + func GetSecondLevelMonitoring(client *golangsdk.ServiceClient, instanceId string) (*SecondLevelMonitoring, error) + type Tags struct + Key string + Value string + type TaurusDBInstance struct + AZMode string + Alias string + BackupStrategy BackupStrategy + BackupUsedSpace float64 + ChargeInfo ChargeInfo + ConfigurationId string + Created string + DataStore DataStore + DbUserName string + DedicatedResourceId string + Id string + MaintenanceWindow string + MasterAZ string + Name string + NodeCount int + Nodes []Nodes + Port string + PrivateIps []string + ProjectId string + Proxies []ProxyInfo + PublicIps string + SecurityGroupId string + Status string + SubnetId string + Tags []Tags + TimeZone string + Type string + Updated string + VpcId string + func Get(client *golangsdk.ServiceClient, instanceId string) (*TaurusDBInstance, error) + type TaurusDBPage struct + type TaurusDBResponse struct + AZMode string + BackupStrategy BackupStrategy + ChargeInfo ChargeInfo + ConfigurationId string + DataStore DataStore + Flavor string + Id string + MasterAZ string + Mode string + Name string + Port string + Region string + SecurityGroupId string + SlaveCount int + Status string + SubnetId string + VpcId string + type UpdateSecondLevelMonitoringOpts struct + InstanceId string + MonitorSwitch bool + Period int + type Volume struct + Type string + Used string + type VolumeOpt struct + Size int