dbt Cloud v0.1.25 published on Friday, Nov 8, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: dbtcloud:index/getGlobalConnections:getGlobalConnections
arguments:
# arguments dictionary
getGlobalConnections 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
[]Get
Global Connections Connection - A set of all the connections
- Id string
- The provider-assigned unique ID for this managed resource.
- connections
List<Get
Global Connections Connection> - A set of all the connections
- id String
- The provider-assigned unique ID for this managed resource.
- connections
Get
Global Connections Connection[] - A set of all the connections
- id string
- The provider-assigned unique ID for this managed resource.
- connections
Sequence[Get
Global 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
- Adapter
Version string - Type of adapter used for the connection
- Created
At string - When the connection was created
- Environment
Count int - Number of environments using this connection
- Id int
- Connection Identifier
- Is
Ssh boolTunnel Enabled - Name string
- Connection name
- Oauth
Configuration intId - Private
Link stringEndpoint Id - Private Link Endpoint ID.
- Updated
At string - When the connection was updated
- Adapter
Version string - Type of adapter used for the connection
- Created
At string - When the connection was created
- Environment
Count int - Number of environments using this connection
- Id int
- Connection Identifier
- Is
Ssh boolTunnel Enabled - Name string
- Connection name
- Oauth
Configuration intId - Private
Link stringEndpoint Id - Private Link Endpoint ID.
- Updated
At string - When the connection was updated
- adapter
Version String - Type of adapter used for the connection
- created
At String - When the connection was created
- environment
Count Integer - Number of environments using this connection
- id Integer
- Connection Identifier
- is
Ssh BooleanTunnel Enabled - name String
- Connection name
- oauth
Configuration IntegerId - private
Link StringEndpoint Id - Private Link Endpoint ID.
- updated
At String - When the connection was updated
- adapter
Version string - Type of adapter used for the connection
- created
At string - When the connection was created
- environment
Count number - Number of environments using this connection
- id number
- Connection Identifier
- is
Ssh booleanTunnel Enabled - name string
- Connection name
- oauth
Configuration numberId - private
Link stringEndpoint Id - Private Link Endpoint ID.
- updated
At 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
- adapter
Version String - Type of adapter used for the connection
- created
At String - When the connection was created
- environment
Count Number - Number of environments using this connection
- id Number
- Connection Identifier
- is
Ssh BooleanTunnel Enabled - name String
- Connection name
- oauth
Configuration NumberId - private
Link StringEndpoint Id - Private Link Endpoint ID.
- updated
At 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
dbtcloud
Terraform Provider.