Databricks SDK for JavaScript
    Preparing search index...

    Interface CreateRepoRequest

    interface CreateRepoRequest {
        gitCredentialId?: bigint;
        path?: string;
        provider?: string;
        sparseCheckout?: SparseCheckout;
        url?: string;
    }
    Index

    Properties

    gitCredentialId?: bigint

    Git credential ID to use when cloning the repository. The Git credential must be configured for the current user.

    path?: string

    Desired path for the repo in the workspace. Almost any path in the workspace can be chosen. If repo is created in /Repos, path must be in the format /Repos/{folder}/{repo-name}.

    provider?: string

    Git provider. This field is case-insensitive. The available Git providers are gitHub, bitbucketCloud, gitLab, azureDevOpsServices (Azure DevOps Services, including Microsoft Entra ID authentication), gitHubEnterprise, bitbucketServer (Bitbucket Data Center), gitLabEnterpriseEdition (GitLab Self-Managed), and awsCodeCommit (deprecated by AWS, not accepting new customers).

    sparseCheckout?: SparseCheckout

    If specified, the repo will be created with sparse checkout enabled. You cannot enable/disable sparse checkout after the repo is created.

    url?: string

    URL of the Git repository to be linked.