supabase 1.5.1 published on Wednesday, Jan 15, 2025 by supabase
supabase.getPooler
Start a Neo task
Explain and create a supabase.getPooler resource
supabase 1.5.1 published on Wednesday, Jan 15, 2025 by supabase
Pooler data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as supabase from "@pulumi/supabase";
const production = supabase.getPooler({
projectRef: "mayuaycdtijbctgqbycg",
});
import pulumi
import pulumi_supabase as supabase
production = supabase.get_pooler(project_ref="mayuaycdtijbctgqbycg")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/supabase/supabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := supabase.GetPooler(ctx, &supabase.GetPoolerArgs{
ProjectRef: "mayuaycdtijbctgqbycg",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Supabase = Pulumi.Supabase;
return await Deployment.RunAsync(() =>
{
var production = Supabase.GetPooler.Invoke(new()
{
ProjectRef = "mayuaycdtijbctgqbycg",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.supabase.SupabaseFunctions;
import com.pulumi.supabase.inputs.GetPoolerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var production = SupabaseFunctions.getPooler(GetPoolerArgs.builder()
.projectRef("mayuaycdtijbctgqbycg")
.build());
}
}
variables:
production:
fn::invoke:
function: supabase:getPooler
arguments:
projectRef: mayuaycdtijbctgqbycg
Using getPooler
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPooler(args: GetPoolerArgs, opts?: InvokeOptions): Promise<GetPoolerResult>
function getPoolerOutput(args: GetPoolerOutputArgs, opts?: InvokeOptions): Output<GetPoolerResult>def get_pooler(project_ref: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPoolerResult
def get_pooler_output(project_ref: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPoolerResult]func GetPooler(ctx *Context, args *GetPoolerArgs, opts ...InvokeOption) (*GetPoolerResult, error)
func GetPoolerOutput(ctx *Context, args *GetPoolerOutputArgs, opts ...InvokeOption) GetPoolerResultOutput> Note: This function is named GetPooler in the Go SDK.
public static class GetPooler
{
public static Task<GetPoolerResult> InvokeAsync(GetPoolerArgs args, InvokeOptions? opts = null)
public static Output<GetPoolerResult> Invoke(GetPoolerInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPoolerResult> getPooler(GetPoolerArgs args, InvokeOptions options)
public static Output<GetPoolerResult> getPooler(GetPoolerArgs args, InvokeOptions options)
fn::invoke:
function: supabase:index/getPooler:getPooler
arguments:
# arguments dictionaryThe following arguments are supported:
- Project
Ref string - Project ref
- Project
Ref string - Project ref
- project
Ref String - Project ref
- project
Ref string - Project ref
- project_
ref str - Project ref
- project
Ref String - Project ref
getPooler Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Ref string - Project ref
- Url Dictionary<string, string>
- Map of pooler mode to connection string
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Ref string - Project ref
- Url map[string]string
- Map of pooler mode to connection string
- id String
- The provider-assigned unique ID for this managed resource.
- project
Ref String - Project ref
- url Map<String,String>
- Map of pooler mode to connection string
- id string
- The provider-assigned unique ID for this managed resource.
- project
Ref string - Project ref
- url {[key: string]: string}
- Map of pooler mode to connection string
- id str
- The provider-assigned unique ID for this managed resource.
- project_
ref str - Project ref
- url Mapping[str, str]
- Map of pooler mode to connection string
- id String
- The provider-assigned unique ID for this managed resource.
- project
Ref String - Project ref
- url Map<String>
- Map of pooler mode to connection string
Package Details
- Repository
- supabase supabase/terraform-provider-supabase
- License
- Notes
- This Pulumi package is based on the
supabaseTerraform Provider.
supabase 1.5.1 published on Wednesday, Jan 15, 2025 by supabase
