1. Packages
  2. dbt Cloud Provider
  3. API Docs
  4. getExtendedAttributes
dbt Cloud v0.1.30 published on Thursday, Mar 20, 2025 by Pulumi

dbtcloud.getExtendedAttributes

Explore with Pulumi AI

dbt Cloud v0.1.30 published on Thursday, Mar 20, 2025 by Pulumi

Example Usage

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

const myExtendedAttributes = dbtcloud.getExtendedAttributes({
    extendedAttributesId: 12345,
    projectId: 6789,
});
Copy
import pulumi
import pulumi_dbtcloud as dbtcloud

my_extended_attributes = dbtcloud.get_extended_attributes(extended_attributes_id=12345,
    project_id=6789)
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  myExtendedAttributes:
    fn::invoke:
      function: dbtcloud:getExtendedAttributes
      arguments:
        extendedAttributesId: 12345
        projectId: 6789
Copy

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>
Copy
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]
Copy
func LookupExtendedAttributes(ctx *Context, args *LookupExtendedAttributesArgs, opts ...InvokeOption) (*LookupExtendedAttributesResult, error)
func LookupExtendedAttributesOutput(ctx *Context, args *LookupExtendedAttributesOutputArgs, opts ...InvokeOption) LookupExtendedAttributesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetExtendedAttributesResult> getExtendedAttributes(GetExtendedAttributesArgs args, InvokeOptions options)
public static Output<GetExtendedAttributesResult> getExtendedAttributes(GetExtendedAttributesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: dbtcloud:index/getExtendedAttributes:getExtendedAttributes
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ExtendedAttributesId This property is required. int
ID of the extended attributes
ProjectId This property is required. int
Project ID the extended attributes refers to
ExtendedAttributesId This property is required. int
ID of the extended attributes
ProjectId This property is required. int
Project ID the extended attributes refers to
extendedAttributesId This property is required. Integer
ID of the extended attributes
projectId This property is required. Integer
Project ID the extended attributes refers to
extendedAttributesId This property is required. number
ID of the extended attributes
projectId This property is required. number
Project ID the extended attributes refers to
extended_attributes_id This property is required. int
ID of the extended attributes
project_id This property is required. int
Project ID the extended attributes refers to
extendedAttributesId This property is required. Number
ID of the extended attributes
projectId This property is required. Number
Project ID the extended attributes refers to

getExtendedAttributes Result

The following output properties are available:

ExtendedAttributes string
A JSON string listing the extended attributes mapping
ExtendedAttributesId int
ID of the extended attributes
Id string
The provider-assigned unique ID for this managed resource.
ProjectId int
Project ID the extended attributes refers to
State int
The state of the extended attributes (1 = active, 2 = inactive)
ExtendedAttributes string
A JSON string listing the extended attributes mapping
ExtendedAttributesId int
ID of the extended attributes
Id string
The provider-assigned unique ID for this managed resource.
ProjectId int
Project ID the extended attributes refers to
State int
The state of the extended attributes (1 = active, 2 = inactive)
extendedAttributes String
A JSON string listing the extended attributes mapping
extendedAttributesId Integer
ID of the extended attributes
id String
The provider-assigned unique ID for this managed resource.
projectId Integer
Project ID the extended attributes refers to
state Integer
The state of the extended attributes (1 = active, 2 = inactive)
extendedAttributes string
A JSON string listing the extended attributes mapping
extendedAttributesId number
ID of the extended attributes
id string
The provider-assigned unique ID for this managed resource.
projectId number
Project ID the extended attributes refers to
state number
The state of the extended attributes (1 = active, 2 = inactive)
extended_attributes str
A JSON string listing the extended attributes mapping
extended_attributes_id int
ID of the extended attributes
id str
The provider-assigned unique ID for this managed resource.
project_id int
Project ID the extended attributes refers to
state int
The state of the extended attributes (1 = active, 2 = inactive)
extendedAttributes String
A JSON string listing the extended attributes mapping
extendedAttributesId Number
ID of the extended attributes
id String
The provider-assigned unique ID for this managed resource.
projectId Number
Project ID the extended attributes refers to
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.
dbt Cloud v0.1.30 published on Thursday, Mar 20, 2025 by Pulumi