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

fivetran.getConnectorsMetadata

Explore with Pulumi AI

This data source returns all available source types within your Fivetran account. This data source makes it easier to display Fivetran connectors within your application because it provides metadata including the proper source name (‘Facebook Ad Account’ instead of facebook_ad_account), the source icon, and links to Fivetran resources. As we update source names and icons, that metadata will automatically update within this endpoint.

Example Usage

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

const sources = fivetran.getConnectorsMetadata({});
Copy
import pulumi
import pulumi_fivetran as fivetran

sources = fivetran.get_connectors_metadata()
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.GetConnectorsMetadata(ctx, &fivetran.GetConnectorsMetadataArgs{}, 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 sources = Fivetran.GetConnectorsMetadata.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.GetConnectorsMetadataArgs;
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 sources = FivetranFunctions.getConnectorsMetadata();

    }
}
Copy
variables:
  sources:
    fn::invoke:
      function: fivetran:getConnectorsMetadata
      arguments: {}
Copy

Using getConnectorsMetadata

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 getConnectorsMetadata(args: GetConnectorsMetadataArgs, opts?: InvokeOptions): Promise<GetConnectorsMetadataResult>
function getConnectorsMetadataOutput(args: GetConnectorsMetadataOutputArgs, opts?: InvokeOptions): Output<GetConnectorsMetadataResult>
Copy
def get_connectors_metadata(sources: Optional[Sequence[GetConnectorsMetadataSource]] = None,
                            opts: Optional[InvokeOptions] = None) -> GetConnectorsMetadataResult
def get_connectors_metadata_output(sources: Optional[pulumi.Input[Sequence[pulumi.Input[GetConnectorsMetadataSourceArgs]]]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetConnectorsMetadataResult]
Copy
func GetConnectorsMetadata(ctx *Context, args *GetConnectorsMetadataArgs, opts ...InvokeOption) (*GetConnectorsMetadataResult, error)
func GetConnectorsMetadataOutput(ctx *Context, args *GetConnectorsMetadataOutputArgs, opts ...InvokeOption) GetConnectorsMetadataResultOutput
Copy

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

public static class GetConnectorsMetadata 
{
    public static Task<GetConnectorsMetadataResult> InvokeAsync(GetConnectorsMetadataArgs args, InvokeOptions? opts = null)
    public static Output<GetConnectorsMetadataResult> Invoke(GetConnectorsMetadataInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetConnectorsMetadataResult> getConnectorsMetadata(GetConnectorsMetadataArgs args, InvokeOptions options)
public static Output<GetConnectorsMetadataResult> getConnectorsMetadata(GetConnectorsMetadataArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fivetran:index/getConnectorsMetadata:getConnectorsMetadata
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

getConnectorsMetadata Result

The following output properties are available:

Id string
The ID of this resource.
Sources List<GetConnectorsMetadataSource>
Id string
The ID of this resource.
Sources []GetConnectorsMetadataSource
id String
The ID of this resource.
sources List<GetConnectorsMetadataSource>
id string
The ID of this resource.
sources GetConnectorsMetadataSource[]
id String
The ID of this resource.
sources List<Property Map>

Supporting Types

GetConnectorsMetadataSource

Description This property is required. string
The description characterizing the purpose of the connector.
IconUrl This property is required. string
The icon resource URL.
Id This property is required. string
The unique identifier for the connector within the Fivetran system
LinkToDocs This property is required. string
The link to the connector documentation.
LinkToErd This property is required. string
The link to the connector ERD (entity–relationship diagram).
Name This property is required. string
The connector service name within the Fivetran system.
Type This property is required. string
The connector service type within the Fivetran system.
Description This property is required. string
The description characterizing the purpose of the connector.
IconUrl This property is required. string
The icon resource URL.
Id This property is required. string
The unique identifier for the connector within the Fivetran system
LinkToDocs This property is required. string
The link to the connector documentation.
LinkToErd This property is required. string
The link to the connector ERD (entity–relationship diagram).
Name This property is required. string
The connector service name within the Fivetran system.
Type This property is required. string
The connector service type within the Fivetran system.
description This property is required. String
The description characterizing the purpose of the connector.
iconUrl This property is required. String
The icon resource URL.
id This property is required. String
The unique identifier for the connector within the Fivetran system
linkToDocs This property is required. String
The link to the connector documentation.
linkToErd This property is required. String
The link to the connector ERD (entity–relationship diagram).
name This property is required. String
The connector service name within the Fivetran system.
type This property is required. String
The connector service type within the Fivetran system.
description This property is required. string
The description characterizing the purpose of the connector.
iconUrl This property is required. string
The icon resource URL.
id This property is required. string
The unique identifier for the connector within the Fivetran system
linkToDocs This property is required. string
The link to the connector documentation.
linkToErd This property is required. string
The link to the connector ERD (entity–relationship diagram).
name This property is required. string
The connector service name within the Fivetran system.
type This property is required. string
The connector service type within the Fivetran system.
description This property is required. str
The description characterizing the purpose of the connector.
icon_url This property is required. str
The icon resource URL.
id This property is required. str
The unique identifier for the connector within the Fivetran system
link_to_docs This property is required. str
The link to the connector documentation.
link_to_erd This property is required. str
The link to the connector ERD (entity–relationship diagram).
name This property is required. str
The connector service name within the Fivetran system.
type This property is required. str
The connector service type within the Fivetran system.
description This property is required. String
The description characterizing the purpose of the connector.
iconUrl This property is required. String
The icon resource URL.
id This property is required. String
The unique identifier for the connector within the Fivetran system
linkToDocs This property is required. String
The link to the connector documentation.
linkToErd This property is required. String
The link to the connector ERD (entity–relationship diagram).
name This property is required. String
The connector service name within the Fivetran system.
type This property is required. String
The connector service type within the Fivetran system.

Package Details

Repository
fivetran fivetran/terraform-provider-fivetran
License
Notes
This Pulumi package is based on the fivetran Terraform Provider.