sql 0.5.0 published on Monday, Apr 14, 2025 by paultyng
sql.getDriver
Explore with Pulumi AI
The sql.getDriver
datasource allows you to determine which driver is in use by the provider. This is mostly useful for module development when you may communicate with multiple types of databases.
Using getDriver
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 getDriver(opts?: InvokeOptions): Promise<GetDriverResult>
function getDriverOutput(opts?: InvokeOptions): Output<GetDriverResult>
def get_driver(opts: Optional[InvokeOptions] = None) -> GetDriverResult
def get_driver_output(opts: Optional[InvokeOptions] = None) -> Output[GetDriverResult]
func GetDriver(ctx *Context, opts ...InvokeOption) (*GetDriverResult, error)
func GetDriverOutput(ctx *Context, opts ...InvokeOption) GetDriverResultOutput
> Note: This function is named GetDriver
in the Go SDK.
public static class GetDriver
{
public static Task<GetDriverResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetDriverResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetDriverResult> getDriver(InvokeOptions options)
public static Output<GetDriverResult> getDriver(InvokeOptions options)
fn::invoke:
function: sql:index/getDriver:getDriver
arguments:
# arguments dictionary
getDriver Result
The following output properties are available:
Package Details
- Repository
- sql paultyng/terraform-provider-sql
- License
- Notes
- This Pulumi package is based on the
sql
Terraform Provider.