Versions in this module Expand all Collapse all v0 v0.9.6 Apr 27, 2026 Changes in this version + func ConfigureAutoExpansion(client *golangsdk.ServiceClient, opts DiskAutoExpansionOpts) error + func RenameInstance(client *golangsdk.ServiceClient, opts RenameInstanceOpts) error + func ResetPassword(client *golangsdk.ServiceClient, opts ResetPasswordOpts) error + func ResizeInstance(client *golangsdk.ServiceClient, opts ResizeInstanceOpts) (string, error) + type AutoEnlargePolicy struct + Size int + Step int + Threshold int + type BackupStrategy struct + KeepDays string + StartTime string + type BackupStrategyOpt struct + KeepDays string + StartTime string + type ChangeSecGroupOpts struct + InstanceId string + SecurityGroupId string + type ChangeSecGroupResp struct + JobId string + func ChangeSecGroup(client *golangsdk.ServiceClient, opts ChangeSecGroupOpts) (*ChangeSecGroupResp, error) + type CreateOpts struct + AvailabilityZone string + BackupStrategy *BackupStrategyOpt + ConfigurationId string + DataStore DataStoreOpt + EnterpriseProjectId *string + Flavor []FlavorOpt + Mode string + Name string + Password string + Region string + SecurityGroupId string + SslOption *string + SubnetId string + VpcId string + type CreateResp struct + AvailabilityZone string + BackupStrategy BackupStrategy + Created string + DataStore DataStore + Flavor []Flavor + Id string + JobId string + Mode string + Name string + Region string + SecurityGroupId string + SslOption string + Status string + SubnetId string + VpcId string + func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*CreateResp, error) + type DataStore struct + StorageEngine string + Type string + Version string + type DataStoreOpt struct + StorageEngine string + Type string + Version string + type DeleteResponse struct + JobId string + func Delete(client *golangsdk.ServiceClient, instanceID string) (*DeleteResponse, error) + type DiskAutoExpansionOpts struct + InstanceIds []string + Policy *DiskAutoExpansionPolicy + SwitchOption string + type DiskAutoExpansionPolicy struct + Size int + Step int + Threshold int + type EnlargeNodeOpts struct + InstanceId string + Num int + SubnetId string + type EnlargeNodeResponse struct + JobId string + func EnlargeNode(client *golangsdk.ServiceClient, opts EnlargeNodeOpts) (*EnlargeNodeResponse, error) + type ExtendVolumeOpts struct + InstanceId string + Size int + type ExtendVolumeResponse struct + JobId string + func ExtendVolume(client *golangsdk.ServiceClient, opts ExtendVolumeOpts) (*ExtendVolumeResponse, error) + type Flavor struct + Num string + Size string + SpecCode string + Storage string + type FlavorOpt struct + Num string + Size string + SpecCode string + Storage string + type GetAutoExpansionResponse struct + Policy *AutoEnlargePolicy + func GetAutoExpansion(client *golangsdk.ServiceClient, instanceId string) (*GetAutoExpansionResponse, error) + type ListBackupStrategyResult struct + KeepDays int + StartTime string + type ListDatastoreResult struct + Type string + Version string + WholeVersion string + type ListGeminiDBOpts struct + DataStoreType string + Id string + Limit int + Mode string + Name string + Offset int + SubnetId string + VpcId string + type ListGroupResult struct + Id string + Nodes []ListNodeResult + Status string + Volume Volume + type ListNodeResult struct + AvailabilityZone string + Id string + Name string + PrivateIp string + PublicIp string + SpecCode string + Status string + SubnetId string + SupportReduce bool + type ListResult struct + Actions []string + BackupStrategy ListBackupStrategyResult + Created string + DataStore ListDatastoreResult + DbUserName string + Engine string + EnterpriseProjectId string + Groups []ListGroupResult + Id string + MaintenanceWindow string + Mode string + Name string + PayMode string + Port string + Region string + SecurityGroupId string + Status string + SubnetId string + TimeZone string + Updated string + VpcId string + func ListGeminiDB(client *golangsdk.ServiceClient, opts ListGeminiDBOpts) ([]ListResult, error) + type ReduceNodeOpts struct + InstanceID string + NodeList []string + Num *int + type ReduceNodeResponse struct + JobId string + func ReduceNode(client *golangsdk.ServiceClient, opts ReduceNodeOpts) (*ReduceNodeResponse, error) + type RenameInstanceOpts struct + InstanceID string + Name string + type ResetPasswordOpts struct + InstanceId string + Password string + type ResizeInstanceOpts struct + InstanceID string + TargetSpecCode string + type Volume struct + Size string + Used string