1. Packages
  2. Dbtcloud Provider
  3. API Docs
  4. AccountFeatures
dbt Cloud v0.1.25 published on Friday, Nov 8, 2024 by Pulumi

dbtcloud.AccountFeatures

Explore with Pulumi AI

dbtcloud logo
dbt Cloud v0.1.25 published on Friday, Nov 8, 2024 by Pulumi

    Manages dbt Cloud global features at the account level, like Advanced CI. The same feature should not be configured in different resources to avoid conflicts.

    When destroying the resource or removing the value for an attribute, the features status will not be changed. Deactivating features will require applying them wih the value set to false.

    Create AccountFeatures Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AccountFeatures(name: string, args?: AccountFeaturesArgs, opts?: CustomResourceOptions);
    @overload
    def AccountFeatures(resource_name: str,
                        args: Optional[AccountFeaturesArgs] = None,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AccountFeatures(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        advanced_ci: Optional[bool] = None,
                        partial_parsing: Optional[bool] = None,
                        repo_caching: Optional[bool] = None)
    func NewAccountFeatures(ctx *Context, name string, args *AccountFeaturesArgs, opts ...ResourceOption) (*AccountFeatures, error)
    public AccountFeatures(string name, AccountFeaturesArgs? args = null, CustomResourceOptions? opts = null)
    public AccountFeatures(String name, AccountFeaturesArgs args)
    public AccountFeatures(String name, AccountFeaturesArgs args, CustomResourceOptions options)
    
    type: dbtcloud:AccountFeatures
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AccountFeaturesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AccountFeaturesArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AccountFeaturesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccountFeaturesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccountFeaturesArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var accountFeaturesResource = new DbtCloud.AccountFeatures("accountFeaturesResource", new()
    {
        AdvancedCi = false,
        PartialParsing = false,
        RepoCaching = false,
    });
    
    example, err := dbtcloud.NewAccountFeatures(ctx, "accountFeaturesResource", &dbtcloud.AccountFeaturesArgs{
    	AdvancedCi:     pulumi.Bool(false),
    	PartialParsing: pulumi.Bool(false),
    	RepoCaching:    pulumi.Bool(false),
    })
    
    var accountFeaturesResource = new AccountFeatures("accountFeaturesResource", AccountFeaturesArgs.builder()
        .advancedCi(false)
        .partialParsing(false)
        .repoCaching(false)
        .build());
    
    account_features_resource = dbtcloud.AccountFeatures("accountFeaturesResource",
        advanced_ci=False,
        partial_parsing=False,
        repo_caching=False)
    
    const accountFeaturesResource = new dbtcloud.AccountFeatures("accountFeaturesResource", {
        advancedCi: false,
        partialParsing: false,
        repoCaching: false,
    });
    
    type: dbtcloud:AccountFeatures
    properties:
        advancedCi: false
        partialParsing: false
        repoCaching: false
    

    AccountFeatures Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AccountFeatures resource accepts the following input properties:

    AdvancedCi bool
    Whether advanced CI is enabled.
    PartialParsing bool
    Whether partial parsing is enabled.
    RepoCaching bool
    Whether repository caching is enabled.
    AdvancedCi bool
    Whether advanced CI is enabled.
    PartialParsing bool
    Whether partial parsing is enabled.
    RepoCaching bool
    Whether repository caching is enabled.
    advancedCi Boolean
    Whether advanced CI is enabled.
    partialParsing Boolean
    Whether partial parsing is enabled.
    repoCaching Boolean
    Whether repository caching is enabled.
    advancedCi boolean
    Whether advanced CI is enabled.
    partialParsing boolean
    Whether partial parsing is enabled.
    repoCaching boolean
    Whether repository caching is enabled.
    advanced_ci bool
    Whether advanced CI is enabled.
    partial_parsing bool
    Whether partial parsing is enabled.
    repo_caching bool
    Whether repository caching is enabled.
    advancedCi Boolean
    Whether advanced CI is enabled.
    partialParsing Boolean
    Whether partial parsing is enabled.
    repoCaching Boolean
    Whether repository caching is enabled.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AccountFeatures resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AccountFeatures Resource

    Get an existing AccountFeatures resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AccountFeaturesState, opts?: CustomResourceOptions): AccountFeatures
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            advanced_ci: Optional[bool] = None,
            partial_parsing: Optional[bool] = None,
            repo_caching: Optional[bool] = None) -> AccountFeatures
    func GetAccountFeatures(ctx *Context, name string, id IDInput, state *AccountFeaturesState, opts ...ResourceOption) (*AccountFeatures, error)
    public static AccountFeatures Get(string name, Input<string> id, AccountFeaturesState? state, CustomResourceOptions? opts = null)
    public static AccountFeatures get(String name, Output<String> id, AccountFeaturesState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdvancedCi bool
    Whether advanced CI is enabled.
    PartialParsing bool
    Whether partial parsing is enabled.
    RepoCaching bool
    Whether repository caching is enabled.
    AdvancedCi bool
    Whether advanced CI is enabled.
    PartialParsing bool
    Whether partial parsing is enabled.
    RepoCaching bool
    Whether repository caching is enabled.
    advancedCi Boolean
    Whether advanced CI is enabled.
    partialParsing Boolean
    Whether partial parsing is enabled.
    repoCaching Boolean
    Whether repository caching is enabled.
    advancedCi boolean
    Whether advanced CI is enabled.
    partialParsing boolean
    Whether partial parsing is enabled.
    repoCaching boolean
    Whether repository caching is enabled.
    advanced_ci bool
    Whether advanced CI is enabled.
    partial_parsing bool
    Whether partial parsing is enabled.
    repo_caching bool
    Whether repository caching is enabled.
    advancedCi Boolean
    Whether advanced CI is enabled.
    partialParsing Boolean
    Whether partial parsing is enabled.
    repoCaching Boolean
    Whether repository caching is enabled.

    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 v0.1.25 published on Friday, Nov 8, 2024 by Pulumi