Documentation ¶
Overview ¶
Code generated by iacg; DO NOT EDIT.
Index ¶
- Constants
- Variables
- func DataSourceTencentCloudPostgresqlAccountPrivileges() *schema.Resource
- func DataSourceTencentCloudPostgresqlBackupDownloadUrls() *schema.Resource
- func DataSourceTencentCloudPostgresqlBaseBackups() *schema.Resource
- func DataSourceTencentCloudPostgresqlDbInstanceClasses() *schema.Resource
- func DataSourceTencentCloudPostgresqlDbInstanceVersions() *schema.Resource
- func DataSourceTencentCloudPostgresqlDedicatedClusters() *schema.Resource
- func DataSourceTencentCloudPostgresqlDefaultParameters() *schema.Resource
- func DataSourceTencentCloudPostgresqlInstances() *schema.Resource
- func DataSourceTencentCloudPostgresqlLogBackups() *schema.Resource
- func DataSourceTencentCloudPostgresqlParameterTemplates() *schema.Resource
- func DataSourceTencentCloudPostgresqlReadonlyGroups() *schema.Resource
- func DataSourceTencentCloudPostgresqlRecoveryTime() *schema.Resource
- func DataSourceTencentCloudPostgresqlRegions() *schema.Resource
- func DataSourceTencentCloudPostgresqlSpecinfos() *schema.Resource
- func DataSourceTencentCloudPostgresqlXlogs() *schema.Resource
- func DataSourceTencentCloudPostgresqlZones() *schema.Resource
- func ResourceTencentCloudPostgresqlAccount() *schema.Resource
- func ResourceTencentCloudPostgresqlAccountPrivilegesOperation() *schema.Resource
- func ResourceTencentCloudPostgresqlBackupDownloadRestrictionConfig() *schema.Resource
- func ResourceTencentCloudPostgresqlBackupPlanConfig() *schema.Resource
- func ResourceTencentCloudPostgresqlBaseBackup() *schema.Resource
- func ResourceTencentCloudPostgresqlDeleteLogBackupOperation() *schema.Resource
- func ResourceTencentCloudPostgresqlDisisolateDbInstanceOperation() *schema.Resource
- func ResourceTencentCloudPostgresqlInstance() *schema.Resource
- func ResourceTencentCloudPostgresqlInstanceHAConfig() *schema.Resource
- func ResourceTencentCloudPostgresqlIsolateDbInstanceOperation() *schema.Resource
- func ResourceTencentCloudPostgresqlModifyAccountRemarkOperation() *schema.Resource
- func ResourceTencentCloudPostgresqlModifySwitchTimePeriodOperation() *schema.Resource
- func ResourceTencentCloudPostgresqlParameterTemplate() *schema.Resource
- func ResourceTencentCloudPostgresqlReadonlyAttachment() *schema.Resource
- func ResourceTencentCloudPostgresqlReadonlyGroup() *schema.Resource
- func ResourceTencentCloudPostgresqlReadonlyInstance() *schema.Resource
- func ResourceTencentCloudPostgresqlRebalanceReadonlyGroupOperation() *schema.Resource
- func ResourceTencentCloudPostgresqlRenewDbInstanceOperation() *schema.Resource
- func ResourceTencentCloudPostgresqlRestartDbInstanceOperation() *schema.Resource
- func ResourceTencentCloudPostgresqlSecurityGroupConfig() *schema.Resource
- type PostgresqlService
- func (me *PostgresqlService) CheckDBInstanceStatus(ctx context.Context, instanceId string, retryMinutes ...int) error
- func (me *PostgresqlService) CreatePostgresqlInstance(ctx context.Context, ...) (instanceId string, errRet error)
- func (me *PostgresqlService) DeletePostgresqlAccountById(ctx context.Context, dBInstanceId string, userName string) (errRet error)
- func (me *PostgresqlService) DeletePostgresqlBaseBackupById(ctx context.Context, dBInstanceId string, baseBackupId string) (errRet error)
- func (me *PostgresqlService) DeletePostgresqlDBInstanceNetworkAccessById(ctx context.Context, dBInstanceId, vpcId, subnetId, vip string) (errRet error)
- func (me *PostgresqlService) DeletePostgresqlInstance(ctx context.Context, instanceId string) (errRet error)
- func (me *PostgresqlService) DeletePostgresqlParameterTemplateById(ctx context.Context, templateId string) (errRet error)
- func (me *PostgresqlService) DeletePostgresqlReadOnlyGroupById(ctx context.Context, groupId string) (errRet error)
- func (me *PostgresqlService) DeletePostgresqlReadonlyGroupNetworkAccessById(ctx context.Context, readOnlyGroupId, vpcId, subnetId, vip string) (errRet error)
- func (me *PostgresqlService) DescribeBackupPlans(ctx context.Context, request *postgresql.DescribeBackupPlansRequest) (result []*postgresql.BackupPlan, errRet error)
- func (me *PostgresqlService) DescribeDBEncryptionKeys(ctx context.Context, request *postgresql.DescribeEncryptionKeysRequest) (has bool, key *postgresql.EncryptionKey, errRet error)
- func (me *PostgresqlService) DescribeDBInstanceAttribute(ctx context.Context, request *postgresql.DescribeDBInstanceAttributeRequest) (ins *postgresql.DBInstance, errRet error)
- func (me *PostgresqlService) DescribeDBInstanceSecurityGroupsByGroupId(ctx context.Context, readOnlyGroupId string) (sg []string, errRet error)
- func (me *PostgresqlService) DescribeDBInstanceSecurityGroupsById(ctx context.Context, instanceId string) (sg []string, errRet error)
- func (me *PostgresqlService) DescribeDBXlogs(ctx context.Context, request *postgresql.DescribeDBXlogsRequest) (xlogs []*postgresql.Xlog, errRet error)
- func (me *PostgresqlService) DescribeOrders(ctx context.Context, dealIds []*string) (deals []*postgresql.PgDeal, errRet error)
- func (me *PostgresqlService) DescribePgParams(ctx context.Context, instanceId string) (params map[string]string, err error)
- func (me *PostgresqlService) DescribePostgresAccountPrivilegesById(ctx context.Context, dBInstanceId string, userName string) (accountPrivileges []*postgresql.DatabasePrivilege, errRet error)
- func (me *PostgresqlService) DescribePostgresqlAccountById(ctx context.Context, dBInstanceId string, userName string) (account *postgresql.AccountInfo, errRet error)
- func (me *PostgresqlService) DescribePostgresqlBackupDownloadRestrictionConfigById(ctx context.Context, restrictionType string) (...)
- func (me *PostgresqlService) DescribePostgresqlBackupDownloadUrlsByFilter(ctx context.Context, param map[string]interface{}) (BackupDownloadUrl *string, errRet error)
- func (me *PostgresqlService) DescribePostgresqlBackupPlanConfigById(ctx context.Context, dBInstanceId string) (BackupPlanConfig *postgresql.BackupPlan, errRet error)
- func (me *PostgresqlService) DescribePostgresqlBaseBackupById(ctx context.Context, baseBackupId string) (BaseBackup *postgresql.BaseBackup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlBaseBackupsByFilter(ctx context.Context, param map[string]interface{}) (BaseBackups []*postgresql.BaseBackup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlDBInstanceNetInfosById(ctx context.Context, dBInstanceId string) (netInfos []*postgresql.DBInstanceNetInfo, errRet error)
- func (me *PostgresqlService) DescribePostgresqlDbInstanceClassesByFilter(ctx context.Context, param map[string]interface{}) (DbInstanceClasses []*postgresql.ClassInfo, errRet error)
- func (me *PostgresqlService) DescribePostgresqlDbInstanceVersionsByFilter(ctx context.Context) (DbInstanceVersions []*postgresql.Version, errRet error)
- func (me *PostgresqlService) DescribePostgresqlDedicatedClustersByFilter(ctx context.Context, param map[string]interface{}) (ret []*postgresql.DedicatedCluster, errRet error)
- func (me *PostgresqlService) DescribePostgresqlDefaultParametersByFilter(ctx context.Context, param map[string]interface{}) (DefaultParameters []*postgresql.ParamInfo, errRet error)
- func (me *PostgresqlService) DescribePostgresqlInstanceById(ctx context.Context, instanceId string) (instance *postgresql.DBInstance, has bool, errRet error)
- func (me *PostgresqlService) DescribePostgresqlInstanceHAConfigById(ctx context.Context, instanceId string) (haConfig *postgresql.DescribeDBInstanceHAConfigResponseParams, errRet error)
- func (me *PostgresqlService) DescribePostgresqlInstances(ctx context.Context, filter []*postgresql.Filter) (instanceList []*postgresql.DBInstance, errRet error)
- func (me *PostgresqlService) DescribePostgresqlLogBackupsByFilter(ctx context.Context, param map[string]interface{}) (LogBackups []*postgresql.LogBackup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlParameterTemplateById(ctx context.Context, templateId string) (...)
- func (me *PostgresqlService) DescribePostgresqlParameterTemplatesByFilter(ctx context.Context, param map[string]interface{}) (ParameterTemplates []*postgresql.ParameterTemplate, errRet error)
- func (me *PostgresqlService) DescribePostgresqlReadOnlyGroupById(ctx context.Context, dbInstanceId string) (instanceList []*postgresql.ReadOnlyGroup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlReadonlyGroupNetInfosById(ctx context.Context, dbInstanceId, roGroupId string) (netInfos []*postgresql.DBInstanceNetInfo, errRet error)
- func (me *PostgresqlService) DescribePostgresqlReadonlyGroups(ctx context.Context, filter []*postgresql.Filter) (instanceList []*postgresql.ReadOnlyGroup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlReadonlyGroupsByFilter(ctx context.Context, param map[string]interface{}) (ReadOnlyGroups []*postgresql.ReadOnlyGroup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlReadonlyGroupsById(ctx context.Context, roGroupId string) (readOnlyGroup *postgresql.ReadOnlyGroup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlRecoveryTimeByFilter(ctx context.Context, param map[string]interface{}) (ret *postgresql.DescribeAvailableRecoveryTimeResponseParams, errRet error)
- func (me *PostgresqlService) DescribePostgresqlRegionsByFilter(ctx context.Context) (Regions []*postgresql.RegionInfo, errRet error)
- func (me *PostgresqlService) DescribePostgresqlSecurityGroupConfigById(ctx context.Context, dBInstanceId string, readOnlyGroupId string) (SecurityGroupConfigs []*postgresql.SecurityGroup, errRet error)
- func (me *PostgresqlService) DescribePostgresqlZonesByFilter(ctx context.Context) (Zones []*postgresql.ZoneInfo, errRet error)
- func (me *PostgresqlService) DescribeReadOnlyGroupsById(ctx context.Context, masterDBInstanceId string, instanceId string) (readOnlyGroupId *string, errRet error)
- func (me *PostgresqlService) DescribeRootUser(ctx context.Context, instanceId string) (accounts []*postgresql.AccountInfo, errRet error)
- func (me *PostgresqlService) DescribeSpecinfos(ctx context.Context, zone string) (specCodeList []*postgresql.SpecItemInfo, errRet error)
- func (me *PostgresqlService) InitPostgresqlInstance(ctx context.Context, instanceId string, username string, password string, ...) (errRet error)
- func (me *PostgresqlService) IsolatePostgresqlInstance(ctx context.Context, instanceId string) (errRet error)
- func (me *PostgresqlService) ModifyBackupPlan(ctx context.Context, request *postgresql.ModifyBackupPlanRequest) (errRet error)
- func (me *PostgresqlService) ModifyDBInstanceDeployment(ctx context.Context, request *postgresql.ModifyDBInstanceDeploymentRequest) (errRet error)
- func (me *PostgresqlService) ModifyDBInstanceSecurityGroupsByGroupId(ctx context.Context, readOnlyGroupId string, securityGroupIds []*string) (errRet error)
- func (me *PostgresqlService) ModifyDBInstanceSecurityGroupsById(ctx context.Context, instanceId string, securityGroupIds []*string) (errRet error)
- func (me *PostgresqlService) ModifyPgParams(ctx context.Context, instanceId string, paramEntrys map[string]string) (err error)
- func (me *PostgresqlService) ModifyPostgresqlInstanceName(ctx context.Context, instanceId string, name string) (errRet error)
- func (me *PostgresqlService) ModifyPostgresqlInstanceProjectId(ctx context.Context, instanceId string, projectId int) (errRet error)
- func (me *PostgresqlService) ModifyPublicService(ctx context.Context, openInternet bool, instanceId string) (errRet error)
- func (me *PostgresqlService) PostgresqlDBInstanceNetworkAccessStateRefreshFunc(dBInstanceId, vpcId, subnetId, oldVip, newVip string, failStates []string) resource.StateRefreshFunc
- func (me *PostgresqlService) PostgresqlDBInstanceStateRefreshFunc(dbInstanceId string, failStates []string) resource.StateRefreshFunc
- func (me *PostgresqlService) PostgresqlDbInstanceOperationStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
- func (me *PostgresqlService) PostgresqlReadonlyGroupNetworkAccessStateRefreshFunc(dbInstanceId, roGroupId, vpcId, subnetId, oldVip, newVip string, ...) resource.StateRefreshFunc
- func (me *PostgresqlService) PostgresqlReadonlyGroupStateRefreshFunc(dbInstanceId, roGroupId string, failStates []string) resource.StateRefreshFunc
- func (me *PostgresqlService) PostgresqlUpgradeKernelVersionRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
- func (me *PostgresqlService) SetPostgresqlInstanceAutoRenewFlag(ctx context.Context, instanceId string, autoRenewFlag int) (errRet error)
- func (me *PostgresqlService) SetPostgresqlInstanceRootPassword(ctx context.Context, instanceId string, user string, password string) (errRet error)
- func (me *PostgresqlService) UpgradePostgresqlInstance(ctx context.Context, instanceId string, memory int, storage int, cpu int) (errRet error)
Constants ¶
View Source
const ( POSTGRESQL_PAYTYPE_PREPAID = "prepaid" POSTGRESQL_PAYTYPE_POSTPAID = "postpaid" )
View Source
const ( COMMON_PAYTYPE_PREPAID = "PREPAID" COMMON_PAYTYPE_POSTPAID = "POSTPAID_BY_HOUR" )
View Source
const ( POSTGRESQL_DB_VERSION_9_3_5 = "9.3.5" POSTGRESQL_DB_VERSION_9_5_4 = "9.5.4" POSTGRESQL_DB_VERSION_10_4 = "10.4" )
View Source
const ( POSTGRESQL_KERNEL_UPGRADE_IMMEDIATELY = 0 POSTGRESQL_KERNEL_UPGRADE_SPECIFIED_TIME = 1 POSTGRESQL_KERNEL_UPGRADE_MAINTAIN_WINDOW = 2 )
View Source
const ( POSTGRESQL_DB_CHARSET_UTF8 = "UTF8" POSTGRESQL_DB_CHARSET_LATIN1 = "LATIN1" )
View Source
const ( POSTGRESQL_STAUTS_RUNNING = "running" POSTGRESQL_STAUTS_ISOLATED = "isolated" )
View Source
const ( SYNC_MODE_SEMI = "Semi-sync" SYNC_MODE_ASYNC = "Async" )
Variables ¶
View Source
var POSTGRESQL_DB_CHARSET = []string{POSTGRESQL_DB_CHARSET_UTF8, POSTGRESQL_DB_CHARSET_LATIN1}
View Source
var POSTGRESQL_PAYTYPE = []string{COMMON_PAYTYPE_POSTPAID}
View Source
var POSTGRESQL_RETRYABLE_STATUS = []string{
"initing",
"expanding",
"switching",
"deployment changing",
}
View Source
var POSTSQL_DB_VERSION = []string{POSTGRESQL_DB_VERSION_9_3_5, POSTGRESQL_DB_VERSION_9_5_4, POSTGRESQL_DB_VERSION_10_4}
View Source
var SYNC_MODE = []string{ SYNC_MODE_SEMI, SYNC_MODE_ASYNC, }
Functions ¶
func DataSourceTencentCloudPostgresqlAccountPrivileges ¶ added in v1.81.120
func DataSourceTencentCloudPostgresqlDedicatedClusters ¶ added in v1.81.126
func ResourceTencentCloudPostgresqlAccount ¶ added in v1.81.120
func ResourceTencentCloudPostgresqlAccountPrivilegesOperation ¶ added in v1.81.120
Types ¶
type PostgresqlService ¶
type PostgresqlService struct {
// contains filtered or unexported fields
}
func NewPostgresqlService ¶
func NewPostgresqlService(client *connectivity.TencentCloudClient) PostgresqlService
func (*PostgresqlService) CheckDBInstanceStatus ¶
func (*PostgresqlService) CreatePostgresqlInstance ¶
func (me *PostgresqlService) CreatePostgresqlInstance( ctx context.Context, name, dbVersion, dbMajorVersion, dbKernelVersion, chargeType, specCode string, autoRenewFlag, projectId, period int, subnetId, vpcId, zone string, securityGroups []string, storage int, username, password, charset string, dbNodeSet []*postgresql.DBNode, needSupportTde int, kmsKeyId, kmsRegion string, autoVoucher int, voucherIds []*string, ) (instanceId string, errRet error)
func (*PostgresqlService) DeletePostgresqlAccountById ¶ added in v1.81.120
func (*PostgresqlService) DeletePostgresqlBaseBackupById ¶
func (*PostgresqlService) DeletePostgresqlDBInstanceNetworkAccessById ¶
func (me *PostgresqlService) DeletePostgresqlDBInstanceNetworkAccessById(ctx context.Context, dBInstanceId, vpcId, subnetId, vip string) (errRet error)
func (*PostgresqlService) DeletePostgresqlInstance ¶
func (me *PostgresqlService) DeletePostgresqlInstance(ctx context.Context, instanceId string) (errRet error)
func (*PostgresqlService) DeletePostgresqlParameterTemplateById ¶
func (me *PostgresqlService) DeletePostgresqlParameterTemplateById(ctx context.Context, templateId string) (errRet error)
func (*PostgresqlService) DeletePostgresqlReadOnlyGroupById ¶
func (me *PostgresqlService) DeletePostgresqlReadOnlyGroupById(ctx context.Context, groupId string) (errRet error)
func (*PostgresqlService) DeletePostgresqlReadonlyGroupNetworkAccessById ¶
func (me *PostgresqlService) DeletePostgresqlReadonlyGroupNetworkAccessById(ctx context.Context, readOnlyGroupId, vpcId, subnetId, vip string) (errRet error)
func (*PostgresqlService) DescribeBackupPlans ¶
func (me *PostgresqlService) DescribeBackupPlans(ctx context.Context, request *postgresql.DescribeBackupPlansRequest) (result []*postgresql.BackupPlan, errRet error)
func (*PostgresqlService) DescribeDBEncryptionKeys ¶
func (me *PostgresqlService) DescribeDBEncryptionKeys(ctx context.Context, request *postgresql.DescribeEncryptionKeysRequest) (has bool, key *postgresql.EncryptionKey, errRet error)
func (*PostgresqlService) DescribeDBInstanceAttribute ¶
func (me *PostgresqlService) DescribeDBInstanceAttribute(ctx context.Context, request *postgresql.DescribeDBInstanceAttributeRequest) (ins *postgresql.DBInstance, errRet error)
func (*PostgresqlService) DescribeDBInstanceSecurityGroupsByGroupId ¶ added in v1.81.107
func (*PostgresqlService) DescribeDBInstanceSecurityGroupsById ¶ added in v1.81.104
func (*PostgresqlService) DescribeDBXlogs ¶
func (me *PostgresqlService) DescribeDBXlogs(ctx context.Context, request *postgresql.DescribeDBXlogsRequest) (xlogs []*postgresql.Xlog, errRet error)
func (*PostgresqlService) DescribeOrders ¶
func (me *PostgresqlService) DescribeOrders(ctx context.Context, dealIds []*string) (deals []*postgresql.PgDeal, errRet error)
func (*PostgresqlService) DescribePgParams ¶
func (*PostgresqlService) DescribePostgresAccountPrivilegesById ¶ added in v1.81.120
func (me *PostgresqlService) DescribePostgresAccountPrivilegesById(ctx context.Context, dBInstanceId string, userName string) (accountPrivileges []*postgresql.DatabasePrivilege, errRet error)
func (*PostgresqlService) DescribePostgresqlAccountById ¶ added in v1.81.120
func (me *PostgresqlService) DescribePostgresqlAccountById(ctx context.Context, dBInstanceId string, userName string) (account *postgresql.AccountInfo, errRet error)
func (*PostgresqlService) DescribePostgresqlBackupDownloadRestrictionConfigById ¶
func (me *PostgresqlService) DescribePostgresqlBackupDownloadRestrictionConfigById(ctx context.Context, restrictionType string) (BackupDownloadRestrictionConfig *postgresql.DescribeBackupDownloadRestrictionResponseParams, errRet error)
func (*PostgresqlService) DescribePostgresqlBackupDownloadUrlsByFilter ¶
func (*PostgresqlService) DescribePostgresqlBackupPlanConfigById ¶
func (me *PostgresqlService) DescribePostgresqlBackupPlanConfigById(ctx context.Context, dBInstanceId string) (BackupPlanConfig *postgresql.BackupPlan, errRet error)
func (*PostgresqlService) DescribePostgresqlBaseBackupById ¶
func (me *PostgresqlService) DescribePostgresqlBaseBackupById(ctx context.Context, baseBackupId string) (BaseBackup *postgresql.BaseBackup, errRet error)
func (*PostgresqlService) DescribePostgresqlBaseBackupsByFilter ¶
func (me *PostgresqlService) DescribePostgresqlBaseBackupsByFilter(ctx context.Context, param map[string]interface{}) (BaseBackups []*postgresql.BaseBackup, errRet error)
func (*PostgresqlService) DescribePostgresqlDBInstanceNetInfosById ¶
func (me *PostgresqlService) DescribePostgresqlDBInstanceNetInfosById(ctx context.Context, dBInstanceId string) (netInfos []*postgresql.DBInstanceNetInfo, errRet error)
func (*PostgresqlService) DescribePostgresqlDbInstanceClassesByFilter ¶
func (me *PostgresqlService) DescribePostgresqlDbInstanceClassesByFilter(ctx context.Context, param map[string]interface{}) (DbInstanceClasses []*postgresql.ClassInfo, errRet error)
func (*PostgresqlService) DescribePostgresqlDbInstanceVersionsByFilter ¶
func (me *PostgresqlService) DescribePostgresqlDbInstanceVersionsByFilter(ctx context.Context) (DbInstanceVersions []*postgresql.Version, errRet error)
func (*PostgresqlService) DescribePostgresqlDedicatedClustersByFilter ¶ added in v1.81.126
func (me *PostgresqlService) DescribePostgresqlDedicatedClustersByFilter(ctx context.Context, param map[string]interface{}) (ret []*postgresql.DedicatedCluster, errRet error)
func (*PostgresqlService) DescribePostgresqlDefaultParametersByFilter ¶
func (me *PostgresqlService) DescribePostgresqlDefaultParametersByFilter(ctx context.Context, param map[string]interface{}) (DefaultParameters []*postgresql.ParamInfo, errRet error)
func (*PostgresqlService) DescribePostgresqlInstanceById ¶
func (me *PostgresqlService) DescribePostgresqlInstanceById(ctx context.Context, instanceId string) (instance *postgresql.DBInstance, has bool, errRet error)
func (*PostgresqlService) DescribePostgresqlInstanceHAConfigById ¶
func (me *PostgresqlService) DescribePostgresqlInstanceHAConfigById(ctx context.Context, instanceId string) (haConfig *postgresql.DescribeDBInstanceHAConfigResponseParams, errRet error)
func (*PostgresqlService) DescribePostgresqlInstances ¶
func (me *PostgresqlService) DescribePostgresqlInstances(ctx context.Context, filter []*postgresql.Filter) (instanceList []*postgresql.DBInstance, errRet error)
func (*PostgresqlService) DescribePostgresqlLogBackupsByFilter ¶
func (me *PostgresqlService) DescribePostgresqlLogBackupsByFilter(ctx context.Context, param map[string]interface{}) (LogBackups []*postgresql.LogBackup, errRet error)
func (*PostgresqlService) DescribePostgresqlParameterTemplateById ¶
func (me *PostgresqlService) DescribePostgresqlParameterTemplateById(ctx context.Context, templateId string) (ParameterTemplate *postgresql.DescribeParameterTemplateAttributesResponseParams, errRet error)
func (*PostgresqlService) DescribePostgresqlParameterTemplatesByFilter ¶
func (me *PostgresqlService) DescribePostgresqlParameterTemplatesByFilter(ctx context.Context, param map[string]interface{}) (ParameterTemplates []*postgresql.ParameterTemplate, errRet error)
func (*PostgresqlService) DescribePostgresqlReadOnlyGroupById ¶
func (me *PostgresqlService) DescribePostgresqlReadOnlyGroupById(ctx context.Context, dbInstanceId string) (instanceList []*postgresql.ReadOnlyGroup, errRet error)
func (*PostgresqlService) DescribePostgresqlReadonlyGroupNetInfosById ¶
func (me *PostgresqlService) DescribePostgresqlReadonlyGroupNetInfosById(ctx context.Context, dbInstanceId, roGroupId string) (netInfos []*postgresql.DBInstanceNetInfo, errRet error)
func (*PostgresqlService) DescribePostgresqlReadonlyGroups ¶
func (me *PostgresqlService) DescribePostgresqlReadonlyGroups(ctx context.Context, filter []*postgresql.Filter) (instanceList []*postgresql.ReadOnlyGroup, errRet error)
func (*PostgresqlService) DescribePostgresqlReadonlyGroupsByFilter ¶
func (me *PostgresqlService) DescribePostgresqlReadonlyGroupsByFilter(ctx context.Context, param map[string]interface{}) (ReadOnlyGroups []*postgresql.ReadOnlyGroup, errRet error)
func (*PostgresqlService) DescribePostgresqlReadonlyGroupsById ¶ added in v1.81.107
func (me *PostgresqlService) DescribePostgresqlReadonlyGroupsById(ctx context.Context, roGroupId string) (readOnlyGroup *postgresql.ReadOnlyGroup, errRet error)
func (*PostgresqlService) DescribePostgresqlRecoveryTimeByFilter ¶
func (me *PostgresqlService) DescribePostgresqlRecoveryTimeByFilter(ctx context.Context, param map[string]interface{}) (ret *postgresql.DescribeAvailableRecoveryTimeResponseParams, errRet error)
func (*PostgresqlService) DescribePostgresqlRegionsByFilter ¶
func (me *PostgresqlService) DescribePostgresqlRegionsByFilter(ctx context.Context) (Regions []*postgresql.RegionInfo, errRet error)
func (*PostgresqlService) DescribePostgresqlSecurityGroupConfigById ¶
func (me *PostgresqlService) DescribePostgresqlSecurityGroupConfigById(ctx context.Context, dBInstanceId string, readOnlyGroupId string) (SecurityGroupConfigs []*postgresql.SecurityGroup, errRet error)
func (*PostgresqlService) DescribePostgresqlZonesByFilter ¶
func (me *PostgresqlService) DescribePostgresqlZonesByFilter(ctx context.Context) (Zones []*postgresql.ZoneInfo, errRet error)
func (*PostgresqlService) DescribeReadOnlyGroupsById ¶ added in v1.81.113
func (*PostgresqlService) DescribeRootUser ¶
func (me *PostgresqlService) DescribeRootUser(ctx context.Context, instanceId string) (accounts []*postgresql.AccountInfo, errRet error)
func (*PostgresqlService) DescribeSpecinfos ¶
func (me *PostgresqlService) DescribeSpecinfos(ctx context.Context, zone string) (specCodeList []*postgresql.SpecItemInfo, errRet error)
func (*PostgresqlService) InitPostgresqlInstance ¶
func (*PostgresqlService) IsolatePostgresqlInstance ¶
func (me *PostgresqlService) IsolatePostgresqlInstance(ctx context.Context, instanceId string) (errRet error)
func (*PostgresqlService) ModifyBackupPlan ¶
func (me *PostgresqlService) ModifyBackupPlan(ctx context.Context, request *postgresql.ModifyBackupPlanRequest) (errRet error)
func (*PostgresqlService) ModifyDBInstanceDeployment ¶
func (me *PostgresqlService) ModifyDBInstanceDeployment(ctx context.Context, request *postgresql.ModifyDBInstanceDeploymentRequest) (errRet error)
func (*PostgresqlService) ModifyDBInstanceSecurityGroupsByGroupId ¶ added in v1.81.107
func (*PostgresqlService) ModifyDBInstanceSecurityGroupsById ¶ added in v1.81.104
func (*PostgresqlService) ModifyPgParams ¶
func (*PostgresqlService) ModifyPostgresqlInstanceName ¶
func (*PostgresqlService) ModifyPostgresqlInstanceProjectId ¶
func (*PostgresqlService) ModifyPublicService ¶
func (*PostgresqlService) PostgresqlDBInstanceNetworkAccessStateRefreshFunc ¶
func (me *PostgresqlService) PostgresqlDBInstanceNetworkAccessStateRefreshFunc(dBInstanceId, vpcId, subnetId, oldVip, newVip string, failStates []string) resource.StateRefreshFunc
func (*PostgresqlService) PostgresqlDBInstanceStateRefreshFunc ¶
func (me *PostgresqlService) PostgresqlDBInstanceStateRefreshFunc(dbInstanceId string, failStates []string) resource.StateRefreshFunc
func (*PostgresqlService) PostgresqlDbInstanceOperationStateRefreshFunc ¶
func (me *PostgresqlService) PostgresqlDbInstanceOperationStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
func (*PostgresqlService) PostgresqlReadonlyGroupNetworkAccessStateRefreshFunc ¶
func (me *PostgresqlService) PostgresqlReadonlyGroupNetworkAccessStateRefreshFunc(dbInstanceId, roGroupId, vpcId, subnetId, oldVip, newVip string, failStates []string) resource.StateRefreshFunc
func (*PostgresqlService) PostgresqlReadonlyGroupStateRefreshFunc ¶
func (me *PostgresqlService) PostgresqlReadonlyGroupStateRefreshFunc(dbInstanceId, roGroupId string, failStates []string) resource.StateRefreshFunc
func (*PostgresqlService) PostgresqlUpgradeKernelVersionRefreshFunc ¶
func (me *PostgresqlService) PostgresqlUpgradeKernelVersionRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc
func (*PostgresqlService) SetPostgresqlInstanceAutoRenewFlag ¶
func (*PostgresqlService) SetPostgresqlInstanceRootPassword ¶
func (*PostgresqlService) UpgradePostgresqlInstance ¶
Source Files ¶
- data_source_tc_postgresql_account_privileges.go
- data_source_tc_postgresql_backup_download_urls.go
- data_source_tc_postgresql_base_backups.go
- data_source_tc_postgresql_db_instance_classes.go
- data_source_tc_postgresql_db_instance_versions.go
- data_source_tc_postgresql_dedicated_clusters.go
- data_source_tc_postgresql_default_parameters.go
- data_source_tc_postgresql_instances.go
- data_source_tc_postgresql_log_backups.go
- data_source_tc_postgresql_parameter_templates.go
- data_source_tc_postgresql_readonly_groups.go
- data_source_tc_postgresql_recovery_time.go
- data_source_tc_postgresql_regions.go
- data_source_tc_postgresql_specinfos.go
- data_source_tc_postgresql_xlogs.go
- data_source_tc_postgresql_zones.go
- extension_postgresql.go
- resource_tc_postgresql_account.go
- resource_tc_postgresql_account_privileges_operation.go
- resource_tc_postgresql_backup_download_restriction_config.go
- resource_tc_postgresql_backup_plan_config.go
- resource_tc_postgresql_base_backup.go
- resource_tc_postgresql_delete_log_backup_operation.go
- resource_tc_postgresql_disisolate_db_instance_operation.go
- resource_tc_postgresql_instance.go
- resource_tc_postgresql_instance_ha_config.go
- resource_tc_postgresql_isolate_db_instance_operation.go
- resource_tc_postgresql_modify_account_remark_operation.go
- resource_tc_postgresql_modify_switch_time_period_operation.go
- resource_tc_postgresql_parameter_template.go
- resource_tc_postgresql_readonly_attachment.go
- resource_tc_postgresql_readonly_group.go
- resource_tc_postgresql_readonly_instance.go
- resource_tc_postgresql_rebalance_readonly_group_operation.go
- resource_tc_postgresql_renew_db_instance_operation.go
- resource_tc_postgresql_restart_db_instance_operation.go
- resource_tc_postgresql_security_group_config.go
- service_tencentcloud_postgresql.go
Click to show internal directories.
Click to hide internal directories.