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 LookupConnectionPool in the Go SDK.

public static class GetConnectionPool {
    public static Task<GetConnectionPoolResult> InvokeAsync(GetConnectionPoolArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

PoolName string
Project string
ServiceName string
ConnectionUri string
DatabaseName string
PoolMode string
PoolSize int
Username string
PoolName string
Project string
ServiceName string
ConnectionUri string
DatabaseName string
PoolMode string
PoolSize int
Username string
poolName string
project string
serviceName string
connectionUri string
databaseName string
poolMode string
poolSize number
username string
pool_name str
project str
service_name str
connection_uri str
database_name str
pool_mode str
pool_size float
username str

GetConnectionPool Result

The following output properties are available:

ConnectionUri string
Id string

The provider-assigned unique ID for this managed resource.

PoolName string
Project string
ServiceName string
DatabaseName string
PoolMode string
PoolSize int
Username string
ConnectionUri string
Id string

The provider-assigned unique ID for this managed resource.

PoolName string
Project string
ServiceName string
DatabaseName string
PoolMode string
PoolSize int
Username string
connectionUri string
id string

The provider-assigned unique ID for this managed resource.

poolName string
project string
serviceName string
databaseName string
poolMode string
poolSize number
username string
connection_uri str
id str

The provider-assigned unique ID for this managed resource.

pool_name str
project str
service_name str
database_name str
pool_mode str
pool_size float
username str

Package Details

Repository
https://github.com/pulumi/pulumi-aiven
License
Apache-2.0
Notes
This Pulumi package is based on the aiven Terraform Provider.