1. Packages
  2. dbt Cloud Provider
  3. API Docs
  4. getExtendedAttributes
dbt Cloud v1.0.0 published on Wednesday, Jun 11, 2025 by Pulumi

dbtcloud.getExtendedAttributes

Explore with Pulumi AI

dbtcloud logo
dbt Cloud v1.0.0 published on Wednesday, Jun 11, 2025 by Pulumi

    Extended attributes data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as dbtcloud from "@pulumi/dbtcloud";
    
    const myExtendedAttributes = dbtcloud.getExtendedAttributes({
        extendedAttributesId: 12345,
        projectId: 6789,
    });
    
    import pulumi
    import pulumi_dbtcloud as dbtcloud
    
    my_extended_attributes = dbtcloud.get_extended_attributes(extended_attributes_id=12345,
        project_id=6789)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-dbtcloud/sdk/go/dbtcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbtcloud.LookupExtendedAttributes(ctx, &dbtcloud.LookupExtendedAttributesArgs{
    			ExtendedAttributesId: 12345,
    			ProjectId:            6789,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DbtCloud = Pulumi.DbtCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var myExtendedAttributes = DbtCloud.GetExtendedAttributes.Invoke(new()
        {
            ExtendedAttributesId = 12345,
            ProjectId = 6789,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.dbtcloud.DbtcloudFunctions;
    import com.pulumi.dbtcloud.inputs.GetExtendedAttributesArgs;
    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 myExtendedAttributes = DbtcloudFunctions.getExtendedAttributes(GetExtendedAttributesArgs.builder()
                .extendedAttributesId(12345)
                .projectId(6789)
                .build());
    
        }
    }
    
    variables:
      myExtendedAttributes:
        fn::invoke:
          function: dbtcloud:getExtendedAttributes
          arguments:
            extendedAttributesId: 12345
            projectId: 6789
    

    Using getExtendedAttributes

    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 getExtendedAttributes(args: GetExtendedAttributesArgs, opts?: InvokeOptions): Promise<GetExtendedAttributesResult>
    function getExtendedAttributesOutput(args: GetExtendedAttributesOutputArgs, opts?: InvokeOptions): Output<GetExtendedAttributesResult>
    def get_extended_attributes(extended_attributes_id: Optional[int] = None,
                                project_id: Optional[int] = None,
                                opts: Optional[InvokeOptions] = None) -> GetExtendedAttributesResult
    def get_extended_attributes_output(extended_attributes_id: Optional[pulumi.Input[int]] = None,
                                project_id: Optional[pulumi.Input[int]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetExtendedAttributesResult]
    func LookupExtendedAttributes(ctx *Context, args *LookupExtendedAttributesArgs, opts ...InvokeOption) (*LookupExtendedAttributesResult, error)
    func LookupExtendedAttributesOutput(ctx *Context, args *LookupExtendedAttributesOutputArgs, opts ...InvokeOption) LookupExtendedAttributesResultOutput

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

    public static class GetExtendedAttributes 
    {
        public static Task<GetExtendedAttributesResult> InvokeAsync(GetExtendedAttributesArgs args, InvokeOptions? opts = null)
        public static Output<GetExtendedAttributesResult> Invoke(GetExtendedAttributesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetExtendedAttributesResult> getExtendedAttributes(GetExtendedAttributesArgs args, InvokeOptions options)
    public static Output<GetExtendedAttributesResult> getExtendedAttributes(GetExtendedAttributesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: dbtcloud:index/getExtendedAttributes:getExtendedAttributes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ExtendedAttributesId int
    Extended attributes ID
    ProjectId int
    Project ID
    ExtendedAttributesId int
    Extended attributes ID
    ProjectId int
    Project ID
    extendedAttributesId Integer
    Extended attributes ID
    projectId Integer
    Project ID
    extendedAttributesId number
    Extended attributes ID
    projectId number
    Project ID
    extended_attributes_id int
    Extended attributes ID
    project_id int
    Project ID
    extendedAttributesId Number
    Extended attributes ID
    projectId Number
    Project ID

    getExtendedAttributes Result

    The following output properties are available:

    ExtendedAttributes string
    Extended attributes
    ExtendedAttributesId int
    Extended attributes ID
    Id string
    The ID of this resource. Contains the project ID and the credential ID.
    ProjectId int
    Project ID
    State int
    The state of the extended attributes (1 = active, 2 = inactive)
    ExtendedAttributes string
    Extended attributes
    ExtendedAttributesId int
    Extended attributes ID
    Id string
    The ID of this resource. Contains the project ID and the credential ID.
    ProjectId int
    Project ID
    State int
    The state of the extended attributes (1 = active, 2 = inactive)
    extendedAttributes String
    Extended attributes
    extendedAttributesId Integer
    Extended attributes ID
    id String
    The ID of this resource. Contains the project ID and the credential ID.
    projectId Integer
    Project ID
    state Integer
    The state of the extended attributes (1 = active, 2 = inactive)
    extendedAttributes string
    Extended attributes
    extendedAttributesId number
    Extended attributes ID
    id string
    The ID of this resource. Contains the project ID and the credential ID.
    projectId number
    Project ID
    state number
    The state of the extended attributes (1 = active, 2 = inactive)
    extended_attributes str
    Extended attributes
    extended_attributes_id int
    Extended attributes ID
    id str
    The ID of this resource. Contains the project ID and the credential ID.
    project_id int
    Project ID
    state int
    The state of the extended attributes (1 = active, 2 = inactive)
    extendedAttributes String
    Extended attributes
    extendedAttributesId Number
    Extended attributes ID
    id String
    The ID of this resource. Contains the project ID and the credential ID.
    projectId Number
    Project ID
    state Number
    The state of the extended attributes (1 = active, 2 = inactive)

    Package Details

    Repository
    dbtcloud pulumi/pulumi-dbtcloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dbtcloud Terraform Provider.
    dbtcloud logo
    dbt Cloud v1.0.0 published on Wednesday, Jun 11, 2025 by Pulumi