1. Packages
  2. Fivetran Provider
  3. API Docs
  4. getGroup
fivetran 1.6.1 published on Monday, Mar 31, 2025 by fivetran

fivetran.getGroup

Explore with Pulumi AI

fivetran 1.6.1 published on Monday, Mar 31, 2025 by fivetran

This data source returns a group object.

Example Usage

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

const myGroup = fivetran.getGroup({
    id: "anonymous_mystery",
});
Copy
import pulumi
import pulumi_fivetran as fivetran

my_group = fivetran.get_group(id="anonymous_mystery")
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.LookupGroup(ctx, &fivetran.LookupGroupArgs{
			Id: "anonymous_mystery",
		}, 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 myGroup = Fivetran.GetGroup.Invoke(new()
    {
        Id = "anonymous_mystery",
    });

});
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.GetGroupArgs;
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 myGroup = FivetranFunctions.getGroup(GetGroupArgs.builder()
            .id("anonymous_mystery")
            .build());

    }
}
Copy
variables:
  myGroup:
    fn::invoke:
      function: fivetran:getGroup
      arguments:
        id: anonymous_mystery
Copy

Using getGroup

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 getGroup(args: GetGroupArgs, opts?: InvokeOptions): Promise<GetGroupResult>
function getGroupOutput(args: GetGroupOutputArgs, opts?: InvokeOptions): Output<GetGroupResult>
Copy
def get_group(id: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetGroupResult
def get_group_output(id: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetGroupResult]
Copy
func LookupGroup(ctx *Context, args *LookupGroupArgs, opts ...InvokeOption) (*LookupGroupResult, error)
func LookupGroupOutput(ctx *Context, args *LookupGroupOutputArgs, opts ...InvokeOption) LookupGroupResultOutput
Copy

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

public static class GetGroup 
{
    public static Task<GetGroupResult> InvokeAsync(GetGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetGroupResult> Invoke(GetGroupInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGroupResult> getGroup(GetGroupArgs args, InvokeOptions options)
public static Output<GetGroupResult> getGroup(GetGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fivetran:index/getGroup:getGroup
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
The unique identifier for the group within the Fivetran system.
Id This property is required. string
The unique identifier for the group within the Fivetran system.
id This property is required. String
The unique identifier for the group within the Fivetran system.
id This property is required. string
The unique identifier for the group within the Fivetran system.
id This property is required. str
The unique identifier for the group within the Fivetran system.
id This property is required. String
The unique identifier for the group within the Fivetran system.

getGroup Result

The following output properties are available:

CreatedAt string
The timestamp of when the group was created in your account.
Id string
The unique identifier for the group within the Fivetran system.
LastUpdated string
The timestamp of when the resource/datasource was updated last time.
Name string
The name of the group within your account.
CreatedAt string
The timestamp of when the group was created in your account.
Id string
The unique identifier for the group within the Fivetran system.
LastUpdated string
The timestamp of when the resource/datasource was updated last time.
Name string
The name of the group within your account.
createdAt String
The timestamp of when the group was created in your account.
id String
The unique identifier for the group within the Fivetran system.
lastUpdated String
The timestamp of when the resource/datasource was updated last time.
name String
The name of the group within your account.
createdAt string
The timestamp of when the group was created in your account.
id string
The unique identifier for the group within the Fivetran system.
lastUpdated string
The timestamp of when the resource/datasource was updated last time.
name string
The name of the group within your account.
created_at str
The timestamp of when the group was created in your account.
id str
The unique identifier for the group within the Fivetran system.
last_updated str
The timestamp of when the resource/datasource was updated last time.
name str
The name of the group within your account.
createdAt String
The timestamp of when the group was created in your account.
id String
The unique identifier for the group within the Fivetran system.
lastUpdated String
The timestamp of when the resource/datasource was updated last time.
name 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.1 published on Monday, Mar 31, 2025 by fivetran