dbt Cloud v0.1.30 published on Thursday, Mar 20, 2025 by Pulumi
dbtcloud.getGlobalConnections
Explore with Pulumi AI
All the connections created on the account with some summary information, like their name, type, when they were created/updated and the number of environments using them.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dbtcloud from "@pulumi/dbtcloud";
const myConnections = dbtcloud.getGlobalConnections({});
import pulumi
import pulumi_dbtcloud as dbtcloud
my_connections = dbtcloud.get_global_connections()
package main
import (
	"github.com/pulumi/pulumi-dbtcloud/sdk/go/dbtcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbtcloud.GetGlobalConnections(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DbtCloud = Pulumi.DbtCloud;
return await Deployment.RunAsync(() => 
{
    var myConnections = DbtCloud.GetGlobalConnections.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dbtcloud.DbtcloudFunctions;
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 myConnections = DbtcloudFunctions.getGlobalConnections();
    }
}
variables:
  myConnections:
    fn::invoke:
      function: dbtcloud:getGlobalConnections
      arguments: {}
Using getGlobalConnections
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 getGlobalConnections(opts?: InvokeOptions): Promise<GetGlobalConnectionsResult>
function getGlobalConnectionsOutput(opts?: InvokeOptions): Output<GetGlobalConnectionsResult>def get_global_connections(opts: Optional[InvokeOptions] = None) -> GetGlobalConnectionsResult
def get_global_connections_output(opts: Optional[InvokeOptions] = None) -> Output[GetGlobalConnectionsResult]func GetGlobalConnections(ctx *Context, opts ...InvokeOption) (*GetGlobalConnectionsResult, error)
func GetGlobalConnectionsOutput(ctx *Context, opts ...InvokeOption) GetGlobalConnectionsResultOutput> Note: This function is named GetGlobalConnections in the Go SDK.
public static class GetGlobalConnections 
{
    public static Task<GetGlobalConnectionsResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetGlobalConnectionsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetGlobalConnectionsResult> getGlobalConnections(InvokeOptions options)
public static Output<GetGlobalConnectionsResult> getGlobalConnections(InvokeOptions options)
fn::invoke:
  function: dbtcloud:index/getGlobalConnections:getGlobalConnections
  arguments:
    # arguments dictionarygetGlobalConnections Result
The following output properties are available:
- Connections
List<Pulumi.Dbt Cloud. Outputs. Get Global Connections Connection> 
- A set of all the connections
- Id string
- The provider-assigned unique ID for this managed resource.
- Connections
[]GetGlobal Connections Connection 
- A set of all the connections
- Id string
- The provider-assigned unique ID for this managed resource.
- connections
List<GetGlobal Connections Connection> 
- A set of all the connections
- id String
- The provider-assigned unique ID for this managed resource.
- connections
GetGlobal Connections Connection[] 
- A set of all the connections
- id string
- The provider-assigned unique ID for this managed resource.
- connections
Sequence[GetGlobal Connections Connection] 
- A set of all the connections
- id str
- The provider-assigned unique ID for this managed resource.
- connections List<Property Map>
- A set of all the connections
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetGlobalConnectionsConnection   
- AdapterVersion string
- Type of adapter used for the connection
- CreatedAt string
- When the connection was created
- EnvironmentCount int
- Number of environments using this connection
- Id int
- Connection Identifier
- IsSsh boolTunnel Enabled 
- Name string
- Connection name
- OauthConfiguration intId 
- PrivateLink stringEndpoint Id 
- Private Link Endpoint ID.
- UpdatedAt string
- When the connection was updated
- AdapterVersion string
- Type of adapter used for the connection
- CreatedAt string
- When the connection was created
- EnvironmentCount int
- Number of environments using this connection
- Id int
- Connection Identifier
- IsSsh boolTunnel Enabled 
- Name string
- Connection name
- OauthConfiguration intId 
- PrivateLink stringEndpoint Id 
- Private Link Endpoint ID.
- UpdatedAt string
- When the connection was updated
- adapterVersion String
- Type of adapter used for the connection
- createdAt String
- When the connection was created
- environmentCount Integer
- Number of environments using this connection
- id Integer
- Connection Identifier
- isSsh BooleanTunnel Enabled 
- name String
- Connection name
- oauthConfiguration IntegerId 
- privateLink StringEndpoint Id 
- Private Link Endpoint ID.
- updatedAt String
- When the connection was updated
- adapterVersion string
- Type of adapter used for the connection
- createdAt string
- When the connection was created
- environmentCount number
- Number of environments using this connection
- id number
- Connection Identifier
- isSsh booleanTunnel Enabled 
- name string
- Connection name
- oauthConfiguration numberId 
- privateLink stringEndpoint Id 
- Private Link Endpoint ID.
- updatedAt string
- When the connection was updated
- adapter_version str
- Type of adapter used for the connection
- created_at str
- When the connection was created
- environment_count int
- Number of environments using this connection
- id int
- Connection Identifier
- is_ssh_ booltunnel_ enabled 
- name str
- Connection name
- oauth_configuration_ intid 
- private_link_ strendpoint_ id 
- Private Link Endpoint ID.
- updated_at str
- When the connection was updated
- adapterVersion String
- Type of adapter used for the connection
- createdAt String
- When the connection was created
- environmentCount Number
- Number of environments using this connection
- id Number
- Connection Identifier
- isSsh BooleanTunnel Enabled 
- name String
- Connection name
- oauthConfiguration NumberId 
- privateLink StringEndpoint Id 
- Private Link Endpoint ID.
- updatedAt String
- When the connection was updated
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the dbtcloudTerraform Provider.
