1. Packages
  2. Fivetran Provider
  3. API Docs
  4. getGroups
fivetran 1.6.0 published on Tuesday, Mar 25, 2025 by fivetran

fivetran.getGroups

Explore with Pulumi AI

fivetran 1.6.0 published on Tuesday, Mar 25, 2025 by fivetran

This data source returns a list of all groups within your Fivetran account.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fivetran from "@pulumi/fivetran";

const all = fivetran.getGroups({});
Copy
import pulumi
import pulumi_fivetran as fivetran

all = fivetran.get_groups()
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fivetran/fivetran"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fivetran.GetGroups(ctx, &fivetran.GetGroupsArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fivetran = Pulumi.Fivetran;

return await Deployment.RunAsync(() => 
{
    var all = Fivetran.GetGroups.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fivetran.FivetranFunctions;
import com.pulumi.fivetran.inputs.GetGroupsArgs;
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 all = FivetranFunctions.getGroups();

    }
}
Copy
variables:
  all:
    fn::invoke:
      function: fivetran:getGroups
      arguments: {}
Copy

Using getGroups

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 getGroups(args: GetGroupsArgs, opts?: InvokeOptions): Promise<GetGroupsResult>
function getGroupsOutput(args: GetGroupsOutputArgs, opts?: InvokeOptions): Output<GetGroupsResult>
Copy
def get_groups(groups: Optional[Sequence[GetGroupsGroup]] = None,
               opts: Optional[InvokeOptions] = None) -> GetGroupsResult
def get_groups_output(groups: Optional[pulumi.Input[Sequence[pulumi.Input[GetGroupsGroupArgs]]]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetGroupsResult]
Copy
func GetGroups(ctx *Context, args *GetGroupsArgs, opts ...InvokeOption) (*GetGroupsResult, error)
func GetGroupsOutput(ctx *Context, args *GetGroupsOutputArgs, opts ...InvokeOption) GetGroupsResultOutput
Copy

> Note: This function is named GetGroups in the Go SDK.

public static class GetGroups 
{
    public static Task<GetGroupsResult> InvokeAsync(GetGroupsArgs args, InvokeOptions? opts = null)
    public static Output<GetGroupsResult> Invoke(GetGroupsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGroupsResult> getGroups(GetGroupsArgs args, InvokeOptions options)
public static Output<GetGroupsResult> getGroups(GetGroupsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fivetran:index/getGroups:getGroups
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

getGroups Result

The following output properties are available:

Id string
The ID of this resource.
Groups List<GetGroupsGroup>
Id string
The ID of this resource.
Groups []GetGroupsGroup
id String
The ID of this resource.
groups List<GetGroupsGroup>
id string
The ID of this resource.
groups GetGroupsGroup[]
id str
The ID of this resource.
groups Sequence[GetGroupsGroup]
id String
The ID of this resource.
groups List<Property Map>

Supporting Types

GetGroupsGroup

CreatedAt This property is required. string
The timestamp of when the group was created in your account.
Id This property is required. string
The unique identifier for the group within the Fivetran system.
LastUpdated This property is required. string
The timestamp of when the resource/datasource was updated last time.
Name This property is required. string
The name of the group within your account.
CreatedAt This property is required. string
The timestamp of when the group was created in your account.
Id This property is required. string
The unique identifier for the group within the Fivetran system.
LastUpdated This property is required. string
The timestamp of when the resource/datasource was updated last time.
Name This property is required. string
The name of the group within your account.
createdAt This property is required. String
The timestamp of when the group was created in your account.
id This property is required. String
The unique identifier for the group within the Fivetran system.
lastUpdated This property is required. String
The timestamp of when the resource/datasource was updated last time.
name This property is required. String
The name of the group within your account.
createdAt This property is required. string
The timestamp of when the group was created in your account.
id This property is required. string
The unique identifier for the group within the Fivetran system.
lastUpdated This property is required. string
The timestamp of when the resource/datasource was updated last time.
name This property is required. string
The name of the group within your account.
created_at This property is required. str
The timestamp of when the group was created in your account.
id This property is required. str
The unique identifier for the group within the Fivetran system.
last_updated This property is required. str
The timestamp of when the resource/datasource was updated last time.
name This property is required. str
The name of the group within your account.
createdAt This property is required. String
The timestamp of when the group was created in your account.
id This property is required. String
The unique identifier for the group within the Fivetran system.
lastUpdated This property is required. String
The timestamp of when the resource/datasource was updated last time.
name This property is required. String
The name of the group within your account.

Package Details

Repository
fivetran fivetran/terraform-provider-fivetran
License
Notes
This Pulumi package is based on the fivetran Terraform Provider.
fivetran 1.6.0 published on Tuesday, Mar 25, 2025 by fivetran