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

fivetran.getDestinationFingerprints

Explore with Pulumi AI

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

    This data source returns a list of SSH fingerprints approved for specified destination.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fivetran from "@pulumi/fivetran";
    
    const destinationFingerprints = fivetran.getDestinationFingerprints({
        id: "destination_id",
    });
    
    import pulumi
    import pulumi_fivetran as fivetran
    
    destination_fingerprints = fivetran.get_destination_fingerprints(id="destination_id")
    
    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.LookupDestinationFingerprints(ctx, &fivetran.LookupDestinationFingerprintsArgs{
    			Id: "destination_id",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fivetran = Pulumi.Fivetran;
    
    return await Deployment.RunAsync(() => 
    {
        var destinationFingerprints = Fivetran.GetDestinationFingerprints.Invoke(new()
        {
            Id = "destination_id",
        });
    
    });
    
    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.GetDestinationFingerprintsArgs;
    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 destinationFingerprints = FivetranFunctions.getDestinationFingerprints(GetDestinationFingerprintsArgs.builder()
                .id("destination_id")
                .build());
    
        }
    }
    
    variables:
      destinationFingerprints:
        fn::invoke:
          function: fivetran:getDestinationFingerprints
          arguments:
            id: destination_id
    

    Using getDestinationFingerprints

    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 getDestinationFingerprints(args: GetDestinationFingerprintsArgs, opts?: InvokeOptions): Promise<GetDestinationFingerprintsResult>
    function getDestinationFingerprintsOutput(args: GetDestinationFingerprintsOutputArgs, opts?: InvokeOptions): Output<GetDestinationFingerprintsResult>
    def get_destination_fingerprints(fingerprints: Optional[Sequence[GetDestinationFingerprintsFingerprint]] = None,
                                     id: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetDestinationFingerprintsResult
    def get_destination_fingerprints_output(fingerprints: Optional[pulumi.Input[Sequence[pulumi.Input[GetDestinationFingerprintsFingerprintArgs]]]] = None,
                                     id: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetDestinationFingerprintsResult]
    func LookupDestinationFingerprints(ctx *Context, args *LookupDestinationFingerprintsArgs, opts ...InvokeOption) (*LookupDestinationFingerprintsResult, error)
    func LookupDestinationFingerprintsOutput(ctx *Context, args *LookupDestinationFingerprintsOutputArgs, opts ...InvokeOption) LookupDestinationFingerprintsResultOutput

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

    public static class GetDestinationFingerprints 
    {
        public static Task<GetDestinationFingerprintsResult> InvokeAsync(GetDestinationFingerprintsArgs args, InvokeOptions? opts = null)
        public static Output<GetDestinationFingerprintsResult> Invoke(GetDestinationFingerprintsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDestinationFingerprintsResult> getDestinationFingerprints(GetDestinationFingerprintsArgs args, InvokeOptions options)
    public static Output<GetDestinationFingerprintsResult> getDestinationFingerprints(GetDestinationFingerprintsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: fivetran:index/getDestinationFingerprints:getDestinationFingerprints
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The unique identifier for the resource. Equal to target destination id.
    Fingerprints List<GetDestinationFingerprintsFingerprint>
    Id string
    The unique identifier for the resource. Equal to target destination id.
    Fingerprints []GetDestinationFingerprintsFingerprint
    id String
    The unique identifier for the resource. Equal to target destination id.
    fingerprints List<GetDestinationFingerprintsFingerprint>
    id string
    The unique identifier for the resource. Equal to target destination id.
    fingerprints GetDestinationFingerprintsFingerprint[]
    id str
    The unique identifier for the resource. Equal to target destination id.
    fingerprints Sequence[GetDestinationFingerprintsFingerprint]
    id String
    The unique identifier for the resource. Equal to target destination id.
    fingerprints List<Property Map>

    getDestinationFingerprints Result

    The following output properties are available:

    DestinationId string
    The unique identifier for the target destination within the Fivetran system.
    Id string
    The unique identifier for the resource. Equal to target destination id.
    Fingerprints List<GetDestinationFingerprintsFingerprint>
    DestinationId string
    The unique identifier for the target destination within the Fivetran system.
    Id string
    The unique identifier for the resource. Equal to target destination id.
    Fingerprints []GetDestinationFingerprintsFingerprint
    destinationId String
    The unique identifier for the target destination within the Fivetran system.
    id String
    The unique identifier for the resource. Equal to target destination id.
    fingerprints List<GetDestinationFingerprintsFingerprint>
    destinationId string
    The unique identifier for the target destination within the Fivetran system.
    id string
    The unique identifier for the resource. Equal to target destination id.
    fingerprints GetDestinationFingerprintsFingerprint[]
    destination_id str
    The unique identifier for the target destination within the Fivetran system.
    id str
    The unique identifier for the resource. Equal to target destination id.
    fingerprints Sequence[GetDestinationFingerprintsFingerprint]
    destinationId String
    The unique identifier for the target destination within the Fivetran system.
    id String
    The unique identifier for the resource. Equal to target destination id.
    fingerprints List<Property Map>

    Supporting Types

    GetDestinationFingerprintsFingerprint

    Hash string
    Hash of the fingerprint.
    PublicKey string
    The SSH public key.
    ValidatedBy string
    User name who validated the fingerprint.
    ValidatedDate string
    The date when fingerprint was approved.
    Hash string
    Hash of the fingerprint.
    PublicKey string
    The SSH public key.
    ValidatedBy string
    User name who validated the fingerprint.
    ValidatedDate string
    The date when fingerprint was approved.
    hash String
    Hash of the fingerprint.
    publicKey String
    The SSH public key.
    validatedBy String
    User name who validated the fingerprint.
    validatedDate String
    The date when fingerprint was approved.
    hash string
    Hash of the fingerprint.
    publicKey string
    The SSH public key.
    validatedBy string
    User name who validated the fingerprint.
    validatedDate string
    The date when fingerprint was approved.
    hash str
    Hash of the fingerprint.
    public_key str
    The SSH public key.
    validated_by str
    User name who validated the fingerprint.
    validated_date str
    The date when fingerprint was approved.
    hash String
    Hash of the fingerprint.
    publicKey String
    The SSH public key.
    validatedBy String
    User name who validated the fingerprint.
    validatedDate String
    The date when fingerprint was approved.

    Package Details

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