GpdbFunctions

Functions

Link copied to clipboard

This data source provides the Gpdb Accounts of the current Alibaba Cloud user.

suspend fun getAccounts(argument: suspend GetAccountsPlainArgsBuilder.() -> Unit): GetAccountsResult
suspend fun getAccounts(dbInstanceId: String, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, status: String? = null): GetAccountsResult
Link copied to clipboard

This data source provides Gpdb Data Backup available to the user.What is Data Backup

suspend fun getDataBackups(backupMode: String? = null, dataBackupId: String? = null, dataType: String? = null, dbInstanceId: String, endTime: String? = null, ids: List<String>? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null, startTime: String? = null, status: String? = null): GetDataBackupsResult
Link copied to clipboard

This data source provides the Gpdb Db Instance Plans of the current Alibaba Cloud user.

suspend fun getDbInstancePlans(dbInstanceId: String, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, planScheduleType: String? = null, planType: String? = null, status: String? = null): GetDbInstancePlansResult
Link copied to clipboard

This data source provides the AnalyticDB for PostgreSQL instances of the current Alibaba Cloud user.

suspend fun getInstances(availabilityZone: String? = null, dbInstanceCategories: String? = null, dbInstanceModes: String? = null, description: String? = null, enableDetails: Boolean? = null, ids: List<String>? = null, instanceNetworkType: String? = null, nameRegex: String? = null, outputFile: String? = null, resourceGroupId: String? = null, status: String? = null, tags: Map<String, String>? = null, vswitchId: String? = null): GetInstancesResult
Link copied to clipboard

This data source provides Gpdb Logbackup available to the user.What is Log Backup

suspend fun getLogBackups(dbInstanceId: String, endTime: String? = null, ids: List<String>? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null, startTime: String? = null): GetLogBackupsResult
Link copied to clipboard
suspend fun getZones(argument: GetZonesPlainArgs): GetZonesResult

This data source provides availability zones for Gpdb that can be accessed by an Alibaba Cloud account within the region configured in the provider.

suspend fun getZones(argument: suspend GetZonesPlainArgsBuilder.() -> Unit): GetZonesResult
suspend fun getZones(multi: Boolean? = null, outputFile: String? = null): GetZonesResult