dbt Cloud v0.1.25 published on Friday, Nov 8, 2024 by Pulumi
dbtcloud.getConnection
Explore with Pulumi AI
Using getConnection
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 getConnection(args: GetConnectionArgs, opts?: InvokeOptions): Promise<GetConnectionResult>
function getConnectionOutput(args: GetConnectionOutputArgs, opts?: InvokeOptions): Output<GetConnectionResult>
def get_connection(connection_id: Optional[int] = None,
project_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetConnectionResult
def get_connection_output(connection_id: Optional[pulumi.Input[int]] = None,
project_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConnectionResult]
func LookupConnection(ctx *Context, args *LookupConnectionArgs, opts ...InvokeOption) (*LookupConnectionResult, error)
func LookupConnectionOutput(ctx *Context, args *LookupConnectionOutputArgs, opts ...InvokeOption) LookupConnectionResultOutput
> Note: This function is named LookupConnection
in the Go SDK.
public static class GetConnection
{
public static Task<GetConnectionResult> InvokeAsync(GetConnectionArgs args, InvokeOptions? opts = null)
public static Output<GetConnectionResult> Invoke(GetConnectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: dbtcloud:index/getConnection:getConnection
arguments:
# arguments dictionary
The following arguments are supported:
- Connection
Id int - ID for the connection
- Project
Id int - Project ID to create the connection in
- Connection
Id int - ID for the connection
- Project
Id int - Project ID to create the connection in
- connection
Id Integer - ID for the connection
- project
Id Integer - Project ID to create the connection in
- connection
Id number - ID for the connection
- project
Id number - Project ID to create the connection in
- connection_
id int - ID for the connection
- project_
id int - Project ID to create the connection in
- connection
Id Number - ID for the connection
- project
Id Number - Project ID to create the connection in
getConnection Result
The following output properties are available:
- Account string
- Account for the connection
- Allow
Keep boolAlive - Flag for whether or not to use the keep session alive parameter in the connection
- Allow
Sso bool - Flag for whether or not to use SSO for the connection
- Connection
Id int - ID for the connection
- Database string
- Database name for the connection
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Active bool - Whether the connection is active
- Name string
- Connection name
- Private
Link stringEndpoint Id - The ID of the PrivateLink connection
- Project
Id int - Project ID to create the connection in
- Role string
- Role name for the connection
- Type string
- Connection type
- Warehouse string
- Warehouse name for the connection
- Account string
- Account for the connection
- Allow
Keep boolAlive - Flag for whether or not to use the keep session alive parameter in the connection
- Allow
Sso bool - Flag for whether or not to use SSO for the connection
- Connection
Id int - ID for the connection
- Database string
- Database name for the connection
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Active bool - Whether the connection is active
- Name string
- Connection name
- Private
Link stringEndpoint Id - The ID of the PrivateLink connection
- Project
Id int - Project ID to create the connection in
- Role string
- Role name for the connection
- Type string
- Connection type
- Warehouse string
- Warehouse name for the connection
- account String
- Account for the connection
- allow
Keep BooleanAlive - Flag for whether or not to use the keep session alive parameter in the connection
- allow
Sso Boolean - Flag for whether or not to use SSO for the connection
- connection
Id Integer - ID for the connection
- database String
- Database name for the connection
- id String
- The provider-assigned unique ID for this managed resource.
- is
Active Boolean - Whether the connection is active
- name String
- Connection name
- private
Link StringEndpoint Id - The ID of the PrivateLink connection
- project
Id Integer - Project ID to create the connection in
- role String
- Role name for the connection
- type String
- Connection type
- warehouse String
- Warehouse name for the connection
- account string
- Account for the connection
- allow
Keep booleanAlive - Flag for whether or not to use the keep session alive parameter in the connection
- allow
Sso boolean - Flag for whether or not to use SSO for the connection
- connection
Id number - ID for the connection
- database string
- Database name for the connection
- id string
- The provider-assigned unique ID for this managed resource.
- is
Active boolean - Whether the connection is active
- name string
- Connection name
- private
Link stringEndpoint Id - The ID of the PrivateLink connection
- project
Id number - Project ID to create the connection in
- role string
- Role name for the connection
- type string
- Connection type
- warehouse string
- Warehouse name for the connection
- account str
- Account for the connection
- allow_
keep_ boolalive - Flag for whether or not to use the keep session alive parameter in the connection
- allow_
sso bool - Flag for whether or not to use SSO for the connection
- connection_
id int - ID for the connection
- database str
- Database name for the connection
- id str
- The provider-assigned unique ID for this managed resource.
- is_
active bool - Whether the connection is active
- name str
- Connection name
- private_
link_ strendpoint_ id - The ID of the PrivateLink connection
- project_
id int - Project ID to create the connection in
- role str
- Role name for the connection
- type str
- Connection type
- warehouse str
- Warehouse name for the connection
- account String
- Account for the connection
- allow
Keep BooleanAlive - Flag for whether or not to use the keep session alive parameter in the connection
- allow
Sso Boolean - Flag for whether or not to use SSO for the connection
- connection
Id Number - ID for the connection
- database String
- Database name for the connection
- id String
- The provider-assigned unique ID for this managed resource.
- is
Active Boolean - Whether the connection is active
- name String
- Connection name
- private
Link StringEndpoint Id - The ID of the PrivateLink connection
- project
Id Number - Project ID to create the connection in
- role String
- Role name for the connection
- type String
- Connection type
- warehouse String
- Warehouse name for the connection
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloud
Terraform Provider.