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

dbtcloud.getRepository

Explore with Pulumi AI

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

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: dbtcloud:index/getRepository:getRepository
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProjectId int
    Project ID to create the repository in
    RepositoryId int
    ID for the repository
    FetchDeployKey bool
    Whether we should return the public deploy key

    Deprecated: This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is deploy_key

    ProjectId int
    Project ID to create the repository in
    RepositoryId int
    ID for the repository
    FetchDeployKey bool
    Whether we should return the public deploy key

    Deprecated: This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is deploy_key

    projectId Integer
    Project ID to create the repository in
    repositoryId Integer
    ID for the repository
    fetchDeployKey Boolean
    Whether we should return the public deploy key

    Deprecated: This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is deploy_key

    projectId number
    Project ID to create the repository in
    repositoryId number
    ID for the repository
    fetchDeployKey boolean
    Whether we should return the public deploy key

    Deprecated: This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is deploy_key

    project_id int
    Project ID to create the repository in
    repository_id int
    ID for the repository
    fetch_deploy_key bool
    Whether we should return the public deploy key

    Deprecated: This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is deploy_key

    projectId Number
    Project ID to create the repository in
    repositoryId Number
    ID for the repository
    fetchDeployKey Boolean
    Whether we should return the public deploy key

    Deprecated: This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is deploy_key

    getRepository Result

    The following output properties are available:

    DeployKey string
    Public key generated by dbt when using deploy_key clone strategy
    GitCloneStrategy string
    Git clone strategy for the repository
    GithubInstallationId int
    Identifier for the GitHub installation
    GitlabProjectId int
    Identifier for the Gitlab project
    Id string
    The provider-assigned unique ID for this managed resource.
    IsActive bool
    Whether the repository is active
    ProjectId int
    Project ID to create the repository in
    RemoteUrl string
    Connection name
    RepositoryCredentialsId int
    Credentials ID for the repository (From the repository side not the dbt Cloud ID)
    RepositoryId int
    ID for the repository
    FetchDeployKey bool
    Whether we should return the public deploy key

    Deprecated: This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is deploy_key

    DeployKey string
    Public key generated by dbt when using deploy_key clone strategy
    GitCloneStrategy string
    Git clone strategy for the repository
    GithubInstallationId int
    Identifier for the GitHub installation
    GitlabProjectId int
    Identifier for the Gitlab project
    Id string
    The provider-assigned unique ID for this managed resource.
    IsActive bool
    Whether the repository is active
    ProjectId int
    Project ID to create the repository in
    RemoteUrl string
    Connection name
    RepositoryCredentialsId int
    Credentials ID for the repository (From the repository side not the dbt Cloud ID)
    RepositoryId int
    ID for the repository
    FetchDeployKey bool
    Whether we should return the public deploy key

    Deprecated: This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is deploy_key

    deployKey String
    Public key generated by dbt when using deploy_key clone strategy
    gitCloneStrategy String
    Git clone strategy for the repository
    githubInstallationId Integer
    Identifier for the GitHub installation
    gitlabProjectId Integer
    Identifier for the Gitlab project
    id String
    The provider-assigned unique ID for this managed resource.
    isActive Boolean
    Whether the repository is active
    projectId Integer
    Project ID to create the repository in
    remoteUrl String
    Connection name
    repositoryCredentialsId Integer
    Credentials ID for the repository (From the repository side not the dbt Cloud ID)
    repositoryId Integer
    ID for the repository
    fetchDeployKey Boolean
    Whether we should return the public deploy key

    Deprecated: This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is deploy_key

    deployKey string
    Public key generated by dbt when using deploy_key clone strategy
    gitCloneStrategy string
    Git clone strategy for the repository
    githubInstallationId number
    Identifier for the GitHub installation
    gitlabProjectId number
    Identifier for the Gitlab project
    id string
    The provider-assigned unique ID for this managed resource.
    isActive boolean
    Whether the repository is active
    projectId number
    Project ID to create the repository in
    remoteUrl string
    Connection name
    repositoryCredentialsId number
    Credentials ID for the repository (From the repository side not the dbt Cloud ID)
    repositoryId number
    ID for the repository
    fetchDeployKey boolean
    Whether we should return the public deploy key

    Deprecated: This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is deploy_key

    deploy_key str
    Public key generated by dbt when using deploy_key clone strategy
    git_clone_strategy str
    Git clone strategy for the repository
    github_installation_id int
    Identifier for the GitHub installation
    gitlab_project_id int
    Identifier for the Gitlab project
    id str
    The provider-assigned unique ID for this managed resource.
    is_active bool
    Whether the repository is active
    project_id int
    Project ID to create the repository in
    remote_url str
    Connection name
    repository_credentials_id int
    Credentials ID for the repository (From the repository side not the dbt Cloud ID)
    repository_id int
    ID for the repository
    fetch_deploy_key bool
    Whether we should return the public deploy key

    Deprecated: This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is deploy_key

    deployKey String
    Public key generated by dbt when using deploy_key clone strategy
    gitCloneStrategy String
    Git clone strategy for the repository
    githubInstallationId Number
    Identifier for the GitHub installation
    gitlabProjectId Number
    Identifier for the Gitlab project
    id String
    The provider-assigned unique ID for this managed resource.
    isActive Boolean
    Whether the repository is active
    projectId Number
    Project ID to create the repository in
    remoteUrl String
    Connection name
    repositoryCredentialsId Number
    Credentials ID for the repository (From the repository side not the dbt Cloud ID)
    repositoryId Number
    ID for the repository
    fetchDeployKey Boolean
    Whether we should return the public deploy key

    Deprecated: This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is deploy_key

    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