dbt Cloud v1.0.0 published on Wednesday, Jun 11, 2025 by Pulumi
dbtcloud.getRepository
Explore with Pulumi AI
Retrieve data for a single repository
Using getRepository
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 getRepository(args: GetRepositoryArgs, opts?: InvokeOptions): Promise<GetRepositoryResult>
function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: InvokeOptions): Output<GetRepositoryResult>
def get_repository(fetch_deploy_key: Optional[bool] = None,
project_id: Optional[int] = None,
repository_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetRepositoryResult
def get_repository_output(fetch_deploy_key: Optional[pulumi.Input[bool]] = None,
project_id: Optional[pulumi.Input[int]] = None,
repository_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRepositoryResult]
func LookupRepository(ctx *Context, args *LookupRepositoryArgs, opts ...InvokeOption) (*LookupRepositoryResult, error)
func LookupRepositoryOutput(ctx *Context, args *LookupRepositoryOutputArgs, opts ...InvokeOption) LookupRepositoryResultOutput
> Note: This function is named LookupRepository
in the Go SDK.
public static class GetRepository
{
public static Task<GetRepositoryResult> InvokeAsync(GetRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetRepositoryResult> Invoke(GetRepositoryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
public static Output<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
fn::invoke:
function: dbtcloud:index/getRepository:getRepository
arguments:
# arguments dictionary
The following arguments are supported:
- Project
Id int - Project ID to create the repository in
- Repository
Id int - ID for the repository
- Fetch
Deploy boolKey - Whether we should return the public deploy key
- Project
Id int - Project ID to create the repository in
- Repository
Id int - ID for the repository
- Fetch
Deploy boolKey - Whether we should return the public deploy key
- project
Id Integer - Project ID to create the repository in
- repository
Id Integer - ID for the repository
- fetch
Deploy BooleanKey - Whether we should return the public deploy key
- project
Id number - Project ID to create the repository in
- repository
Id number - ID for the repository
- fetch
Deploy booleanKey - Whether we should return the public deploy key
- project_
id int - Project ID to create the repository in
- repository_
id int - ID for the repository
- fetch_
deploy_ boolkey - Whether we should return the public deploy key
- project
Id Number - Project ID to create the repository in
- repository
Id Number - ID for the repository
- fetch
Deploy BooleanKey - Whether we should return the public deploy key
getRepository Result
The following output properties are available:
- Azure
Active stringDirectory Project Id - The Azure Dev Ops project ID
- Azure
Active stringDirectory Repository Id - The Azure Dev Ops repository ID
- Azure
Bypass boolWebhook Registration Failure - If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks
- Deploy
Key string - Public key generated by dbt when using
deploy_key
clone strategy - Fetch
Deploy boolKey - Whether we should return the public deploy key
- Git
Clone stringStrategy - Git clone strategy for the repository
- Github
Installation intId - Identifier for the GitHub installation
- Gitlab
Project intId - Identifier for the Gitlab project
- Id string
- The ID of this resource
- Is
Active bool - Whether the repository is active
- Project
Id int - Project ID to create the repository in
- Pull
Request stringUrl Template - The pull request URL template to be used when opening a pull request from within dbt Cloud's IDE
- Remote
Url string - Git URL for the repository or / for Gitlab
- Repository
Credentials intId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- Repository
Id int - ID for the repository
- Azure
Active stringDirectory Project Id - The Azure Dev Ops project ID
- Azure
Active stringDirectory Repository Id - The Azure Dev Ops repository ID
- Azure
Bypass boolWebhook Registration Failure - If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks
- Deploy
Key string - Public key generated by dbt when using
deploy_key
clone strategy - Fetch
Deploy boolKey - Whether we should return the public deploy key
- Git
Clone stringStrategy - Git clone strategy for the repository
- Github
Installation intId - Identifier for the GitHub installation
- Gitlab
Project intId - Identifier for the Gitlab project
- Id string
- The ID of this resource
- Is
Active bool - Whether the repository is active
- Project
Id int - Project ID to create the repository in
- Pull
Request stringUrl Template - The pull request URL template to be used when opening a pull request from within dbt Cloud's IDE
- Remote
Url string - Git URL for the repository or / for Gitlab
- Repository
Credentials intId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- Repository
Id int - ID for the repository
- azure
Active StringDirectory Project Id - The Azure Dev Ops project ID
- azure
Active StringDirectory Repository Id - The Azure Dev Ops repository ID
- azure
Bypass BooleanWebhook Registration Failure - If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks
- deploy
Key String - Public key generated by dbt when using
deploy_key
clone strategy - fetch
Deploy BooleanKey - Whether we should return the public deploy key
- git
Clone StringStrategy - Git clone strategy for the repository
- github
Installation IntegerId - Identifier for the GitHub installation
- gitlab
Project IntegerId - Identifier for the Gitlab project
- id String
- The ID of this resource
- is
Active Boolean - Whether the repository is active
- project
Id Integer - Project ID to create the repository in
- pull
Request StringUrl Template - The pull request URL template to be used when opening a pull request from within dbt Cloud's IDE
- remote
Url String - Git URL for the repository or / for Gitlab
- repository
Credentials IntegerId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- repository
Id Integer - ID for the repository
- azure
Active stringDirectory Project Id - The Azure Dev Ops project ID
- azure
Active stringDirectory Repository Id - The Azure Dev Ops repository ID
- azure
Bypass booleanWebhook Registration Failure - If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks
- deploy
Key string - Public key generated by dbt when using
deploy_key
clone strategy - fetch
Deploy booleanKey - Whether we should return the public deploy key
- git
Clone stringStrategy - Git clone strategy for the repository
- github
Installation numberId - Identifier for the GitHub installation
- gitlab
Project numberId - Identifier for the Gitlab project
- id string
- The ID of this resource
- is
Active boolean - Whether the repository is active
- project
Id number - Project ID to create the repository in
- pull
Request stringUrl Template - The pull request URL template to be used when opening a pull request from within dbt Cloud's IDE
- remote
Url string - Git URL for the repository or / for Gitlab
- repository
Credentials numberId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- repository
Id number - ID for the repository
- azure_
active_ strdirectory_ project_ id - The Azure Dev Ops project ID
- azure_
active_ strdirectory_ repository_ id - The Azure Dev Ops repository ID
- azure_
bypass_ boolwebhook_ registration_ failure - If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks
- deploy_
key str - Public key generated by dbt when using
deploy_key
clone strategy - fetch_
deploy_ boolkey - Whether we should return the public deploy key
- git_
clone_ strstrategy - Git clone strategy for the repository
- github_
installation_ intid - Identifier for the GitHub installation
- gitlab_
project_ intid - Identifier for the Gitlab project
- id str
- The ID of this resource
- is_
active bool - Whether the repository is active
- project_
id int - Project ID to create the repository in
- pull_
request_ strurl_ template - The pull request URL template to be used when opening a pull request from within dbt Cloud's IDE
- remote_
url str - Git URL for the repository or / for Gitlab
- repository_
credentials_ intid - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- repository_
id int - ID for the repository
- azure
Active StringDirectory Project Id - The Azure Dev Ops project ID
- azure
Active StringDirectory Repository Id - The Azure Dev Ops repository ID
- azure
Bypass BooleanWebhook Registration Failure - If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks
- deploy
Key String - Public key generated by dbt when using
deploy_key
clone strategy - fetch
Deploy BooleanKey - Whether we should return the public deploy key
- git
Clone StringStrategy - Git clone strategy for the repository
- github
Installation NumberId - Identifier for the GitHub installation
- gitlab
Project NumberId - Identifier for the Gitlab project
- id String
- The ID of this resource
- is
Active Boolean - Whether the repository is active
- project
Id Number - Project ID to create the repository in
- pull
Request StringUrl Template - The pull request URL template to be used when opening a pull request from within dbt Cloud's IDE
- remote
Url String - Git URL for the repository or / for Gitlab
- repository
Credentials NumberId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- repository
Id Number - ID for the repository
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloud
Terraform Provider.