MongodbFunctions

Functions

Link copied to clipboard

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

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

This data source provides the Mongodb Audit Policies of the current Alibaba Cloud user.

suspend fun getAuditPolicies(dbInstanceId: String, outputFile: String? = null): GetAuditPoliciesResult
Link copied to clipboard

The alicloud.mongodb.getInstances data source provides a collection of MongoDB instances available in Alicloud account. Filters support regular expression for the instance name, engine or instance type.

suspend fun getInstances(availabilityZone: String? = null, ids: List<String>? = null, instanceClass: String? = null, instanceType: String? = null, nameRegex: String? = null, outputFile: String? = null, tags: Map<String, String>? = null): GetInstancesResult
Link copied to clipboard

This data source provides the Mongodb Serverless Instances of the current Alibaba Cloud user.

suspend fun getServerlessInstances(dbInstanceClass: String? = null, dbInstanceDescription: String? = null, enableDetails: Boolean? = null, ids: List<String>? = null, networkType: String? = null, outputFile: String? = null, resourceGroupId: String? = null, status: String? = null, tags: Map<String, String>? = null, vpcId: String? = null, vswitchId: String? = null, zoneId: String? = null): GetServerlessInstancesResult
Link copied to clipboard

This data source provides the Mongodb Sharding Network Private Addresses of the current Alibaba Cloud user.

suspend fun getShardingNetworkPrivateAddresses(dbInstanceId: String, nodeId: String? = null, outputFile: String? = null, role: String? = null): GetShardingNetworkPrivateAddressesResult
Link copied to clipboard

This data source provides the Mongodb Sharding Network Public Addresses of the current Alibaba Cloud user.

suspend fun getShardingNetworkPublicAddresses(dbInstanceId: String, nodeId: String? = null, outputFile: String? = null, role: String? = null): GetShardingNetworkPublicAddressesResult
Link copied to clipboard
suspend fun getZones(argument: GetZonesPlainArgs): GetZonesResult

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