Documentation ¶
Index ¶
- Constants
- func DataSourceTencentCloudMariadbAccounts() *schema.Resource
- func DataSourceTencentCloudMariadbDatabaseObjects() *schema.Resource
- func DataSourceTencentCloudMariadbDatabaseTable() *schema.Resource
- func DataSourceTencentCloudMariadbDatabases() *schema.Resource
- func DataSourceTencentCloudMariadbDbInstances() *schema.Resource
- func DataSourceTencentCloudMariadbDcnDetail() *schema.Resource
- func DataSourceTencentCloudMariadbFileDownloadUrl() *schema.Resource
- func DataSourceTencentCloudMariadbFlow() *schema.Resource
- func DataSourceTencentCloudMariadbInstanceNodeInfo() *schema.Resource
- func DataSourceTencentCloudMariadbInstanceSpecs() *schema.Resource
- func DataSourceTencentCloudMariadbLogFiles() *schema.Resource
- func DataSourceTencentCloudMariadbOrders() *schema.Resource
- func DataSourceTencentCloudMariadbPrice() *schema.Resource
- func DataSourceTencentCloudMariadbProjectSecurityGroups() *schema.Resource
- func DataSourceTencentCloudMariadbRenewalPrice() *schema.Resource
- func DataSourceTencentCloudMariadbSaleInfo() *schema.Resource
- func DataSourceTencentCloudMariadbSecurityGroups() *schema.Resource
- func DataSourceTencentCloudMariadbSlowLogs() *schema.Resource
- func DataSourceTencentCloudMariadbUpgradePrice() *schema.Resource
- func ResourceTencentCloudMariadbAccount() *schema.Resource
- func ResourceTencentCloudMariadbAccountPrivileges() *schema.Resource
- func ResourceTencentCloudMariadbBackupTime() *schema.Resource
- func ResourceTencentCloudMariadbCancelDcnJob() *schema.Resource
- func ResourceTencentCloudMariadbDedicatedclusterDbInstance() *schema.Resource
- func ResourceTencentCloudMariadbEncryptAttributes() *schema.Resource
- func ResourceTencentCloudMariadbFlushBinlog() *schema.Resource
- func ResourceTencentCloudMariadbHourDbInstance() *schema.Resource
- func ResourceTencentCloudMariadbInstance() *schema.Resource
- func ResourceTencentCloudMariadbInstanceConfig() *schema.Resource
- func ResourceTencentCloudMariadbLogFileRetentionPeriod() *schema.Resource
- func ResourceTencentCloudMariadbOperateHourDbInstance() *schema.Resource
- func ResourceTencentCloudMariadbParameters() *schema.Resource
- func ResourceTencentCloudMariadbRenewInstance() *schema.Resource
- func ResourceTencentCloudMariadbRestartInstance() *schema.Resource
- func ResourceTencentCloudMariadbSecurityGroups() *schema.Resource
- func ResourceTencentCloudMariadbSwitchHA() *schema.Resource
- type MariadbService
- func (me *MariadbService) DeleteMariadbAccountById(ctx context.Context, instanceId, userName, host string) (errRet error)
- func (me *MariadbService) DeleteMariadbDbInstance(ctx context.Context, instanceId string) (errRet error)
- func (me *MariadbService) DeleteMariadbDbInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *MariadbService) DeleteMariadbHourDbInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *MariadbService) DeleteMariadbInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *MariadbService) DeleteMariadbSecurityGroupsById(ctx context.Context, instanceId, securityGroupId, product string) (errRet error)
- func (me *MariadbService) DescribeDBEncryptAttributes(ctx context.Context, instanceId string) (encryptAttributes *mariadb.DescribeDBEncryptAttributesResponseParams, ...)
- func (me *MariadbService) DescribeDBInstanceDetailById(ctx context.Context, instanceId string) (dbDetail *mariadb.DescribeDBInstanceDetailResponseParams, errRet error)
- func (me *MariadbService) DescribeFlowById(ctx context.Context, flowId int64) (flowParams *mariadb.DescribeFlowResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbAccount(ctx context.Context, instanceId, userName, host string) (account *mariadb.DBAccount, errRet error)
- func (me *MariadbService) DescribeMariadbAccountPrivilegesById(ctx context.Context, instanceId string, user string, host string) (accountPrivileges *mariadb.DescribeAccountPrivilegesResponseParams, ...)
- func (me *MariadbService) DescribeMariadbAccountsByFilter(ctx context.Context, param map[string]interface{}) (accounts []*mariadb.DBAccount, errRet error)
- func (me *MariadbService) DescribeMariadbBackupTimeById(ctx context.Context, instanceId string) (backupTime *mariadb.DBBackupTimeConfig, errRet error)
- func (me *MariadbService) DescribeMariadbDatabaseObjectsByFilter(ctx context.Context, instanceId, dbName string) (databaseObjects *mariadb.DescribeDatabaseObjectsResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbDatabaseTableByFilter(ctx context.Context, param map[string]interface{}) (cols []*mariadb.TableColumn, errRet error)
- func (me *MariadbService) DescribeMariadbDatabasesByFilter(ctx context.Context, instanceId string) (databases []*mariadb.Database, errRet error)
- func (me *MariadbService) DescribeMariadbDbInstance(ctx context.Context, instanceId string) (dbInstance *mariadb.DBInstance, errRet error)
- func (me *MariadbService) DescribeMariadbDbInstanceDetail(ctx context.Context, instanceId string) (dbInstanceDetail *mariadb.DescribeDBInstanceDetailResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbDbInstancesByFilter(ctx context.Context, param map[string]interface{}) (dbInstances []*mariadb.DBInstance, errRet error)
- func (me *MariadbService) DescribeMariadbDcnDetailByFilter(ctx context.Context, param map[string]interface{}) (dcnDetail []*mariadb.DcnDetailItem, errRet error)
- func (me *MariadbService) DescribeMariadbFileDownloadUrlByFilter(ctx context.Context, param map[string]interface{}) (fileDownloadUrl *mariadb.DescribeFileDownloadUrlResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbFlowByFilter(ctx context.Context, param map[string]interface{}) (flow *mariadb.DescribeFlowResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbInstanceById(ctx context.Context, instanceId string) (instance *mariadb.DBInstance, errRet error)
- func (me *MariadbService) DescribeMariadbInstanceNodeInfoByFilter(ctx context.Context, param map[string]interface{}) (instanceNodeInfo []*mariadb.NodeInfo, errRet error)
- func (me *MariadbService) DescribeMariadbInstanceSpecsByFilter(ctx context.Context) (instanceSpecs []*mariadb.InstanceSpec, errRet error)
- func (me *MariadbService) DescribeMariadbLogFileRetentionPeriod(ctx context.Context, instanceId string) (logFileRetentionPeriod *mariadb.DescribeLogFileRetentionPeriodResponseParams, ...)
- func (me *MariadbService) DescribeMariadbLogFilesByFilter(ctx context.Context, param map[string]interface{}) (logFiles *mariadb.DescribeDBLogFilesResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbOrdersByFilter(ctx context.Context, dealName string) (orders []*mariadb.Deal, errRet error)
- func (me *MariadbService) DescribeMariadbParameters(ctx context.Context, instanceId string) (parameters *mariadb.DescribeDBParametersResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbPriceByFilter(ctx context.Context, param map[string]interface{}) (price *mariadb.DescribePriceResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*mariadb.SecurityGroup, errRet error)
- func (me *MariadbService) DescribeMariadbRenewalPriceByFilter(ctx context.Context, param map[string]interface{}) (renewalPrice *mariadb.DescribeRenewalPriceResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbSaleInfoByFilter(ctx context.Context) (saleInfo []*mariadb.RegionInfo, errRet error)
- func (me *MariadbService) DescribeMariadbSecurityGroup(ctx context.Context, instanceId, securityGroupId, product string) (securityGroup *mariadb.SecurityGroup, errRet error)
- func (me *MariadbService) DescribeMariadbSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (securityGroups []*mariadb.SecurityGroup, errRet error)
- func (me *MariadbService) DescribeMariadbSlowLogsByFilter(ctx context.Context, param map[string]interface{}) (slowLogs *mariadb.DescribeDBSlowLogsResponseParams, errRet error)
- func (me *MariadbService) DescribeMariadbUpgradePriceByFilter(ctx context.Context, param map[string]interface{}) (upgradePrice *mariadb.DescribeUpgradePriceResponseParams, errRet error)
- func (me *MariadbService) InitDbInstance(ctx context.Context, instanceId string, params []*mariadb.DBParamValue) (initRet bool, errRet error)
- func (me *MariadbService) IsolateDBInstanceById(ctx context.Context, instanceId string) (errRet error)
Constants ¶
View Source
const ( MARIADB_TASK_SUCCESS = 0 MARIADB_TASK_FAIL = 1 MARIADB_TASK_RUNNING = 2 )
View Source
const ( MARIADB_STATUS_ISOLATE = -1 MARIADB_STATUS_FLOW = 1 MARIADB_STATUS_RUNNING = 2 )
View Source
const (
ExtranetAccess_ENABLE = 1
)
View Source
const (
MODIFY_BACKUPTIME_SUCCESS = 0
)
View Source
const (
NONE_FLOW_TASK = 0
)
View Source
const (
RSACCESSSTRATEGY_ENABLE = 1
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MariadbService ¶
type MariadbService struct {
// contains filtered or unexported fields
}
func NewMariadbService ¶
func NewMariadbService(client *connectivity.TencentCloudClient) MariadbService
func (*MariadbService) DeleteMariadbAccountById ¶
func (me *MariadbService) DeleteMariadbAccountById(ctx context.Context, instanceId, userName, host string) (errRet error)
func (*MariadbService) DeleteMariadbDbInstance ¶
func (me *MariadbService) DeleteMariadbDbInstance(ctx context.Context, instanceId string) (errRet error)
func (*MariadbService) DeleteMariadbDbInstanceById ¶
func (me *MariadbService) DeleteMariadbDbInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*MariadbService) DeleteMariadbHourDbInstanceById ¶
func (me *MariadbService) DeleteMariadbHourDbInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*MariadbService) DeleteMariadbInstanceById ¶
func (me *MariadbService) DeleteMariadbInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*MariadbService) DeleteMariadbSecurityGroupsById ¶
func (me *MariadbService) DeleteMariadbSecurityGroupsById(ctx context.Context, instanceId, securityGroupId, product string) (errRet error)
func (*MariadbService) DescribeDBEncryptAttributes ¶
func (me *MariadbService) DescribeDBEncryptAttributes(ctx context.Context, instanceId string) (encryptAttributes *mariadb.DescribeDBEncryptAttributesResponseParams, errRet error)
func (*MariadbService) DescribeDBInstanceDetailById ¶
func (me *MariadbService) DescribeDBInstanceDetailById(ctx context.Context, instanceId string) (dbDetail *mariadb.DescribeDBInstanceDetailResponseParams, errRet error)
func (*MariadbService) DescribeFlowById ¶
func (me *MariadbService) DescribeFlowById(ctx context.Context, flowId int64) (flowParams *mariadb.DescribeFlowResponseParams, errRet error)
func (*MariadbService) DescribeMariadbAccount ¶
func (*MariadbService) DescribeMariadbAccountPrivilegesById ¶
func (me *MariadbService) DescribeMariadbAccountPrivilegesById(ctx context.Context, instanceId string, user string, host string) (accountPrivileges *mariadb.DescribeAccountPrivilegesResponseParams, errRet error)
func (*MariadbService) DescribeMariadbAccountsByFilter ¶
func (*MariadbService) DescribeMariadbBackupTimeById ¶
func (me *MariadbService) DescribeMariadbBackupTimeById(ctx context.Context, instanceId string) (backupTime *mariadb.DBBackupTimeConfig, errRet error)
func (*MariadbService) DescribeMariadbDatabaseObjectsByFilter ¶
func (me *MariadbService) DescribeMariadbDatabaseObjectsByFilter(ctx context.Context, instanceId, dbName string) (databaseObjects *mariadb.DescribeDatabaseObjectsResponseParams, errRet error)
func (*MariadbService) DescribeMariadbDatabaseTableByFilter ¶
func (me *MariadbService) DescribeMariadbDatabaseTableByFilter(ctx context.Context, param map[string]interface{}) (cols []*mariadb.TableColumn, errRet error)
func (*MariadbService) DescribeMariadbDatabasesByFilter ¶
func (*MariadbService) DescribeMariadbDbInstance ¶
func (me *MariadbService) DescribeMariadbDbInstance(ctx context.Context, instanceId string) (dbInstance *mariadb.DBInstance, errRet error)
func (*MariadbService) DescribeMariadbDbInstanceDetail ¶
func (me *MariadbService) DescribeMariadbDbInstanceDetail(ctx context.Context, instanceId string) (dbInstanceDetail *mariadb.DescribeDBInstanceDetailResponseParams, errRet error)
func (*MariadbService) DescribeMariadbDbInstancesByFilter ¶
func (me *MariadbService) DescribeMariadbDbInstancesByFilter(ctx context.Context, param map[string]interface{}) (dbInstances []*mariadb.DBInstance, errRet error)
func (*MariadbService) DescribeMariadbDcnDetailByFilter ¶
func (me *MariadbService) DescribeMariadbDcnDetailByFilter(ctx context.Context, param map[string]interface{}) (dcnDetail []*mariadb.DcnDetailItem, errRet error)
func (*MariadbService) DescribeMariadbFileDownloadUrlByFilter ¶
func (me *MariadbService) DescribeMariadbFileDownloadUrlByFilter(ctx context.Context, param map[string]interface{}) (fileDownloadUrl *mariadb.DescribeFileDownloadUrlResponseParams, errRet error)
func (*MariadbService) DescribeMariadbFlowByFilter ¶
func (me *MariadbService) DescribeMariadbFlowByFilter(ctx context.Context, param map[string]interface{}) (flow *mariadb.DescribeFlowResponseParams, errRet error)
func (*MariadbService) DescribeMariadbInstanceById ¶
func (me *MariadbService) DescribeMariadbInstanceById(ctx context.Context, instanceId string) (instance *mariadb.DBInstance, errRet error)
func (*MariadbService) DescribeMariadbInstanceNodeInfoByFilter ¶
func (*MariadbService) DescribeMariadbInstanceSpecsByFilter ¶
func (me *MariadbService) DescribeMariadbInstanceSpecsByFilter(ctx context.Context) (instanceSpecs []*mariadb.InstanceSpec, errRet error)
func (*MariadbService) DescribeMariadbLogFileRetentionPeriod ¶
func (me *MariadbService) DescribeMariadbLogFileRetentionPeriod(ctx context.Context, instanceId string) (logFileRetentionPeriod *mariadb.DescribeLogFileRetentionPeriodResponseParams, errRet error)
func (*MariadbService) DescribeMariadbLogFilesByFilter ¶
func (me *MariadbService) DescribeMariadbLogFilesByFilter(ctx context.Context, param map[string]interface{}) (logFiles *mariadb.DescribeDBLogFilesResponseParams, errRet error)
func (*MariadbService) DescribeMariadbOrdersByFilter ¶
func (*MariadbService) DescribeMariadbParameters ¶
func (me *MariadbService) DescribeMariadbParameters(ctx context.Context, instanceId string) (parameters *mariadb.DescribeDBParametersResponseParams, errRet error)
func (*MariadbService) DescribeMariadbPriceByFilter ¶
func (me *MariadbService) DescribeMariadbPriceByFilter(ctx context.Context, param map[string]interface{}) (price *mariadb.DescribePriceResponseParams, errRet error)
func (*MariadbService) DescribeMariadbProjectSecurityGroupsByFilter ¶
func (me *MariadbService) DescribeMariadbProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*mariadb.SecurityGroup, errRet error)
func (*MariadbService) DescribeMariadbRenewalPriceByFilter ¶
func (me *MariadbService) DescribeMariadbRenewalPriceByFilter(ctx context.Context, param map[string]interface{}) (renewalPrice *mariadb.DescribeRenewalPriceResponseParams, errRet error)
func (*MariadbService) DescribeMariadbSaleInfoByFilter ¶
func (me *MariadbService) DescribeMariadbSaleInfoByFilter(ctx context.Context) (saleInfo []*mariadb.RegionInfo, errRet error)
func (*MariadbService) DescribeMariadbSecurityGroup ¶
func (me *MariadbService) DescribeMariadbSecurityGroup(ctx context.Context, instanceId, securityGroupId, product string) (securityGroup *mariadb.SecurityGroup, errRet error)
func (*MariadbService) DescribeMariadbSecurityGroupsByFilter ¶
func (me *MariadbService) DescribeMariadbSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (securityGroups []*mariadb.SecurityGroup, errRet error)
func (*MariadbService) DescribeMariadbSlowLogsByFilter ¶
func (me *MariadbService) DescribeMariadbSlowLogsByFilter(ctx context.Context, param map[string]interface{}) (slowLogs *mariadb.DescribeDBSlowLogsResponseParams, errRet error)
func (*MariadbService) DescribeMariadbUpgradePriceByFilter ¶
func (me *MariadbService) DescribeMariadbUpgradePriceByFilter(ctx context.Context, param map[string]interface{}) (upgradePrice *mariadb.DescribeUpgradePriceResponseParams, errRet error)
func (*MariadbService) InitDbInstance ¶
func (me *MariadbService) InitDbInstance(ctx context.Context, instanceId string, params []*mariadb.DBParamValue) (initRet bool, errRet error)
func (*MariadbService) IsolateDBInstanceById ¶
func (me *MariadbService) IsolateDBInstanceById(ctx context.Context, instanceId string) (errRet error)
Source Files ¶
- data_source_tc_mariadb_accounts.go
- data_source_tc_mariadb_database_objects.go
- data_source_tc_mariadb_database_table.go
- data_source_tc_mariadb_databases.go
- data_source_tc_mariadb_db_instances.go
- data_source_tc_mariadb_dcn_detail.go
- data_source_tc_mariadb_file_download_url.go
- data_source_tc_mariadb_flow.go
- data_source_tc_mariadb_instance_node_info.go
- data_source_tc_mariadb_instance_specs.go
- data_source_tc_mariadb_log_files.go
- data_source_tc_mariadb_orders.go
- data_source_tc_mariadb_price.go
- data_source_tc_mariadb_project_security_groups.go
- data_source_tc_mariadb_renewal_price.go
- data_source_tc_mariadb_sale_info.go
- data_source_tc_mariadb_security_groups.go
- data_source_tc_mariadb_slow_logs.go
- data_source_tc_mariadb_upgrade_price.go
- extension_mariadb.go
- resource_tc_mariadb_account.go
- resource_tc_mariadb_account_privileges.go
- resource_tc_mariadb_backup_time.go
- resource_tc_mariadb_cancel_dcn_job.go
- resource_tc_mariadb_dedicatedcluster_db_instance.go
- resource_tc_mariadb_encrypt_attributes.go
- resource_tc_mariadb_flush_binlog.go
- resource_tc_mariadb_hour_db_instance.go
- resource_tc_mariadb_instance.go
- resource_tc_mariadb_instance_config.go
- resource_tc_mariadb_log_file_retention_period.go
- resource_tc_mariadb_operate_hour_db_instance.go
- resource_tc_mariadb_parameters.go
- resource_tc_mariadb_renew_instance.go
- resource_tc_mariadb_restart_instance.go
- resource_tc_mariadb_security_groups.go
- resource_tc_mariadb_switch_ha.go
- service_tencentcloud_mariadb.go
Click to show internal directories.
Click to hide internal directories.