PolardbFunctions

Functions

Link copied to clipboard

The alicloud.polardb.getAccounts data source provides a collection of PolarDB cluster database account available in Alibaba Cloud account. Filters support regular expression for the account name, searches by clusterId.

suspend fun getAccounts(argument: suspend GetAccountsPlainArgsBuilder.() -> Unit): GetAccountsResult
suspend fun getAccounts(dbClusterId: String, nameRegex: String? = null): GetAccountsResult
Link copied to clipboard

The alicloud.polardb.getClusters data source provides a collection of PolarDB clusters available in Alibaba Cloud account. Filters support regular expression for the cluster description, searches by tags, and other filters which are listed below.

suspend fun getClusters(argument: suspend GetClustersPlainArgsBuilder.() -> Unit): GetClustersResult
suspend fun getClusters(dbType: String? = null, descriptionRegex: String? = null, ids: List<String>? = null, outputFile: String? = null, status: String? = null, tags: Map<String, String>? = null): GetClustersResult
Link copied to clipboard

The alicloud.polardb.getDatabases data source provides a collection of PolarDB cluster database available in Alibaba Cloud account. Filters support regular expression for the database name, searches by clusterId.

suspend fun getDatabases(dbClusterId: String, nameRegex: String? = null): GetDatabasesResult
Link copied to clipboard

The alicloud.polardb.getEndpoints data source provides a collection of PolarDB endpoints available in Alibaba Cloud account. Filters support regular expression for the cluster name, searches by clusterId, and other filters which are listed below.

suspend fun getEndpoints(dbClusterId: String, dbEndpointId: String? = null): GetEndpointsResult
Link copied to clipboard

This data source provides the PolarDB Global Database Networks of the current Alibaba Cloud user.

suspend fun getGlobalDatabaseNetworks(dbClusterId: String? = null, description: String? = null, gdnId: String? = null, ids: List<String>? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null, status: String? = null): GetGlobalDatabaseNetworksResult
Link copied to clipboard

This data source provides the PolarDB node classes resource available info of Alibaba Cloud.

suspend fun getNodeClasses(category: String? = null, dbNodeClass: String? = null, dbType: String? = null, dbVersion: String? = null, outputFile: String? = null, payType: String, regionId: String? = null, zoneId: String? = null): GetNodeClassesResult
Link copied to clipboard

This data source provides the PolarDB Parameter Groups of the current Alibaba Cloud user.

suspend fun getParameterGroups(dbType: String? = null, dbVersion: String? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null): GetParameterGroupsResult
Link copied to clipboard
suspend fun getZones(argument: GetZonesPlainArgs): GetZonesResult

This data source provides availability zones for PolarDB 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