package
0.0.0-20210831081626-d823fe11ceba
Repository: https://github.com/huaweicloud/golangsdk.git
Documentation: pkg.go.dev
# Packages
db_instances_v1.
# Functions
AttachConfigurationGroup will attach configuration group to the instance.
Create asynchronously provisions a new database instance.
Delete permanently destroys the database instance.
DetachConfigurationGroup will dettach configuration group from the instance.
EnableRootUser enables the login from any host for the root user and provides the user with a generated root password.
ExtractInstances will convert a generic pagination struct into a more relevant slice of Instance structs.
Get retrieves the status and information for a specified database instance.
IsRootEnabled checks an instance to see if root access is enabled.
List retrieves the status and information for all database instances.
Resize changes the memory size of the instance, assuming a valid flavorRef is provided.
ResizeVolume will resize the attached volume for an instance.
Restart will restart only the MySQL Instance.
# Structs
ActionResult represents the result of action requests, such as: restarting an instance service, resizing its memory allocation, and resizing its attached volume size.
ConfigurationResult represents the result of a AttachConfigurationGroup/DetachConfigurationGroup operation.
CreateOpts is the struct responsible for configuring a new database instance.
CreateResult represents the result of a Create operation.
DatastoreOpts represents the configuration for how an instance stores data.
DeleteResult represents the result of a Delete operation.
EnableRootUserResult represents the result of an operation to enable the root user.
Fault describes the fault reason in more detail when a database instance has errored.
Flavor represents (virtual) hardware configurations for server resources in a region.
GetResult represents the result of a Get operation.
Instance represents a remote MySQL instance.
InstancePage represents a single page of a paginated instance collection.
IsRootEnabledResult is the result of a call to IsRootEnabled.
NetworkOpts is used within CreateOpts to control a new server's network attachments.
Volume represents information about an attached volume for a database instance.
# Interfaces
CreateOptsBuilder is the top-level interface for create options.