1. Packages
  2. Airbyte Provider
  3. API Docs
  4. getSourceCapsuleCrm
airbyte 0.7.0-beta2 published on Friday, Mar 7, 2025 by airbytehq

airbyte.getSourceCapsuleCrm

Explore with Pulumi AI

airbyte logo
airbyte 0.7.0-beta2 published on Friday, Mar 7, 2025 by airbytehq

    SourceCapsuleCrm DataSource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as airbyte from "@pulumi/airbyte";
    
    const mySourceCapsulecrm = airbyte.getSourceCapsuleCrm({
        sourceId: "...my_source_id...",
    });
    
    import pulumi
    import pulumi_airbyte as airbyte
    
    my_source_capsulecrm = airbyte.get_source_capsule_crm(source_id="...my_source_id...")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/airbyte/airbyte"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := airbyte.LookupSourceCapsuleCrm(ctx, &airbyte.LookupSourceCapsuleCrmArgs{
    			SourceId: "...my_source_id...",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Airbyte = Pulumi.Airbyte;
    
    return await Deployment.RunAsync(() => 
    {
        var mySourceCapsulecrm = Airbyte.GetSourceCapsuleCrm.Invoke(new()
        {
            SourceId = "...my_source_id...",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.airbyte.AirbyteFunctions;
    import com.pulumi.airbyte.inputs.GetSourceCapsuleCrmArgs;
    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 mySourceCapsulecrm = AirbyteFunctions.getSourceCapsuleCrm(GetSourceCapsuleCrmArgs.builder()
                .sourceId("...my_source_id...")
                .build());
    
        }
    }
    
    variables:
      mySourceCapsulecrm:
        fn::invoke:
          function: airbyte:getSourceCapsuleCrm
          arguments:
            sourceId: '...my_source_id...'
    

    Using getSourceCapsuleCrm

    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 getSourceCapsuleCrm(args: GetSourceCapsuleCrmArgs, opts?: InvokeOptions): Promise<GetSourceCapsuleCrmResult>
    function getSourceCapsuleCrmOutput(args: GetSourceCapsuleCrmOutputArgs, opts?: InvokeOptions): Output<GetSourceCapsuleCrmResult>
    def get_source_capsule_crm(source_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetSourceCapsuleCrmResult
    def get_source_capsule_crm_output(source_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetSourceCapsuleCrmResult]
    func LookupSourceCapsuleCrm(ctx *Context, args *LookupSourceCapsuleCrmArgs, opts ...InvokeOption) (*LookupSourceCapsuleCrmResult, error)
    func LookupSourceCapsuleCrmOutput(ctx *Context, args *LookupSourceCapsuleCrmOutputArgs, opts ...InvokeOption) LookupSourceCapsuleCrmResultOutput

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

    public static class GetSourceCapsuleCrm 
    {
        public static Task<GetSourceCapsuleCrmResult> InvokeAsync(GetSourceCapsuleCrmArgs args, InvokeOptions? opts = null)
        public static Output<GetSourceCapsuleCrmResult> Invoke(GetSourceCapsuleCrmInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSourceCapsuleCrmResult> getSourceCapsuleCrm(GetSourceCapsuleCrmArgs args, InvokeOptions options)
    public static Output<GetSourceCapsuleCrmResult> getSourceCapsuleCrm(GetSourceCapsuleCrmArgs args, InvokeOptions options)
    
    fn::invoke:
      function: airbyte:index/getSourceCapsuleCrm:getSourceCapsuleCrm
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SourceId string
    SourceId string
    sourceId String
    sourceId string
    sourceId String

    getSourceCapsuleCrm Result

    The following output properties are available:

    Configuration string
    The values required to configure the source. Parsed as JSON.
    CreatedAt double
    DefinitionId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    SourceId string
    SourceType string
    WorkspaceId string
    Configuration string
    The values required to configure the source. Parsed as JSON.
    CreatedAt float64
    DefinitionId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    SourceId string
    SourceType string
    WorkspaceId string
    configuration String
    The values required to configure the source. Parsed as JSON.
    createdAt Double
    definitionId String
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    sourceId String
    sourceType String
    workspaceId String
    configuration string
    The values required to configure the source. Parsed as JSON.
    createdAt number
    definitionId string
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    sourceId string
    sourceType string
    workspaceId string
    configuration str
    The values required to configure the source. Parsed as JSON.
    created_at float
    definition_id str
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    source_id str
    source_type str
    workspace_id str
    configuration String
    The values required to configure the source. Parsed as JSON.
    createdAt Number
    definitionId String
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    sourceId String
    sourceType String
    workspaceId String

    Package Details

    Repository
    airbyte airbytehq/terraform-provider-airbyte
    License
    Notes
    This Pulumi package is based on the airbyte Terraform Provider.
    airbyte logo
    airbyte 0.7.0-beta2 published on Friday, Mar 7, 2025 by airbytehq