Documentation ¶
Index ¶
- func List(client *golangsdk.ServiceClient, opts ListTaurusDBBuilder) pagination.Pager
- func ListDeh(client *golangsdk.ServiceClient) pagination.Pager
- func WaitForJobSuccess(client *golangsdk.ServiceClient, secs int, jobID string) error
- type ApplyPrivateDnsNameBuilder
- type ApplyPrivateDnsNameOpts
- type BackupStrategy
- type BackupStrategyOpt
- type Capacity
- type ChargeInfoOpt
- type CreateReplicaBuilder
- type CreateReplicaOpts
- type CreateResponse
- type CreateResult
- type CreateTaurusDBBuilder
- type CreateTaurusDBOpts
- type DataStore
- type DataStoreOpt
- type Datastore
- type DehResource
- type DehResourcePage
- type DeleteResponse
- type DeleteResult
- type EnlargeProxyBuilder
- type EnlargeProxyOpts
- type ExtendResult
- type ExtendVolumeBuilder
- type ExtendVolumeOpts
- type GetProxyResult
- type GetResult
- type GetSecondLevelMonitoringResult
- type GetSlowLogShowOriginalSwitchResult
- type GetVersionResult
- type Job
- type JobResponse
- type JobResult
- func ApplyPrivateDnsName(client *golangsdk.ServiceClient, instanceId string, ...) (r JobResult)
- func CreateReplica(client *golangsdk.ServiceClient, instanceId string, opts CreateReplicaBuilder) (r JobResult)
- func DeleteProxy(client *golangsdk.ServiceClient, instanceId string) (r JobResult)
- func DeleteReplica(client *golangsdk.ServiceClient, instanceId, nodeId string) (r JobResult)
- func EnableProxy(client *golangsdk.ServiceClient, instanceId string, opts ProxyBuilder) (r JobResult)
- func EnlargeProxy(client *golangsdk.ServiceClient, instanceId string, opts EnlargeProxyBuilder) (r JobResult)
- func ExtendVolume(client *golangsdk.ServiceClient, instanceId string, opts ExtendVolumeBuilder) (r JobResult)
- func Resize(client *golangsdk.ServiceClient, instanceId string, opts ResizeBuilder) (r JobResult)
- func Restart(client *golangsdk.ServiceClient, instanceId string, opts RestartBuilder) (r JobResult)
- func UpdateName(client *golangsdk.ServiceClient, instanceId string, opts UpdateNameBuilder) (r JobResult)
- func UpdatePass(client *golangsdk.ServiceClient, instanceId string, opts UpdatePassBuilder) (r JobResult)
- func UpdatePort(client *golangsdk.ServiceClient, instanceId string, opts UpdatePortBuilder) (r JobResult)
- func UpdatePrivateDnsName(client *golangsdk.ServiceClient, instanceId string, ...) (r JobResult)
- func UpdatePrivateIp(client *golangsdk.ServiceClient, instanceId string, ...) (r JobResult)
- func UpdateSecondLevelMonitoring(client *golangsdk.ServiceClient, instanceId string, ...) (r JobResult)
- func UpdateSecurityGroup(client *golangsdk.ServiceClient, instanceId string, ...) (r JobResult)
- func UpdateSslOption(client *golangsdk.ServiceClient, instanceId string, ...) (r JobResult)
- type JobStatus
- type ListDehResponse
- type ListTaurusDBBuilder
- type ListTaurusDBInstance
- type ListTaurusDBInstanceOpts
- type ListTaurusDBResponse
- type ListTaurusDBResult
- type NodeVolume
- type Nodes
- type Proxy
- type ProxyBuilder
- type ProxyOpts
- type ResizeBuilder
- type ResizeOpt
- type ResizeOpts
- type RestartBuilder
- type RestartOpts
- type SecondLevelMonitoring
- type SlowLogShowOriginalSwitch
- type TaurusDBInstance
- type TaurusDBPage
- type TaurusDBResponse
- type UpdateAliasBuilder
- type UpdateAliasOpts
- type UpdateAliasResponse
- type UpdateAliasResult
- type UpdateMaintenanceWindowBuilder
- type UpdateMaintenanceWindowOpts
- type UpdateMaintenanceWindowResponse
- type UpdateMaintenanceWindowResult
- type UpdateNameBuilder
- type UpdateNameOpts
- type UpdatePassBuilder
- type UpdatePassOpts
- type UpdatePortBuilder
- type UpdatePortOpts
- type UpdatePrivateDnsNameBuilder
- type UpdatePrivateDnsNameOpts
- type UpdatePrivateIpBuilder
- type UpdatePrivateIpOpts
- type UpdateSecondLevelMonitoringBuilder
- type UpdateSecondLevelMonitoringOpts
- type UpdateSecurityGroupBuilder
- type UpdateSecurityGroupOpts
- type UpdateSlowLogShowOriginalSwitchBuilder
- type UpdateSlowLogShowOriginalSwitchOpts
- type UpdateSlowLogShowOriginalSwitchResponse
- type UpdateSlowLogShowOriginalSwitchResult
- type UpdateSslOptionBuilder
- type UpdateSslOptionOpts
- type Version
- type Volume
- type VolumeOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(client *golangsdk.ServiceClient, opts ListTaurusDBBuilder) pagination.Pager
func ListDeh ¶
func ListDeh(client *golangsdk.ServiceClient) pagination.Pager
func WaitForJobSuccess ¶
func WaitForJobSuccess(client *golangsdk.ServiceClient, secs int, jobID string) error
Types ¶
type ApplyPrivateDnsNameOpts ¶
type ApplyPrivateDnsNameOpts struct {
DnsType string `json:"dns_type" required:"true"`
}
func (ApplyPrivateDnsNameOpts) ToPrivateDnsNameApplyMap ¶
func (opts ApplyPrivateDnsNameOpts) ToPrivateDnsNameApplyMap() (map[string]interface{}, error)
type BackupStrategy ¶
type BackupStrategyOpt ¶
type ChargeInfoOpt ¶
type CreateReplicaBuilder ¶
type CreateReplicaOpts ¶
type CreateReplicaOpts struct { Priorities []int `json:"priorities" required:"true"` IsAutoPay string `json:"is_auto_pay,omitempty"` }
func (CreateReplicaOpts) ToReplicaCreateMap ¶
func (opts CreateReplicaOpts) ToReplicaCreateMap() (map[string]interface{}, error)
type CreateResponse ¶
type CreateResponse struct { Instance TaurusDBResponse `json:"instance"` JobId string `json:"job_id"` OrderId string `json:"order_id"` }
type CreateResult ¶
type CreateResult struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(client *golangsdk.ServiceClient, opts CreateTaurusDBBuilder) (r CreateResult)
func (CreateResult) Extract ¶
func (r CreateResult) Extract() (*CreateResponse, error)
type CreateTaurusDBBuilder ¶
type CreateTaurusDBOpts ¶
type CreateTaurusDBOpts struct { Name string `json:"name" required:"true"` Region string `json:"region" required:"true"` Mode string `json:"mode" required:"true"` Flavor string `json:"flavor_ref" required:"true"` VpcId string `json:"vpc_id" required:"true"` SubnetId string `json:"subnet_id" required:"true"` SecurityGroupId string `json:"security_group_id,omitempty"` Password string `json:"password" required:"true"` TimeZone string `json:"time_zone" required:"true"` AZMode string `json:"availability_zone_mode" required:"true"` SlaveCount int `json:"slave_count" required:"true"` MasterAZ string `json:"master_availability_zone,omitempty"` ConfigurationId string `json:"configuration_id,omitempty"` EnterpriseProjectId string `json:"enterprise_project_id,omitempty"` DedicatedResourceId string `json:"dedicated_resource_id,omitempty"` LowerCaseTableNames *int `json:"lower_case_table_names,omitempty"` DataStore DataStoreOpt `json:"datastore" required:"true"` BackupStrategy *BackupStrategyOpt `json:"backup_strategy,omitempty"` ChargeInfo *ChargeInfoOpt `json:"charge_info,omitempty"` Volume *VolumeOpt `json:"volume,omitempty"` }
func (CreateTaurusDBOpts) ToInstancesCreateMap ¶
func (opts CreateTaurusDBOpts) ToInstancesCreateMap() (map[string]interface{}, error)
type DataStoreOpt ¶
type DehResource ¶
type DehResourcePage ¶
type DehResourcePage struct {
pagination.SinglePageBase
}
type DeleteResponse ¶
type DeleteResponse struct {
JobId string `json:"job_id"`
}
type DeleteResult ¶
type DeleteResult struct {
// contains filtered or unexported fields
}
func Delete ¶
func Delete(client *golangsdk.ServiceClient, instanceId string) (r DeleteResult)
func (DeleteResult) Extract ¶
func (r DeleteResult) Extract() (*DeleteResponse, error)
type EnlargeProxyBuilder ¶
type EnlargeProxyOpts ¶
type EnlargeProxyOpts struct {
NodeNum int `json:"node_num" required:"true"`
}
func (EnlargeProxyOpts) ToEnlargeProxyMap ¶
func (opts EnlargeProxyOpts) ToEnlargeProxyMap() (map[string]interface{}, error)
type ExtendResult ¶
type ExtendVolumeBuilder ¶
type ExtendVolumeOpts ¶
type ExtendVolumeOpts struct { Size int `json:"size" required:"true"` IsAutoPay string `json:"is_auto_pay,omitempty"` }
func (ExtendVolumeOpts) ToVolumeExtendMap ¶
func (opts ExtendVolumeOpts) ToVolumeExtendMap() (map[string]interface{}, error)
type GetProxyResult ¶
type GetProxyResult struct {
// contains filtered or unexported fields
}
func GetProxy ¶
func GetProxy(client *golangsdk.ServiceClient, instanceId string) (r GetProxyResult)
func (GetProxyResult) Extract ¶
func (r GetProxyResult) Extract() (*Proxy, error)
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
func (GetResult) Extract ¶
func (r GetResult) Extract() (*TaurusDBInstance, error)
type GetSecondLevelMonitoringResult ¶
type GetSecondLevelMonitoringResult struct {
// contains filtered or unexported fields
}
func GetSecondLevelMonitoring ¶
func GetSecondLevelMonitoring(client *golangsdk.ServiceClient, instanceId string) (r GetSecondLevelMonitoringResult)
func (GetSecondLevelMonitoringResult) Extract ¶
func (r GetSecondLevelMonitoringResult) Extract() (*SecondLevelMonitoring, error)
type GetSlowLogShowOriginalSwitchResult ¶
type GetSlowLogShowOriginalSwitchResult struct {
// contains filtered or unexported fields
}
func GetSlowLogShowOriginalSwitch ¶
func GetSlowLogShowOriginalSwitch(client *golangsdk.ServiceClient, instanceId string) (r GetSlowLogShowOriginalSwitchResult)
func (GetSlowLogShowOriginalSwitchResult) Extract ¶
func (r GetSlowLogShowOriginalSwitchResult) Extract() (*SlowLogShowOriginalSwitch, error)
type GetVersionResult ¶
type GetVersionResult struct {
// contains filtered or unexported fields
}
func GetVersion ¶
func GetVersion(client *golangsdk.ServiceClient, instanceId string) (r GetVersionResult)
func (GetVersionResult) Extract ¶
func (r GetVersionResult) Extract() (*Version, error)
type JobResponse ¶
type JobResult ¶
func ApplyPrivateDnsName ¶
func ApplyPrivateDnsName(client *golangsdk.ServiceClient, instanceId string, opts ApplyPrivateDnsNameBuilder) (r JobResult)
func CreateReplica ¶
func CreateReplica(client *golangsdk.ServiceClient, instanceId string, opts CreateReplicaBuilder) (r JobResult)
func DeleteProxy ¶
func DeleteProxy(client *golangsdk.ServiceClient, instanceId string) (r JobResult)
func DeleteReplica ¶
func DeleteReplica(client *golangsdk.ServiceClient, instanceId, nodeId string) (r JobResult)
func EnableProxy ¶
func EnableProxy(client *golangsdk.ServiceClient, instanceId string, opts ProxyBuilder) (r JobResult)
func EnlargeProxy ¶
func EnlargeProxy(client *golangsdk.ServiceClient, instanceId string, opts EnlargeProxyBuilder) (r JobResult)
func ExtendVolume ¶
func ExtendVolume(client *golangsdk.ServiceClient, instanceId string, opts ExtendVolumeBuilder) (r JobResult)
func Resize ¶
func Resize(client *golangsdk.ServiceClient, instanceId string, opts ResizeBuilder) (r JobResult)
func Restart ¶
func Restart(client *golangsdk.ServiceClient, instanceId string, opts RestartBuilder) (r JobResult)
func UpdateName ¶
func UpdateName(client *golangsdk.ServiceClient, instanceId string, opts UpdateNameBuilder) (r JobResult)
func UpdatePass ¶
func UpdatePass(client *golangsdk.ServiceClient, instanceId string, opts UpdatePassBuilder) (r JobResult)
func UpdatePort ¶
func UpdatePort(client *golangsdk.ServiceClient, instanceId string, opts UpdatePortBuilder) (r JobResult)
func UpdatePrivateDnsName ¶
func UpdatePrivateDnsName(client *golangsdk.ServiceClient, instanceId string, opts UpdatePrivateDnsNameBuilder) (r JobResult)
func UpdatePrivateIp ¶
func UpdatePrivateIp(client *golangsdk.ServiceClient, instanceId string, opts UpdatePrivateIpBuilder) (r JobResult)
func UpdateSecondLevelMonitoring ¶
func UpdateSecondLevelMonitoring(client *golangsdk.ServiceClient, instanceId string, opts UpdateSecondLevelMonitoringBuilder) (r JobResult)
func UpdateSecurityGroup ¶
func UpdateSecurityGroup(client *golangsdk.ServiceClient, instanceId string, opts UpdateSecurityGroupBuilder) (r JobResult)
func UpdateSslOption ¶
func UpdateSslOption(client *golangsdk.ServiceClient, instanceId string, opts UpdateSslOptionBuilder) (r JobResult)
func (JobResult) ExtractJobResponse ¶
func (r JobResult) ExtractJobResponse() (*JobResponse, error)
func (JobResult) ExtractJobStatus ¶
type ListDehResponse ¶
type ListDehResponse struct { Resources []DehResource `json:"resources"` TotalCount int `json:"total_count"` }
func ExtractDehResources ¶
func ExtractDehResources(r pagination.Page) (ListDehResponse, error)
type ListTaurusDBBuilder ¶
type ListTaurusDBInstance ¶
type ListTaurusDBInstance struct { Id string `json:"id"` Name string `json:"name"` Status string `json:"status"` Type string `json:"type"` Port string `json:"port"` NodeCount int `json:"node_count"` VpcId string `json:"vpc_id"` SubnetId string `json:"subnet_id"` SecurityGroupId string `json:"security_group_id"` ConfigurationId string `json:"configuration_id"` AZMode string `json:"az_mode"` MasterAZ string `json:"master_az_code"` TimeZone string `json:"time_zone"` ProjectId string `json:"project_id"` DbUserName string `json:"db_user_name"` PublicIps []string `json:"public_ips"` PrivateIps []string `json:"private_write_ips"` Created string `json:"-"` Updated string `json:"-"` Volume Volume `json:"volume"` Nodes []Nodes `json:"nodes"` DataStore DataStore `json:"datastore"` BackupStrategy BackupStrategy `json:"backup_strategy"` EnterpriseProjectId string `json:"enterprise_project_id"` DedicatedResourceId string `json:"dedicated_resource_id"` }
func GetInstanceByName ¶
func GetInstanceByName(client *golangsdk.ServiceClient, name string) (ListTaurusDBInstance, error)
type ListTaurusDBInstanceOpts ¶
type ListTaurusDBInstanceOpts struct { Id string `q:"id"` Name string `q:"name"` Type string `q:"type"` DataStoreType string `q:"datastore_type"` VpcId string `q:"vpc_id"` SubnetId string `q:"subnet_id"` Offset int `q:"offset"` Limit int `q:"limit"` }
func (ListTaurusDBInstanceOpts) ToTaurusDBListDetailQuery ¶
func (opts ListTaurusDBInstanceOpts) ToTaurusDBListDetailQuery() (string, error)
type ListTaurusDBResponse ¶
type ListTaurusDBResponse struct { Instances []ListTaurusDBInstance `json:"instances"` TotalCount int `json:"total_count"` }
func ExtractTaurusDBInstances ¶
func ExtractTaurusDBInstances(r pagination.Page) (ListTaurusDBResponse, error)
ExtractTaurusDBInstances is a function that takes a ListResult and returns the services' information.
type ListTaurusDBResult ¶
type ListTaurusDBResult struct {
// contains filtered or unexported fields
}
type NodeVolume ¶
type NodeVolume struct {
Size int `json:"size"`
}
type Nodes ¶
type Nodes struct { Id string `json:"id"` Name string `json:"name"` Type string `json:"type"` Status string `json:"status"` PrivateIps []string `json:"private_read_ips"` Port int `json:"port"` Flavor string `json:"flavor_ref"` Region string `json:"region_code"` AvailabilityZone string `json:"az_code"` Volume NodeVolume `json:"volume"` }
type ProxyBuilder ¶
type ProxyOpts ¶
type ProxyOpts struct { Flavor string `json:"flavor_ref" required:"true"` NodeNum int `json:"node_num" required:"true"` }
func (ProxyOpts) ToProxyMap ¶
type ResizeBuilder ¶
type ResizeOpts ¶
type ResizeOpts struct { Resize ResizeOpt `json:"resize_flavor" required:"true"` IsAutoPay string `json:"is_auto_pay,omitempty"` }
func (ResizeOpts) ToResizeMap ¶
func (opts ResizeOpts) ToResizeMap() (map[string]interface{}, error)
type RestartBuilder ¶
type RestartOpts ¶
type RestartOpts struct {
Delay bool `json:"delay"`
}
func (RestartOpts) ToRestartMap ¶
func (opts RestartOpts) ToRestartMap() (map[string]interface{}, error)
type SecondLevelMonitoring ¶
type SlowLogShowOriginalSwitch ¶
type SlowLogShowOriginalSwitch struct {
OpenSlowLogSwitch string `json:"open_slow_log_switch"`
}
type TaurusDBInstance ¶
type TaurusDBInstance struct { Id string `json:"id"` Name string `json:"name"` Alias string `json:"alias"` Status string `json:"status"` Type string `json:"type"` Port string `json:"port"` NodeCount int `json:"node_count"` VpcId string `json:"vpc_id"` SubnetId string `json:"subnet_id"` SecurityGroupId string `json:"security_group_id"` ConfigurationId string `json:"configuration_id"` AZMode string `json:"az_mode"` MasterAZ string `json:"master_az_code"` TimeZone string `json:"time_zone"` ProjectId string `json:"project_id"` DbUserName string `json:"db_user_name"` PublicIps string `json:"public_ips"` PrivateDnsNames []string `json:"private_dns_names"` PrivateIps []string `json:"private_write_ips"` Created string `json:"created"` Updated string `json:"updated"` MaintenanceWindow string `json:"maintenance_window"` Volume Volume `json:"volume"` Nodes []Nodes `json:"nodes"` DataStore DataStore `json:"datastore"` BackupStrategy BackupStrategy `json:"backup_strategy"` EnterpriseProjectId string `json:"enterprise_project_id"` DedicatedResourceId string `json:"dedicated_resource_id"` }
type TaurusDBPage ¶
type TaurusDBPage struct {
pagination.SinglePageBase
}
func (TaurusDBPage) IsEmpty ¶
func (r TaurusDBPage) IsEmpty() (bool, error)
type TaurusDBResponse ¶
type TaurusDBResponse struct { Id string `json:"id"` Name string `json:"name"` Status string `json:"status"` Region string `json:"region"` Mode string `json:"mode"` Port string `json:"port"` VpcId string `json:"vpc_id"` SubnetId string `json:"subnet_id"` SecurityGroupId string `json:"security_group_id"` ConfigurationId string `json:"configuration_id"` AZMode string `json:"availability_zone_mode"` MasterAZ string `json:"master_availability_zone"` SlaveCount int `json:"slave_count"` DataStore DataStore `json:"datastore"` BackupStrategy BackupStrategy `json:"backup_strategy"` ChargeInfo structs.ChargeInfo `json:"charge_info"` EnterpriseProjectId string `json:"enterprise_project_id"` }
type UpdateAliasBuilder ¶
type UpdateAliasOpts ¶
type UpdateAliasOpts struct {
Alias string `json:"alias"`
}
func (UpdateAliasOpts) ToAliasUpdateMap ¶
func (opts UpdateAliasOpts) ToAliasUpdateMap() (map[string]interface{}, error)
type UpdateAliasResponse ¶
type UpdateAliasResponse struct { }
type UpdateAliasResult ¶
type UpdateAliasResult struct {
// contains filtered or unexported fields
}
func UpdateAlias ¶
func UpdateAlias(client *golangsdk.ServiceClient, instanceId string, opts UpdateAliasBuilder) (r UpdateAliasResult)
func (UpdateAliasResult) ExtractUpdateAliasResponse ¶
func (r UpdateAliasResult) ExtractUpdateAliasResponse() (*UpdateAliasResponse, error)
type UpdateMaintenanceWindowOpts ¶
type UpdateMaintenanceWindowOpts struct { StartTime string `json:"start_time" required:"true"` EndTime string `json:"end_time" required:"true"` }
func (UpdateMaintenanceWindowOpts) ToMaintenanceWindowUpdateMap ¶
func (opts UpdateMaintenanceWindowOpts) ToMaintenanceWindowUpdateMap() (map[string]interface{}, error)
type UpdateMaintenanceWindowResponse ¶
type UpdateMaintenanceWindowResponse struct { }
type UpdateMaintenanceWindowResult ¶
type UpdateMaintenanceWindowResult struct {
// contains filtered or unexported fields
}
func UpdateMaintenanceWindow ¶
func UpdateMaintenanceWindow(client *golangsdk.ServiceClient, instanceId string, opts UpdateMaintenanceWindowBuilder) (r UpdateMaintenanceWindowResult)
func (UpdateMaintenanceWindowResult) ExtractUpdateMaintenanceWindowResponse ¶
func (r UpdateMaintenanceWindowResult) ExtractUpdateMaintenanceWindowResponse() (*UpdateMaintenanceWindowResponse, error)
type UpdateNameBuilder ¶
type UpdateNameOpts ¶
type UpdateNameOpts struct {
Name string `json:"name" required:"true"`
}
func (UpdateNameOpts) ToNameUpdateMap ¶
func (opts UpdateNameOpts) ToNameUpdateMap() (map[string]interface{}, error)
type UpdatePassBuilder ¶
type UpdatePassOpts ¶
type UpdatePassOpts struct {
Password string `json:"password" required:"true"`
}
func (UpdatePassOpts) ToPassUpdateMap ¶
func (opts UpdatePassOpts) ToPassUpdateMap() (map[string]interface{}, error)
type UpdatePortBuilder ¶
type UpdatePortOpts ¶
type UpdatePortOpts struct {
Port int `json:"port" required:"true"`
}
func (UpdatePortOpts) ToPortUpdateMap ¶
func (opts UpdatePortOpts) ToPortUpdateMap() (map[string]interface{}, error)
type UpdatePrivateDnsNameOpts ¶
type UpdatePrivateDnsNameOpts struct {
DnsName string `json:"dns_name" required:"true"`
}
func (UpdatePrivateDnsNameOpts) ToPrivateDnsNameUpdateMap ¶
func (opts UpdatePrivateDnsNameOpts) ToPrivateDnsNameUpdateMap() (map[string]interface{}, error)
type UpdatePrivateIpBuilder ¶
type UpdatePrivateIpOpts ¶
type UpdatePrivateIpOpts struct {
InternalIp string `json:"internal_ip" required:"true"`
}
func (UpdatePrivateIpOpts) ToPrivateIpUpdateMap ¶
func (opts UpdatePrivateIpOpts) ToPrivateIpUpdateMap() (map[string]interface{}, error)
type UpdateSecondLevelMonitoringOpts ¶
type UpdateSecondLevelMonitoringOpts struct { MonitorSwitch bool `json:"monitor_switch"` Period int `json:"period,omitempty"` }
func (UpdateSecondLevelMonitoringOpts) ToSecondLevelMonitoringUpdateMap ¶
func (opts UpdateSecondLevelMonitoringOpts) ToSecondLevelMonitoringUpdateMap() (map[string]interface{}, error)
type UpdateSecurityGroupOpts ¶
type UpdateSecurityGroupOpts struct {
SecurityGroupId string `json:"security_group_id" required:"true"`
}
func (UpdateSecurityGroupOpts) ToSecurityGroupUpdateMap ¶
func (opts UpdateSecurityGroupOpts) ToSecurityGroupUpdateMap() (map[string]interface{}, error)
type UpdateSlowLogShowOriginalSwitchOpts ¶
type UpdateSlowLogShowOriginalSwitchOpts struct {
OpenSlowLogSwitch bool `json:"open_slow_log_switch"`
}
func (UpdateSlowLogShowOriginalSwitchOpts) ToSlowLogShowOriginalSwitchUpdateMap ¶
func (opts UpdateSlowLogShowOriginalSwitchOpts) ToSlowLogShowOriginalSwitchUpdateMap() (map[string]interface{}, error)
type UpdateSlowLogShowOriginalSwitchResponse ¶
type UpdateSlowLogShowOriginalSwitchResponse struct {
Response string `json:"response"`
}
type UpdateSlowLogShowOriginalSwitchResult ¶
type UpdateSlowLogShowOriginalSwitchResult struct {
// contains filtered or unexported fields
}
func UpdateSlowLogShowOriginalSwitch ¶
func UpdateSlowLogShowOriginalSwitch(client *golangsdk.ServiceClient, instanceId string, opts UpdateSlowLogShowOriginalSwitchBuilder) (r UpdateSlowLogShowOriginalSwitchResult)
func (UpdateSlowLogShowOriginalSwitchResult) ExtractUpdateSlowLogShowOriginalSwitchResponse ¶
func (r UpdateSlowLogShowOriginalSwitchResult) ExtractUpdateSlowLogShowOriginalSwitchResponse() (*UpdateSlowLogShowOriginalSwitchResponse, error)
type UpdateSslOptionBuilder ¶
type UpdateSslOptionOpts ¶
type UpdateSslOptionOpts struct {
SslOption bool `json:"ssl_option"`
}
func (UpdateSslOptionOpts) ToSslOptionUpdateMap ¶
func (opts UpdateSslOptionOpts) ToSslOptionUpdateMap() (map[string]interface{}, error)
Click to show internal directories.
Click to hide internal directories.