1. Packages
  2. stackit
  3. API Docs
  4. getGit
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud

    Git Instance datasource schema.

    This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.

    Example Usage

    data "stackit_git" "git" {
      project_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getGit

    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 getGit(args: GetGitArgs, opts?: InvokeOptions): Promise<GetGitResult>
    function getGitOutput(args: GetGitOutputArgs, opts?: InvokeOptions): Output<GetGitResult>
    def get_git(instance_id: Optional[str] = None,
                project_id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetGitResult
    def get_git_output(instance_id: Optional[pulumi.Input[str]] = None,
                project_id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetGitResult]
    func LookupGit(ctx *Context, args *LookupGitArgs, opts ...InvokeOption) (*LookupGitResult, error)
    func LookupGitOutput(ctx *Context, args *LookupGitOutputArgs, opts ...InvokeOption) LookupGitResultOutput

    > Note: This function is named LookupGit in the Go SDK.

    public static class GetGit 
    {
        public static Task<GetGitResult> InvokeAsync(GetGitArgs args, InvokeOptions? opts = null)
        public static Output<GetGitResult> Invoke(GetGitInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGitResult> getGit(GetGitArgs args, InvokeOptions options)
    public static Output<GetGitResult> getGit(GetGitArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getGit:getGit
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    ID linked to the git instance.
    ProjectId string
    STACKIT project ID to which the git instance is associated.
    InstanceId string
    ID linked to the git instance.
    ProjectId string
    STACKIT project ID to which the git instance is associated.
    instanceId String
    ID linked to the git instance.
    projectId String
    STACKIT project ID to which the git instance is associated.
    instanceId string
    ID linked to the git instance.
    projectId string
    STACKIT project ID to which the git instance is associated.
    instance_id str
    ID linked to the git instance.
    project_id str
    STACKIT project ID to which the git instance is associated.
    instanceId String
    ID linked to the git instance.
    projectId String
    STACKIT project ID to which the git instance is associated.

    getGit Result

    The following output properties are available:

    Acls List<string>
    Restricted ACL for instance access.
    ConsumedDisk string
    How many bytes of disk space is consumed.
    ConsumedObjectStorage string
    How many bytes of Object Storage is consumed.
    Created string
    Instance creation timestamp in RFC3339 format.
    Flavor string
    Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: https://docs.api.stackit.cloud/documentation/git/version/v1beta
    Id string
    InstanceId string
    ID linked to the git instance.
    Name string
    Unique name linked to the git instance.
    ProjectId string
    STACKIT project ID to which the git instance is associated.
    Url string
    Url linked to the git instance.
    Version string
    Version linked to the git instance.
    Acls []string
    Restricted ACL for instance access.
    ConsumedDisk string
    How many bytes of disk space is consumed.
    ConsumedObjectStorage string
    How many bytes of Object Storage is consumed.
    Created string
    Instance creation timestamp in RFC3339 format.
    Flavor string
    Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: https://docs.api.stackit.cloud/documentation/git/version/v1beta
    Id string
    InstanceId string
    ID linked to the git instance.
    Name string
    Unique name linked to the git instance.
    ProjectId string
    STACKIT project ID to which the git instance is associated.
    Url string
    Url linked to the git instance.
    Version string
    Version linked to the git instance.
    acls List<String>
    Restricted ACL for instance access.
    consumedDisk String
    How many bytes of disk space is consumed.
    consumedObjectStorage String
    How many bytes of Object Storage is consumed.
    created String
    Instance creation timestamp in RFC3339 format.
    flavor String
    Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: https://docs.api.stackit.cloud/documentation/git/version/v1beta
    id String
    instanceId String
    ID linked to the git instance.
    name String
    Unique name linked to the git instance.
    projectId String
    STACKIT project ID to which the git instance is associated.
    url String
    Url linked to the git instance.
    version String
    Version linked to the git instance.
    acls string[]
    Restricted ACL for instance access.
    consumedDisk string
    How many bytes of disk space is consumed.
    consumedObjectStorage string
    How many bytes of Object Storage is consumed.
    created string
    Instance creation timestamp in RFC3339 format.
    flavor string
    Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: https://docs.api.stackit.cloud/documentation/git/version/v1beta
    id string
    instanceId string
    ID linked to the git instance.
    name string
    Unique name linked to the git instance.
    projectId string
    STACKIT project ID to which the git instance is associated.
    url string
    Url linked to the git instance.
    version string
    Version linked to the git instance.
    acls Sequence[str]
    Restricted ACL for instance access.
    consumed_disk str
    How many bytes of disk space is consumed.
    consumed_object_storage str
    How many bytes of Object Storage is consumed.
    created str
    Instance creation timestamp in RFC3339 format.
    flavor str
    Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: https://docs.api.stackit.cloud/documentation/git/version/v1beta
    id str
    instance_id str
    ID linked to the git instance.
    name str
    Unique name linked to the git instance.
    project_id str
    STACKIT project ID to which the git instance is associated.
    url str
    Url linked to the git instance.
    version str
    Version linked to the git instance.
    acls List<String>
    Restricted ACL for instance access.
    consumedDisk String
    How many bytes of disk space is consumed.
    consumedObjectStorage String
    How many bytes of Object Storage is consumed.
    created String
    Instance creation timestamp in RFC3339 format.
    flavor String
    Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: https://docs.api.stackit.cloud/documentation/git/version/v1beta
    id String
    instanceId String
    ID linked to the git instance.
    name String
    Unique name linked to the git instance.
    projectId String
    STACKIT project ID to which the git instance is associated.
    url String
    Url linked to the git instance.
    version String
    Version linked to the git instance.

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.4
    published on Friday, Feb 20, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.