dbt Cloud v0.1.8 published on Tuesday, Jun 11, 2024 by Pulumi
dbtcloud.getEnvironments
Explore with Pulumi AI
Retrieve data for multiple environments
Using getEnvironments
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 getEnvironments(args: GetEnvironmentsArgs, opts?: InvokeOptions): Promise<GetEnvironmentsResult>
function getEnvironmentsOutput(args: GetEnvironmentsOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentsResult>
def get_environments(project_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetEnvironmentsResult
def get_environments_output(project_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentsResult]
func GetEnvironments(ctx *Context, args *GetEnvironmentsArgs, opts ...InvokeOption) (*GetEnvironmentsResult, error)
func GetEnvironmentsOutput(ctx *Context, args *GetEnvironmentsOutputArgs, opts ...InvokeOption) GetEnvironmentsResultOutput
> Note: This function is named GetEnvironments
in the Go SDK.
public static class GetEnvironments
{
public static Task<GetEnvironmentsResult> InvokeAsync(GetEnvironmentsArgs args, InvokeOptions? opts = null)
public static Output<GetEnvironmentsResult> Invoke(GetEnvironmentsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnvironmentsResult> getEnvironments(GetEnvironmentsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: dbtcloud:index/getEnvironments:getEnvironments
arguments:
# arguments dictionary
The following arguments are supported:
- Project
Id int - The project ID to filter the environments for [Optional]
- Project
Id int - The project ID to filter the environments for [Optional]
- project
Id Integer - The project ID to filter the environments for [Optional]
- project
Id number - The project ID to filter the environments for [Optional]
- project_
id int - The project ID to filter the environments for [Optional]
- project
Id Number - The project ID to filter the environments for [Optional]
getEnvironments Result
The following output properties are available:
- Environments
List<Pulumi.
Dbt Cloud. Outputs. Get Environments Environment> - The list of environments
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id int - The project ID to filter the environments for [Optional]
- Environments
[]Get
Environments Environment - The list of environments
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id int - The project ID to filter the environments for [Optional]
- environments
List<Get
Environments Environment> - The list of environments
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id Integer - The project ID to filter the environments for [Optional]
- environments
Get
Environments Environment[] - The list of environments
- id string
- The provider-assigned unique ID for this managed resource.
- project
Id number - The project ID to filter the environments for [Optional]
- environments
Sequence[Get
Environments Environment] - The list of environments
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id int - The project ID to filter the environments for [Optional]
- environments List<Property Map>
- The list of environments
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id Number - The project ID to filter the environments for [Optional]
Supporting Types
GetEnvironmentsEnvironment
- Credentials
Id int - Credential ID to create the environment with. A credential is not required for development environments but is required for deployment environments
- Custom
Branch string - The custom branch name to use
- Dbt
Version string - Version number of dbt to use in this environment.
- Deployment
Type string - The type of deployment environment (currently 'production', 'staging' or empty)
- Environment
Id int - The ID of the environment
- Extended
Attributes intId - The ID of the extended attributes applied
- Name string
- The name of the environment
- Project
Id int - The project ID to which the environment belong
- Type string
- The type of environment (must be either development or deployment)
- Use
Custom boolBranch - Whether to use a custom git branch in this environment
- Credentials
Id int - Credential ID to create the environment with. A credential is not required for development environments but is required for deployment environments
- Custom
Branch string - The custom branch name to use
- Dbt
Version string - Version number of dbt to use in this environment.
- Deployment
Type string - The type of deployment environment (currently 'production', 'staging' or empty)
- Environment
Id int - The ID of the environment
- Extended
Attributes intId - The ID of the extended attributes applied
- Name string
- The name of the environment
- Project
Id int - The project ID to which the environment belong
- Type string
- The type of environment (must be either development or deployment)
- Use
Custom boolBranch - Whether to use a custom git branch in this environment
- credentials
Id Integer - Credential ID to create the environment with. A credential is not required for development environments but is required for deployment environments
- custom
Branch String - The custom branch name to use
- dbt
Version String - Version number of dbt to use in this environment.
- deployment
Type String - The type of deployment environment (currently 'production', 'staging' or empty)
- environment
Id Integer - The ID of the environment
- extended
Attributes IntegerId - The ID of the extended attributes applied
- name String
- The name of the environment
- project
Id Integer - The project ID to which the environment belong
- type String
- The type of environment (must be either development or deployment)
- use
Custom BooleanBranch - Whether to use a custom git branch in this environment
- credentials
Id number - Credential ID to create the environment with. A credential is not required for development environments but is required for deployment environments
- custom
Branch string - The custom branch name to use
- dbt
Version string - Version number of dbt to use in this environment.
- deployment
Type string - The type of deployment environment (currently 'production', 'staging' or empty)
- environment
Id number - The ID of the environment
- extended
Attributes numberId - The ID of the extended attributes applied
- name string
- The name of the environment
- project
Id number - The project ID to which the environment belong
- type string
- The type of environment (must be either development or deployment)
- use
Custom booleanBranch - Whether to use a custom git branch in this environment
- credentials_
id int - Credential ID to create the environment with. A credential is not required for development environments but is required for deployment environments
- custom_
branch str - The custom branch name to use
- dbt_
version str - Version number of dbt to use in this environment.
- deployment_
type str - The type of deployment environment (currently 'production', 'staging' or empty)
- environment_
id int - The ID of the environment
- extended_
attributes_ intid - The ID of the extended attributes applied
- name str
- The name of the environment
- project_
id int - The project ID to which the environment belong
- type str
- The type of environment (must be either development or deployment)
- use_
custom_ boolbranch - Whether to use a custom git branch in this environment
- credentials
Id Number - Credential ID to create the environment with. A credential is not required for development environments but is required for deployment environments
- custom
Branch String - The custom branch name to use
- dbt
Version String - Version number of dbt to use in this environment.
- deployment
Type String - The type of deployment environment (currently 'production', 'staging' or empty)
- environment
Id Number - The ID of the environment
- extended
Attributes NumberId - The ID of the extended attributes applied
- name String
- The name of the environment
- project
Id Number - The project ID to which the environment belong
- type String
- The type of environment (must be either development or deployment)
- use
Custom BooleanBranch - Whether to use a custom git branch in this environment
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloud
Terraform Provider.