GetConnectionPool
Example Usage
using Pulumi;
using Aiven = Pulumi.Aiven;
class MyStack : Stack
{
public MyStack()
{
var mytestpool = Output.Create(Aiven.GetConnectionPool.InvokeAsync(new Aiven.GetConnectionPoolArgs
{
Project = data.Aiven_service.Myservice.Project,
ServiceName = data.Aiven_service.Myservice.Service_name,
PoolName = "<POOLNAME>",
}));
}
}
Coming soon!
import pulumi
import pulumi_aiven as aiven
mytestpool = aiven.get_connection_pool(project=data["aiven..Service"]["myservice"]["project"],
service_name=data["aiven..Service"]["myservice"]["service_name"],
pool_name="<POOLNAME>")import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const mytestpool = aiven.getConnectionPool({
project: data.aiven_service.myservice.project,
serviceName: data.aiven_service.myservice.service_name,
poolName: "<POOLNAME>",
});Using GetConnectionPool
function getConnectionPool(args: GetConnectionPoolArgs, opts?: InvokeOptions): Promise<GetConnectionPoolResult>function get_connection_pool(connection_uri=None, database_name=None, pool_mode=None, pool_name=None, pool_size=None, project=None, service_name=None, username=None, opts=None)func LookupConnectionPool(ctx *Context, args *LookupConnectionPoolArgs, opts ...InvokeOption) (*LookupConnectionPoolResult, error)Note: This function is named
LookupConnectionPoolin the Go SDK.
public static class GetConnectionPool {
public static Task<GetConnectionPoolResult> InvokeAsync(GetConnectionPoolArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetConnectionPool Result
The following output properties are available:
Package Details
- Repository
- https://github.com/pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.