CockroachDB v0.2.3 published on Monday, May 27, 2024 by pulumiverse
cockroach.getConnectionString
Explore with Pulumi AI
Generic connection string for a cluster.
Using getConnectionString
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 getConnectionString(args: GetConnectionStringArgs, opts?: InvokeOptions): Promise<GetConnectionStringResult>
function getConnectionStringOutput(args: GetConnectionStringOutputArgs, opts?: InvokeOptions): Output<GetConnectionStringResult>
def get_connection_string(database: Optional[str] = None,
id: Optional[str] = None,
os: Optional[str] = None,
password: Optional[str] = None,
sql_user: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConnectionStringResult
def get_connection_string_output(database: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
os: Optional[pulumi.Input[str]] = None,
password: Optional[pulumi.Input[str]] = None,
sql_user: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConnectionStringResult]
func GetConnectionString(ctx *Context, args *GetConnectionStringArgs, opts ...InvokeOption) (*GetConnectionStringResult, error)
func GetConnectionStringOutput(ctx *Context, args *GetConnectionStringOutputArgs, opts ...InvokeOption) GetConnectionStringResultOutput
> Note: This function is named GetConnectionString
in the Go SDK.
public static class GetConnectionString
{
public static Task<GetConnectionStringResult> InvokeAsync(GetConnectionStringArgs args, InvokeOptions? opts = null)
public static Output<GetConnectionStringResult> Invoke(GetConnectionStringInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConnectionStringResult> getConnectionString(GetConnectionStringArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: cockroach:index/getConnectionString:getConnectionString
arguments:
# arguments dictionary
The following arguments are supported:
getConnectionString Result
The following output properties are available:
- Connection
Params Pulumiverse.Cockroach. Outputs. Get Connection String Connection Params - Connection
String string - Database string
- Id string
- Os string
- Password string
- Sql
User string
- Connection
Params GetConnection String Connection Params - Connection
String string - Database string
- Id string
- Os string
- Password string
- Sql
User string
- connection
Params GetConnection String Connection Params - connection
String String - database String
- id String
- os String
- password String
- sql
User String
- connection
Params GetConnection String Connection Params - connection
String string - database string
- id string
- os string
- password string
- sql
User string
- connection_
params GetConnection String Connection Params - connection_
string str - database str
- id str
- os str
- password str
- sql_
user str
- connection
Params Property Map - connection
String String - database String
- id String
- os String
- password String
- sql
User String
Supporting Types
GetConnectionStringConnectionParams
Package Details
- Repository
- cockroach pulumiverse/pulumi-cockroach
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cockroach
Terraform Provider.