dbt Cloud v0.1.8 published on Tuesday, Jun 11, 2024 by Pulumi
dbtcloud.getExtendedAttributes
Explore with Pulumi AI
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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: dbtcloud:index/getExtendedAttributes:getExtendedAttributes
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Extended
Attributes intId  - ID of the extended attributes
 - Project
Id int - Project ID the extended attributes refers to
 
- Extended
Attributes intId  - ID of the extended attributes
 - Project
Id int - Project ID the extended attributes refers to
 
- extended
Attributes IntegerId  - ID of the extended attributes
 - project
Id Integer - Project ID the extended attributes refers to
 
- extended
Attributes numberId  - ID of the extended attributes
 - project
Id number - Project ID the extended attributes refers to
 
- extended_
attributes_ intid  - ID of the extended attributes
 - project_
id int - Project ID the extended attributes refers to
 
- extended
Attributes NumberId  - ID of the extended attributes
 - project
Id Number - Project ID the extended attributes refers to
 
getExtendedAttributes Result
The following output properties are available:
- Extended
Attributes string - A JSON string listing the extended attributes mapping
 - Extended
Attributes intId  - ID of the extended attributes
 - Id string
 - 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)
 
- Extended
Attributes string - A JSON string listing the extended attributes mapping
 - Extended
Attributes intId  - ID of the extended attributes
 - Id string
 - 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)
 
- extended
Attributes String - A JSON string listing the extended attributes mapping
 - extended
Attributes IntegerId  - ID of the extended attributes
 - id String
 - The provider-assigned unique ID for this managed resource.
 - project
Id Integer - Project ID the extended attributes refers to
 - state Integer
 - The state of the extended attributes (1 = active, 2 = inactive)
 
- extended
Attributes string - A JSON string listing the extended attributes mapping
 - extended
Attributes numberId  - ID of the extended attributes
 - id string
 - The provider-assigned unique ID for this managed resource.
 - project
Id 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_ intid  - 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)
 
- extended
Attributes String - A JSON string listing the extended attributes mapping
 - extended
Attributes NumberId  - ID of the extended attributes
 - id String
 - The provider-assigned unique ID for this managed resource.
 - project
Id 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 
dbtcloudTerraform Provider.