Documentation ¶
Index ¶
- Constants
- func DataSourceTencentCloudDcdbAccounts() *schema.Resource
- func DataSourceTencentCloudDcdbDatabaseObjects() *schema.Resource
- func DataSourceTencentCloudDcdbDatabaseTables() *schema.Resource
- func DataSourceTencentCloudDcdbDatabases() *schema.Resource
- func DataSourceTencentCloudDcdbFileDownloadUrl() *schema.Resource
- func DataSourceTencentCloudDcdbInstanceNodeInfo() *schema.Resource
- func DataSourceTencentCloudDcdbInstances() *schema.Resource
- func DataSourceTencentCloudDcdbLogFiles() *schema.Resource
- func DataSourceTencentCloudDcdbOrders() *schema.Resource
- func DataSourceTencentCloudDcdbParameters() *schema.Resource
- func DataSourceTencentCloudDcdbPrice() *schema.Resource
- func DataSourceTencentCloudDcdbProjectSecurityGroups() *schema.Resource
- func DataSourceTencentCloudDcdbProjects() *schema.Resource
- func DataSourceTencentCloudDcdbRenewalPrice() *schema.Resource
- func DataSourceTencentCloudDcdbSaleInfo() *schema.Resource
- func DataSourceTencentCloudDcdbSecurityGroups() *schema.Resource
- func DataSourceTencentCloudDcdbShardSpec() *schema.Resource
- func DataSourceTencentCloudDcdbShards() *schema.Resource
- func DataSourceTencentCloudDcdbSlowLogs() *schema.Resource
- func DataSourceTencentCloudDcdbUpgradePrice() *schema.Resource
- func ResourceTencentCloudDcdbAccount() *schema.Resource
- func ResourceTencentCloudDcdbAccountPrivileges() *schema.Resource
- func ResourceTencentCloudDcdbActivateHourInstanceOperation() *schema.Resource
- func ResourceTencentCloudDcdbCancelDcnJobOperation() *schema.Resource
- func ResourceTencentCloudDcdbDbInstance() *schema.Resource
- func ResourceTencentCloudDcdbDbParameters() *schema.Resource
- func ResourceTencentCloudDcdbDbSyncModeConfig() *schema.Resource
- func ResourceTencentCloudDcdbEncryptAttributesConfig() *schema.Resource
- func ResourceTencentCloudDcdbFlushBinlogOperation() *schema.Resource
- func ResourceTencentCloudDcdbHourdbInstance() *schema.Resource
- func ResourceTencentCloudDcdbInstanceConfig() *schema.Resource
- func ResourceTencentCloudDcdbIsolateHourInstanceOperation() *schema.Resource
- func ResourceTencentCloudDcdbSecurityGroupAttachment() *schema.Resource
- func ResourceTencentCloudDcdbSwitchDbInstanceHaOperation() *schema.Resource
- type DcdbService
- func (me *DcdbService) DcdbAccountRefreshFunc(instanceId string, userName string, failStates []string) resource.StateRefreshFunc
- func (me *DcdbService) DcdbDbInstanceStateRefreshFunc(flowId *int64, failStates []string) resource.StateRefreshFunc
- func (me *DcdbService) DcdbDbSyncModeConfigStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
- func (me *DcdbService) DcdbDcnStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
- func (me *DcdbService) DeleteDcdbAccountById(ctx context.Context, instanceId, userName, host string) (errRet error)
- func (me *DcdbService) DeleteDcdbDbInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *DcdbService) DeleteDcdbDedicatedClusterDbInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *DcdbService) DeleteDcdbHourdbInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *DcdbService) DeleteDcdbSecurityGroupAttachmentById(ctx context.Context, instanceId, securityGroupId string) (errRet error)
- func (me *DcdbService) DescribeDcdbAccount(ctx context.Context, instanceId, userName string) (account *dcdb.DescribeAccountsResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbAccountPrivilegesById(ctx context.Context, ids string, dbName, aType, object, colName *string) (accountPrivileges *dcdb.DescribeAccountPrivilegesResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbAccountsByFilter(ctx context.Context, param map[string]interface{}) (accounts []*dcdb.DBAccount, errRet error)
- func (me *DcdbService) DescribeDcdbDBObjects(ctx context.Context, instanceId string, dbName string) (rets *dcdb.DescribeDatabaseObjectsResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbDBObjectsByFilter(ctx context.Context, param map[string]interface{}) (response *dcdb.DescribeDatabaseObjectsResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbDBTables(ctx context.Context, instanceId string, dbName string, tableName string) (rets *dcdb.DescribeDatabaseTableResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbDBTablesByFilter(ctx context.Context, param map[string]interface{}) (response *dcdb.DescribeDatabaseTableResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbDatabases(ctx context.Context, instanceId string) (rets *dcdb.DescribeDatabasesResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbDatabasesByFilter(ctx context.Context, param map[string]interface{}) (databases []*dcdb.Database, errRet error)
- func (me *DcdbService) DescribeDcdbDbInstance(ctx context.Context, instanceId string) (instances *dcdb.DescribeDCDBInstancesResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbDbInstanceDetailById(ctx context.Context, instanceId string) (dedicatedClusterDbInstance *dcdb.DescribeDCDBInstanceDetailResponseParams, ...)
- func (me *DcdbService) DescribeDcdbDbParametersById(ctx context.Context, instanceId string) (dbParameters *dcdb.DescribeDBParametersResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbDbSyncModeConfigById(ctx context.Context, instanceId string) (dbSyncModeConfig *dcdb.DescribeDBSyncModeResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbEncryptAttributesConfigById(ctx context.Context, instanceId string) (encryptAttributesConfig *dcdb.DescribeDBEncryptAttributesResponseParams, ...)
- func (me *DcdbService) DescribeDcdbFileDownloadUrlByFilter(ctx context.Context, param map[string]interface{}) (fileDownloadUrl *string, errRet error)
- func (me *DcdbService) DescribeDcdbFlowById(ctx context.Context, flowId *int64) (dbInstance *dcdb.DescribeFlowResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbHourdbInstance(ctx context.Context, instanceId string) (hourdbInstance *dcdb.DescribeDCDBInstancesResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbInstanceNodeInfoByFilter(ctx context.Context, param map[string]interface{}) (instanceNodeInfo []*dcdb.BriefNodeInfo, errRet error)
- func (me *DcdbService) DescribeDcdbInstancesByFilter(ctx context.Context, params map[string]interface{}) (instances []*dcdb.DCDBInstanceInfo, errRet error)
- func (me *DcdbService) DescribeDcdbLogFilesByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDBLogFilesResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbOrdersByFilter(ctx context.Context, param map[string]interface{}) (orders []*dcdb.Deal, errRet error)
- func (me *DcdbService) DescribeDcdbParametersByFilter(ctx context.Context, param map[string]interface{}) (parameters []*dcdb.ParamDesc, errRet error)
- func (me *DcdbService) DescribeDcdbPriceByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDCDBPriceResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*dcdb.SecurityGroup, errRet error)
- func (me *DcdbService) DescribeDcdbProjectsByFilter(ctx context.Context) (projects []*dcdb.Project, errRet error)
- func (me *DcdbService) DescribeDcdbRenewalPriceByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDCDBRenewalPriceResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbSaleInfoByFilter(ctx context.Context, param map[string]interface{}) (regionInfo []*dcdb.RegionInfo, errRet error)
- func (me *DcdbService) DescribeDcdbSecurityGroup(ctx context.Context, instanceId string) (securityGroup *dcdb.DescribeDBSecurityGroupsResponseParams, errRet error)
- func (me *DcdbService) DescribeDcdbSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (securityGroups []*dcdb.SecurityGroup, errRet error)
- func (me *DcdbService) DescribeDcdbShardSpecByFilter(ctx context.Context, param map[string]interface{}) (specConfigs []*dcdb.SpecConfig, errRet error)
- func (me *DcdbService) DescribeDcdbShardsByFilter(ctx context.Context, param map[string]interface{}) (shards []*dcdb.DCDBShardInfo, errRet error)
- func (me *DcdbService) DescribeDcdbSlowLogsByFilter(ctx context.Context, param map[string]interface{}) (slowLogs []*dcdb.SlowLogData, ret *dcdb.DescribeDBSlowLogsResponseParams, ...)
- func (me *DcdbService) DescribeDcdbUpgradePriceByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDCDBUpgradePriceResponseParams, errRet error)
- func (me *DcdbService) DescribeDcnDetailById(ctx context.Context, instanceId string) (dcnDetails []*dcdb.DcnDetailItem, errRet error)
- func (me *DcdbService) InitDcdbDbInstance(ctx context.Context, instanceId string, params []*dcdb.DBParamValue) (initRet bool, flowId *uint64, errRet error)
- func (me *DcdbService) SetDcdbExtranetAccess(ctx context.Context, instanceId string, ipv6Flag int, enable bool) (errRet error)
- func (me *DcdbService) SetNetworkVip(ctx context.Context, instanceId, vpcId, subnetId, vip, vipv6 string) (errRet error)
- func (me *DcdbService) SetRealServerAccessStrategy(ctx context.Context, instanceId string, rsAccessStrategy int) (errRet error)
Constants ¶
View Source
const ( DCDB_WAN_STATUS_UNOPEN = 0 DCDB_WAN_STATUS_OPENED = 1 DCDB_WAN_STATUS_CLOSED = 2 DCDB_WAN_STATUS_OPENING = 3 )
View Source
const ( DCDB_DCN_FLAG_MASTER = 1 DCDB_DCN_FLAG_SLAVE = 2 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DcdbService ¶
type DcdbService struct {
// contains filtered or unexported fields
}
func NewDcdbService ¶
func NewDcdbService(client *connectivity.TencentCloudClient) DcdbService
func (*DcdbService) DcdbAccountRefreshFunc ¶
func (me *DcdbService) DcdbAccountRefreshFunc(instanceId string, userName string, failStates []string) resource.StateRefreshFunc
func (*DcdbService) DcdbDbInstanceStateRefreshFunc ¶
func (me *DcdbService) DcdbDbInstanceStateRefreshFunc(flowId *int64, failStates []string) resource.StateRefreshFunc
func (*DcdbService) DcdbDbSyncModeConfigStateRefreshFunc ¶
func (me *DcdbService) DcdbDbSyncModeConfigStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
func (*DcdbService) DcdbDcnStateRefreshFunc ¶
func (me *DcdbService) DcdbDcnStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
func (*DcdbService) DeleteDcdbAccountById ¶
func (me *DcdbService) DeleteDcdbAccountById(ctx context.Context, instanceId, userName, host string) (errRet error)
func (*DcdbService) DeleteDcdbDbInstanceById ¶
func (me *DcdbService) DeleteDcdbDbInstanceById(ctx context.Context, instanceId string) (errRet error)
tencentcloud_dcdb_db_instance
func (*DcdbService) DeleteDcdbDedicatedClusterDbInstanceById ¶
func (me *DcdbService) DeleteDcdbDedicatedClusterDbInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*DcdbService) DeleteDcdbHourdbInstanceById ¶
func (me *DcdbService) DeleteDcdbHourdbInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*DcdbService) DeleteDcdbSecurityGroupAttachmentById ¶
func (me *DcdbService) DeleteDcdbSecurityGroupAttachmentById(ctx context.Context, instanceId, securityGroupId string) (errRet error)
func (*DcdbService) DescribeDcdbAccount ¶
func (me *DcdbService) DescribeDcdbAccount(ctx context.Context, instanceId, userName string) (account *dcdb.DescribeAccountsResponseParams, errRet error)
dc_account
func (*DcdbService) DescribeDcdbAccountPrivilegesById ¶
func (me *DcdbService) DescribeDcdbAccountPrivilegesById(ctx context.Context, ids string, dbName, aType, object, colName *string) (accountPrivileges *dcdb.DescribeAccountPrivilegesResponseParams, errRet error)
tencentcloud_dcdb_account_privileges
func (*DcdbService) DescribeDcdbAccountsByFilter ¶
func (me *DcdbService) DescribeDcdbAccountsByFilter(ctx context.Context, param map[string]interface{}) (accounts []*dcdb.DBAccount, errRet error)
tencentcloud_dcdb_accounts
func (*DcdbService) DescribeDcdbDBObjects ¶
func (me *DcdbService) DescribeDcdbDBObjects(ctx context.Context, instanceId string, dbName string) (rets *dcdb.DescribeDatabaseObjectsResponseParams, errRet error)
func (*DcdbService) DescribeDcdbDBObjectsByFilter ¶
func (me *DcdbService) DescribeDcdbDBObjectsByFilter(ctx context.Context, param map[string]interface{}) (response *dcdb.DescribeDatabaseObjectsResponseParams, errRet error)
tencentcloud_dcdb_database_objects
func (*DcdbService) DescribeDcdbDBTables ¶
func (me *DcdbService) DescribeDcdbDBTables(ctx context.Context, instanceId string, dbName string, tableName string) (rets *dcdb.DescribeDatabaseTableResponseParams, errRet error)
func (*DcdbService) DescribeDcdbDBTablesByFilter ¶
func (me *DcdbService) DescribeDcdbDBTablesByFilter(ctx context.Context, param map[string]interface{}) (response *dcdb.DescribeDatabaseTableResponseParams, errRet error)
tencentcloud_dcdb_database_tables
func (*DcdbService) DescribeDcdbDatabases ¶
func (me *DcdbService) DescribeDcdbDatabases(ctx context.Context, instanceId string) (rets *dcdb.DescribeDatabasesResponseParams, errRet error)
func (*DcdbService) DescribeDcdbDatabasesByFilter ¶
func (me *DcdbService) DescribeDcdbDatabasesByFilter(ctx context.Context, param map[string]interface{}) (databases []*dcdb.Database, errRet error)
tencentcloud_dcdb_databases
func (*DcdbService) DescribeDcdbDbInstance ¶
func (me *DcdbService) DescribeDcdbDbInstance(ctx context.Context, instanceId string) (instances *dcdb.DescribeDCDBInstancesResponseParams, errRet error)
dc_db_instance
func (*DcdbService) DescribeDcdbDbInstanceDetailById ¶
func (me *DcdbService) DescribeDcdbDbInstanceDetailById(ctx context.Context, instanceId string) (dedicatedClusterDbInstance *dcdb.DescribeDCDBInstanceDetailResponseParams, errRet error)
func (*DcdbService) DescribeDcdbDbParametersById ¶
func (me *DcdbService) DescribeDcdbDbParametersById(ctx context.Context, instanceId string) (dbParameters *dcdb.DescribeDBParametersResponseParams, errRet error)
tencentcloud_dcdb_db_parameters
func (*DcdbService) DescribeDcdbDbSyncModeConfigById ¶
func (me *DcdbService) DescribeDcdbDbSyncModeConfigById(ctx context.Context, instanceId string) (dbSyncModeConfig *dcdb.DescribeDBSyncModeResponseParams, errRet error)
func (*DcdbService) DescribeDcdbEncryptAttributesConfigById ¶
func (me *DcdbService) DescribeDcdbEncryptAttributesConfigById(ctx context.Context, instanceId string) (encryptAttributesConfig *dcdb.DescribeDBEncryptAttributesResponseParams, errRet error)
func (*DcdbService) DescribeDcdbFileDownloadUrlByFilter ¶
func (*DcdbService) DescribeDcdbFlowById ¶
func (me *DcdbService) DescribeDcdbFlowById(ctx context.Context, flowId *int64) (dbInstance *dcdb.DescribeFlowResponseParams, errRet error)
func (*DcdbService) DescribeDcdbHourdbInstance ¶
func (me *DcdbService) DescribeDcdbHourdbInstance(ctx context.Context, instanceId string) (hourdbInstance *dcdb.DescribeDCDBInstancesResponseParams, errRet error)
dc_hourdb_instance
func (*DcdbService) DescribeDcdbInstanceNodeInfoByFilter ¶
func (me *DcdbService) DescribeDcdbInstanceNodeInfoByFilter(ctx context.Context, param map[string]interface{}) (instanceNodeInfo []*dcdb.BriefNodeInfo, errRet error)
func (*DcdbService) DescribeDcdbInstancesByFilter ¶
func (me *DcdbService) DescribeDcdbInstancesByFilter(ctx context.Context, params map[string]interface{}) (instances []*dcdb.DCDBInstanceInfo, errRet error)
for data_source tencentcloud_dcdb_instances
func (*DcdbService) DescribeDcdbLogFilesByFilter ¶
func (me *DcdbService) DescribeDcdbLogFilesByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDBLogFilesResponseParams, errRet error)
func (*DcdbService) DescribeDcdbOrdersByFilter ¶
func (*DcdbService) DescribeDcdbParametersByFilter ¶
func (me *DcdbService) DescribeDcdbParametersByFilter(ctx context.Context, param map[string]interface{}) (parameters []*dcdb.ParamDesc, errRet error)
tencentcloud_dcdb_parameters
func (*DcdbService) DescribeDcdbPriceByFilter ¶
func (me *DcdbService) DescribeDcdbPriceByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDCDBPriceResponseParams, errRet error)
func (*DcdbService) DescribeDcdbProjectSecurityGroupsByFilter ¶
func (me *DcdbService) DescribeDcdbProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*dcdb.SecurityGroup, errRet error)
func (*DcdbService) DescribeDcdbProjectsByFilter ¶
func (*DcdbService) DescribeDcdbRenewalPriceByFilter ¶
func (me *DcdbService) DescribeDcdbRenewalPriceByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDCDBRenewalPriceResponseParams, errRet error)
func (*DcdbService) DescribeDcdbSaleInfoByFilter ¶
func (me *DcdbService) DescribeDcdbSaleInfoByFilter(ctx context.Context, param map[string]interface{}) (regionInfo []*dcdb.RegionInfo, errRet error)
func (*DcdbService) DescribeDcdbSecurityGroup ¶
func (me *DcdbService) DescribeDcdbSecurityGroup(ctx context.Context, instanceId string) (securityGroup *dcdb.DescribeDBSecurityGroupsResponseParams, errRet error)
dc_sg
func (*DcdbService) DescribeDcdbSecurityGroupsByFilter ¶
func (me *DcdbService) DescribeDcdbSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (securityGroups []*dcdb.SecurityGroup, errRet error)
tencentcloud_dcdb_security_groups
func (*DcdbService) DescribeDcdbShardSpecByFilter ¶
func (me *DcdbService) DescribeDcdbShardSpecByFilter(ctx context.Context, param map[string]interface{}) (specConfigs []*dcdb.SpecConfig, errRet error)
func (*DcdbService) DescribeDcdbShardsByFilter ¶
func (me *DcdbService) DescribeDcdbShardsByFilter(ctx context.Context, param map[string]interface{}) (shards []*dcdb.DCDBShardInfo, errRet error)
tencentcloud_dcdb_shards
func (*DcdbService) DescribeDcdbSlowLogsByFilter ¶
func (me *DcdbService) DescribeDcdbSlowLogsByFilter(ctx context.Context, param map[string]interface{}) (slowLogs []*dcdb.SlowLogData, ret *dcdb.DescribeDBSlowLogsResponseParams, errRet error)
func (*DcdbService) DescribeDcdbUpgradePriceByFilter ¶
func (me *DcdbService) DescribeDcdbUpgradePriceByFilter(ctx context.Context, param map[string]interface{}) (ret *dcdb.DescribeDCDBUpgradePriceResponseParams, errRet error)
func (*DcdbService) DescribeDcnDetailById ¶
func (me *DcdbService) DescribeDcnDetailById(ctx context.Context, instanceId string) (dcnDetails []*dcdb.DcnDetailItem, errRet error)
func (*DcdbService) InitDcdbDbInstance ¶
func (me *DcdbService) InitDcdbDbInstance(ctx context.Context, instanceId string, params []*dcdb.DBParamValue) (initRet bool, flowId *uint64, errRet error)
func (*DcdbService) SetDcdbExtranetAccess ¶
func (*DcdbService) SetNetworkVip ¶
func (me *DcdbService) SetNetworkVip(ctx context.Context, instanceId, vpcId, subnetId, vip, vipv6 string) (errRet error)
func (*DcdbService) SetRealServerAccessStrategy ¶
Source Files ¶
- data_source_tc_dcdb_accounts.go
- data_source_tc_dcdb_database_objects.go
- data_source_tc_dcdb_database_tables.go
- data_source_tc_dcdb_databases.go
- data_source_tc_dcdb_file_download_url.go
- data_source_tc_dcdb_instance_node_info.go
- data_source_tc_dcdb_instances.go
- data_source_tc_dcdb_log_files.go
- data_source_tc_dcdb_orders.go
- data_source_tc_dcdb_parameters.go
- data_source_tc_dcdb_price.go
- data_source_tc_dcdb_project_security_groups.go
- data_source_tc_dcdb_projects.go
- data_source_tc_dcdb_renewal_price.go
- data_source_tc_dcdb_sale_info.go
- data_source_tc_dcdb_security_groups.go
- data_source_tc_dcdb_shard_spec.go
- data_source_tc_dcdb_shards.go
- data_source_tc_dcdb_slow_logs.go
- data_source_tc_dcdb_upgrade_price.go
- extension_dcdb.go
- resource_tc_dcdb_account.go
- resource_tc_dcdb_account_privileges.go
- resource_tc_dcdb_activate_hour_instance_operation.go
- resource_tc_dcdb_cancel_dcn_job_operation.go
- resource_tc_dcdb_db_instance.go
- resource_tc_dcdb_db_parameters.go
- resource_tc_dcdb_db_sync_mode_config.go
- resource_tc_dcdb_encrypt_attributes_config.go
- resource_tc_dcdb_flush_binlog_operation.go
- resource_tc_dcdb_hourdb_instance.go
- resource_tc_dcdb_instance_config.go
- resource_tc_dcdb_isolate_hour_instance_operation.go
- resource_tc_dcdb_security_group_attachment.go
- resource_tc_dcdb_switch_db_instance_ha_operation.go
- service_tencentcloud_dcdb.go
Click to show internal directories.
Click to hide internal directories.