ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getCdToolchainToolGitlab
Explore with Pulumi AI
Provides a read-only data source to retrieve information about a cd_toolchain_tool_gitlab. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
See the tool integration page for more information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const cdToolchainToolGitlab = ibm.getCdToolchainToolGitlab({
toolId: "9603dcd4-3c86-44f8-8d0a-9427369878cf",
toolchainId: data.ibm_cd_toolchain.cd_toolchain.id,
});
import pulumi
import pulumi_ibm as ibm
cd_toolchain_tool_gitlab = ibm.get_cd_toolchain_tool_gitlab(tool_id="9603dcd4-3c86-44f8-8d0a-9427369878cf",
toolchain_id=data["ibm_cd_toolchain"]["cd_toolchain"]["id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.LookupCdToolchainToolGitlab(ctx, &ibm.LookupCdToolchainToolGitlabArgs{
ToolId: "9603dcd4-3c86-44f8-8d0a-9427369878cf",
ToolchainId: data.Ibm_cd_toolchain.Cd_toolchain.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var cdToolchainToolGitlab = Ibm.GetCdToolchainToolGitlab.Invoke(new()
{
ToolId = "9603dcd4-3c86-44f8-8d0a-9427369878cf",
ToolchainId = data.Ibm_cd_toolchain.Cd_toolchain.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetCdToolchainToolGitlabArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var cdToolchainToolGitlab = IbmFunctions.getCdToolchainToolGitlab(GetCdToolchainToolGitlabArgs.builder()
.toolId("9603dcd4-3c86-44f8-8d0a-9427369878cf")
.toolchainId(data.ibm_cd_toolchain().cd_toolchain().id())
.build());
}
}
variables:
cdToolchainToolGitlab:
fn::invoke:
function: ibm:getCdToolchainToolGitlab
arguments:
toolId: 9603dcd4-3c86-44f8-8d0a-9427369878cf
toolchainId: ${data.ibm_cd_toolchain.cd_toolchain.id}
Using getCdToolchainToolGitlab
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 getCdToolchainToolGitlab(args: GetCdToolchainToolGitlabArgs, opts?: InvokeOptions): Promise<GetCdToolchainToolGitlabResult>
function getCdToolchainToolGitlabOutput(args: GetCdToolchainToolGitlabOutputArgs, opts?: InvokeOptions): Output<GetCdToolchainToolGitlabResult>
def get_cd_toolchain_tool_gitlab(id: Optional[str] = None,
tool_id: Optional[str] = None,
toolchain_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCdToolchainToolGitlabResult
def get_cd_toolchain_tool_gitlab_output(id: Optional[pulumi.Input[str]] = None,
tool_id: Optional[pulumi.Input[str]] = None,
toolchain_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCdToolchainToolGitlabResult]
func LookupCdToolchainToolGitlab(ctx *Context, args *LookupCdToolchainToolGitlabArgs, opts ...InvokeOption) (*LookupCdToolchainToolGitlabResult, error)
func LookupCdToolchainToolGitlabOutput(ctx *Context, args *LookupCdToolchainToolGitlabOutputArgs, opts ...InvokeOption) LookupCdToolchainToolGitlabResultOutput
> Note: This function is named LookupCdToolchainToolGitlab
in the Go SDK.
public static class GetCdToolchainToolGitlab
{
public static Task<GetCdToolchainToolGitlabResult> InvokeAsync(GetCdToolchainToolGitlabArgs args, InvokeOptions? opts = null)
public static Output<GetCdToolchainToolGitlabResult> Invoke(GetCdToolchainToolGitlabInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCdToolchainToolGitlabResult> getCdToolchainToolGitlab(GetCdToolchainToolGitlabArgs args, InvokeOptions options)
public static Output<GetCdToolchainToolGitlabResult> getCdToolchainToolGitlab(GetCdToolchainToolGitlabArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getCdToolchainToolGitlab:getCdToolchainToolGitlab
arguments:
# arguments dictionary
The following arguments are supported:
- Tool
Id string - ID of the tool bound to the toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- Toolchain
Id string - ID of the toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- Id string
- The unique identifier of the cd_toolchain_tool_gitlab.
- Tool
Id string - ID of the tool bound to the toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- Toolchain
Id string - ID of the toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- Id string
- The unique identifier of the cd_toolchain_tool_gitlab.
- tool
Id String - ID of the tool bound to the toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- toolchain
Id String - ID of the toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- id String
- The unique identifier of the cd_toolchain_tool_gitlab.
- tool
Id string - ID of the tool bound to the toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- toolchain
Id string - ID of the toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- id string
- The unique identifier of the cd_toolchain_tool_gitlab.
- tool_
id str - ID of the tool bound to the toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- toolchain_
id str - ID of the toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- id str
- The unique identifier of the cd_toolchain_tool_gitlab.
- tool
Id String - ID of the tool bound to the toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- toolchain
Id String - ID of the toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- id String
- The unique identifier of the cd_toolchain_tool_gitlab.
getCdToolchainToolGitlab Result
The following output properties are available:
- Crn string
- (String) Tool CRN.
- Href string
- (String) URI representing the tool.
- Id string
- The unique identifier of the cd_toolchain_tool_gitlab.
- Name string
- (String) Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- Parameters
List<Get
Cd Toolchain Tool Gitlab Parameter> - (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- Referents
List<Get
Cd Toolchain Tool Gitlab Referent> - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- Resource
Group stringId - (String) Resource group where the tool is located.
- State string
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- Tool
Id string - Toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- Toolchain
Id string - Updated
At string - (String) Latest tool update timestamp.
- Crn string
- (String) Tool CRN.
- Href string
- (String) URI representing the tool.
- Id string
- The unique identifier of the cd_toolchain_tool_gitlab.
- Name string
- (String) Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- Parameters
[]Get
Cd Toolchain Tool Gitlab Parameter - (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- Referents
[]Get
Cd Toolchain Tool Gitlab Referent - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- Resource
Group stringId - (String) Resource group where the tool is located.
- State string
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- Tool
Id string - Toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- Toolchain
Id string - Updated
At string - (String) Latest tool update timestamp.
- crn String
- (String) Tool CRN.
- href String
- (String) URI representing the tool.
- id String
- The unique identifier of the cd_toolchain_tool_gitlab.
- name String
- (String) Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
List<Get
Cd Toolchain Tool Gitlab Parameter> - (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- referents
List<Get
Cd Toolchain Tool Gitlab Referent> - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group StringId - (String) Resource group where the tool is located.
- state String
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- tool
Id String - toolchain
Crn String - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id String - updated
At String - (String) Latest tool update timestamp.
- crn string
- (String) Tool CRN.
- href string
- (String) URI representing the tool.
- id string
- The unique identifier of the cd_toolchain_tool_gitlab.
- name string
- (String) Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Get
Cd Toolchain Tool Gitlab Parameter[] - (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- referents
Get
Cd Toolchain Tool Gitlab Referent[] - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group stringId - (String) Resource group where the tool is located.
- state string
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- tool
Id string - toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id string - updated
At string - (String) Latest tool update timestamp.
- crn str
- (String) Tool CRN.
- href str
- (String) URI representing the tool.
- id str
- The unique identifier of the cd_toolchain_tool_gitlab.
- name str
- (String) Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Sequence[Get
Cd Toolchain Tool Gitlab Parameter] - (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- referents
Sequence[Get
Cd Toolchain Tool Gitlab Referent] - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource_
group_ strid - (String) Resource group where the tool is located.
- state str
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- tool_
id str - toolchain_
crn str - (String) CRN of toolchain which the tool is bound to.
- toolchain_
id str - updated_
at str - (String) Latest tool update timestamp.
- crn String
- (String) Tool CRN.
- href String
- (String) URI representing the tool.
- id String
- The unique identifier of the cd_toolchain_tool_gitlab.
- name String
- (String) Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters List<Property Map>
- (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- referents List<Property Map>
- (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group StringId - (String) Resource group where the tool is located.
- state String
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- tool
Id String - toolchain
Crn String - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id String - updated
At String - (String) Latest tool update timestamp.
Supporting Types
GetCdToolchainToolGitlabParameter
- Api
Root stringUrl - (String) The API root URL for the GitLab Server.
- Api
Token string - (String) Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
- Auth
Type string - (String) Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.
- Constraints: Allowable values are:
oauth
,pat
.
- Constraints: Allowable values are:
- Blind
Connection bool - (Boolean) Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.
- Constraints: The default value is
false
.
- Constraints: The default value is
- Default
Branch string - (String) The default branch of the git repository.
- Enable
Traceability bool - (Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.
- Constraints: The default value is
false
.
- Constraints: The default value is
- Git
Id string - (String) Set this value to 'gitlab' for gitlab.com, or 'gitlabcustom' for a custom GitLab server.
- Integration
Owner string - (String) Select the user which git operations will be performed as.
- Owner
Id string - (String) The GitLab user or group that owns the repository. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
- Private
Repo bool - (Boolean) Set this value to 'true' to make the repository private when creating a new repository or when cloning or forking a repository. This parameter is not used when linking to an existing repository.
- Constraints: The default value is
true
.
- Constraints: The default value is
- Repo
Id string - (String) The ID of the GitLab project.
- Repo
Name string - (String) The name of the new GitLab repository to create. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
- Repo
Url string - (String) The URL of the GitLab repository for this tool integration. This parameter is required when linking to an existing repository. The value will be computed when creating a new repository, cloning, or forking a repository.
- Root
Url string - (String) The Root URL of the server. e.g. https://gitlab.example.com.
- Source
Repo stringUrl - (String) The URL of the repository that you are forking or cloning. This parameter is required when forking or cloning a repository. It is not used when creating a new repository or linking to an existing repository.
- Title string
- (String) The title of the server. e.g. My GitLab Enterprise Server.
- Token
Url string - (String) The token URL used for authorizing with the GitLab server.
- Toolchain
Issues boolEnabled - (Boolean) Setting this value to true will enable issues on the GitLab repository and add an issues tool card to the toolchain. Setting the value to false will remove the tool card from the toolchain, but will not impact whether or not issues are enabled on the GitLab repository itself.
- Constraints: The default value is
true
.
- Constraints: The default value is
- Type string
- (String) The operation that should be performed to initialize the new tool integration. Use 'new' or 'new_if_not_exists' to create a new git repository, 'clone' or 'clone_if_not_exists' to clone an existing repository into a new git repository, 'fork' or 'fork_if_not_exists' to fork an existing git repository, or 'link' to link to an existing git repository. If you attempt to apply a resource with type 'new', 'clone', or 'fork' when the target repo already exists, the attempt will fail. If you apply a resource with type 'new_if_not_exists`, 'clone_if_not_exists', or 'fork_if_not_exists' when the target repo already exists, the existing repo will be used as-is.
- Constraints: Allowable values are:
new
,fork
,clone
,link
,new_if_not_exists
,clone_if_not_exists
,fork_if_not_exists
.
- Constraints: Allowable values are:
- Api
Root stringUrl - (String) The API root URL for the GitLab Server.
- Api
Token string - (String) Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
- Auth
Type string - (String) Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.
- Constraints: Allowable values are:
oauth
,pat
.
- Constraints: Allowable values are:
- Blind
Connection bool - (Boolean) Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.
- Constraints: The default value is
false
.
- Constraints: The default value is
- Default
Branch string - (String) The default branch of the git repository.
- Enable
Traceability bool - (Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.
- Constraints: The default value is
false
.
- Constraints: The default value is
- Git
Id string - (String) Set this value to 'gitlab' for gitlab.com, or 'gitlabcustom' for a custom GitLab server.
- Integration
Owner string - (String) Select the user which git operations will be performed as.
- Owner
Id string - (String) The GitLab user or group that owns the repository. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
- Private
Repo bool - (Boolean) Set this value to 'true' to make the repository private when creating a new repository or when cloning or forking a repository. This parameter is not used when linking to an existing repository.
- Constraints: The default value is
true
.
- Constraints: The default value is
- Repo
Id string - (String) The ID of the GitLab project.
- Repo
Name string - (String) The name of the new GitLab repository to create. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
- Repo
Url string - (String) The URL of the GitLab repository for this tool integration. This parameter is required when linking to an existing repository. The value will be computed when creating a new repository, cloning, or forking a repository.
- Root
Url string - (String) The Root URL of the server. e.g. https://gitlab.example.com.
- Source
Repo stringUrl - (String) The URL of the repository that you are forking or cloning. This parameter is required when forking or cloning a repository. It is not used when creating a new repository or linking to an existing repository.
- Title string
- (String) The title of the server. e.g. My GitLab Enterprise Server.
- Token
Url string - (String) The token URL used for authorizing with the GitLab server.
- Toolchain
Issues boolEnabled - (Boolean) Setting this value to true will enable issues on the GitLab repository and add an issues tool card to the toolchain. Setting the value to false will remove the tool card from the toolchain, but will not impact whether or not issues are enabled on the GitLab repository itself.
- Constraints: The default value is
true
.
- Constraints: The default value is
- Type string
- (String) The operation that should be performed to initialize the new tool integration. Use 'new' or 'new_if_not_exists' to create a new git repository, 'clone' or 'clone_if_not_exists' to clone an existing repository into a new git repository, 'fork' or 'fork_if_not_exists' to fork an existing git repository, or 'link' to link to an existing git repository. If you attempt to apply a resource with type 'new', 'clone', or 'fork' when the target repo already exists, the attempt will fail. If you apply a resource with type 'new_if_not_exists`, 'clone_if_not_exists', or 'fork_if_not_exists' when the target repo already exists, the existing repo will be used as-is.
- Constraints: Allowable values are:
new
,fork
,clone
,link
,new_if_not_exists
,clone_if_not_exists
,fork_if_not_exists
.
- Constraints: Allowable values are:
- api
Root StringUrl - (String) The API root URL for the GitLab Server.
- api
Token String - (String) Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
- auth
Type String - (String) Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.
- Constraints: Allowable values are:
oauth
,pat
.
- Constraints: Allowable values are:
- blind
Connection Boolean - (Boolean) Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.
- Constraints: The default value is
false
.
- Constraints: The default value is
- default
Branch String - (String) The default branch of the git repository.
- enable
Traceability Boolean - (Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.
- Constraints: The default value is
false
.
- Constraints: The default value is
- git
Id String - (String) Set this value to 'gitlab' for gitlab.com, or 'gitlabcustom' for a custom GitLab server.
- integration
Owner String - (String) Select the user which git operations will be performed as.
- owner
Id String - (String) The GitLab user or group that owns the repository. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
- private
Repo Boolean - (Boolean) Set this value to 'true' to make the repository private when creating a new repository or when cloning or forking a repository. This parameter is not used when linking to an existing repository.
- Constraints: The default value is
true
.
- Constraints: The default value is
- repo
Id String - (String) The ID of the GitLab project.
- repo
Name String - (String) The name of the new GitLab repository to create. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
- repo
Url String - (String) The URL of the GitLab repository for this tool integration. This parameter is required when linking to an existing repository. The value will be computed when creating a new repository, cloning, or forking a repository.
- root
Url String - (String) The Root URL of the server. e.g. https://gitlab.example.com.
- source
Repo StringUrl - (String) The URL of the repository that you are forking or cloning. This parameter is required when forking or cloning a repository. It is not used when creating a new repository or linking to an existing repository.
- title String
- (String) The title of the server. e.g. My GitLab Enterprise Server.
- token
Url String - (String) The token URL used for authorizing with the GitLab server.
- toolchain
Issues BooleanEnabled - (Boolean) Setting this value to true will enable issues on the GitLab repository and add an issues tool card to the toolchain. Setting the value to false will remove the tool card from the toolchain, but will not impact whether or not issues are enabled on the GitLab repository itself.
- Constraints: The default value is
true
.
- Constraints: The default value is
- type String
- (String) The operation that should be performed to initialize the new tool integration. Use 'new' or 'new_if_not_exists' to create a new git repository, 'clone' or 'clone_if_not_exists' to clone an existing repository into a new git repository, 'fork' or 'fork_if_not_exists' to fork an existing git repository, or 'link' to link to an existing git repository. If you attempt to apply a resource with type 'new', 'clone', or 'fork' when the target repo already exists, the attempt will fail. If you apply a resource with type 'new_if_not_exists`, 'clone_if_not_exists', or 'fork_if_not_exists' when the target repo already exists, the existing repo will be used as-is.
- Constraints: Allowable values are:
new
,fork
,clone
,link
,new_if_not_exists
,clone_if_not_exists
,fork_if_not_exists
.
- Constraints: Allowable values are:
- api
Root stringUrl - (String) The API root URL for the GitLab Server.
- api
Token string - (String) Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
- auth
Type string - (String) Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.
- Constraints: Allowable values are:
oauth
,pat
.
- Constraints: Allowable values are:
- blind
Connection boolean - (Boolean) Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.
- Constraints: The default value is
false
.
- Constraints: The default value is
- default
Branch string - (String) The default branch of the git repository.
- enable
Traceability boolean - (Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.
- Constraints: The default value is
false
.
- Constraints: The default value is
- git
Id string - (String) Set this value to 'gitlab' for gitlab.com, or 'gitlabcustom' for a custom GitLab server.
- integration
Owner string - (String) Select the user which git operations will be performed as.
- owner
Id string - (String) The GitLab user or group that owns the repository. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
- private
Repo boolean - (Boolean) Set this value to 'true' to make the repository private when creating a new repository or when cloning or forking a repository. This parameter is not used when linking to an existing repository.
- Constraints: The default value is
true
.
- Constraints: The default value is
- repo
Id string - (String) The ID of the GitLab project.
- repo
Name string - (String) The name of the new GitLab repository to create. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
- repo
Url string - (String) The URL of the GitLab repository for this tool integration. This parameter is required when linking to an existing repository. The value will be computed when creating a new repository, cloning, or forking a repository.
- root
Url string - (String) The Root URL of the server. e.g. https://gitlab.example.com.
- source
Repo stringUrl - (String) The URL of the repository that you are forking or cloning. This parameter is required when forking or cloning a repository. It is not used when creating a new repository or linking to an existing repository.
- title string
- (String) The title of the server. e.g. My GitLab Enterprise Server.
- token
Url string - (String) The token URL used for authorizing with the GitLab server.
- toolchain
Issues booleanEnabled - (Boolean) Setting this value to true will enable issues on the GitLab repository and add an issues tool card to the toolchain. Setting the value to false will remove the tool card from the toolchain, but will not impact whether or not issues are enabled on the GitLab repository itself.
- Constraints: The default value is
true
.
- Constraints: The default value is
- type string
- (String) The operation that should be performed to initialize the new tool integration. Use 'new' or 'new_if_not_exists' to create a new git repository, 'clone' or 'clone_if_not_exists' to clone an existing repository into a new git repository, 'fork' or 'fork_if_not_exists' to fork an existing git repository, or 'link' to link to an existing git repository. If you attempt to apply a resource with type 'new', 'clone', or 'fork' when the target repo already exists, the attempt will fail. If you apply a resource with type 'new_if_not_exists`, 'clone_if_not_exists', or 'fork_if_not_exists' when the target repo already exists, the existing repo will be used as-is.
- Constraints: Allowable values are:
new
,fork
,clone
,link
,new_if_not_exists
,clone_if_not_exists
,fork_if_not_exists
.
- Constraints: Allowable values are:
- api_
root_ strurl - (String) The API root URL for the GitLab Server.
- api_
token str - (String) Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
- auth_
type str - (String) Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.
- Constraints: Allowable values are:
oauth
,pat
.
- Constraints: Allowable values are:
- blind_
connection bool - (Boolean) Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.
- Constraints: The default value is
false
.
- Constraints: The default value is
- default_
branch str - (String) The default branch of the git repository.
- enable_
traceability bool - (Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.
- Constraints: The default value is
false
.
- Constraints: The default value is
- git_
id str - (String) Set this value to 'gitlab' for gitlab.com, or 'gitlabcustom' for a custom GitLab server.
- integration_
owner str - (String) Select the user which git operations will be performed as.
- owner_
id str - (String) The GitLab user or group that owns the repository. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
- private_
repo bool - (Boolean) Set this value to 'true' to make the repository private when creating a new repository or when cloning or forking a repository. This parameter is not used when linking to an existing repository.
- Constraints: The default value is
true
.
- Constraints: The default value is
- repo_
id str - (String) The ID of the GitLab project.
- repo_
name str - (String) The name of the new GitLab repository to create. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
- repo_
url str - (String) The URL of the GitLab repository for this tool integration. This parameter is required when linking to an existing repository. The value will be computed when creating a new repository, cloning, or forking a repository.
- root_
url str - (String) The Root URL of the server. e.g. https://gitlab.example.com.
- source_
repo_ strurl - (String) The URL of the repository that you are forking or cloning. This parameter is required when forking or cloning a repository. It is not used when creating a new repository or linking to an existing repository.
- title str
- (String) The title of the server. e.g. My GitLab Enterprise Server.
- token_
url str - (String) The token URL used for authorizing with the GitLab server.
- toolchain_
issues_ boolenabled - (Boolean) Setting this value to true will enable issues on the GitLab repository and add an issues tool card to the toolchain. Setting the value to false will remove the tool card from the toolchain, but will not impact whether or not issues are enabled on the GitLab repository itself.
- Constraints: The default value is
true
.
- Constraints: The default value is
- type str
- (String) The operation that should be performed to initialize the new tool integration. Use 'new' or 'new_if_not_exists' to create a new git repository, 'clone' or 'clone_if_not_exists' to clone an existing repository into a new git repository, 'fork' or 'fork_if_not_exists' to fork an existing git repository, or 'link' to link to an existing git repository. If you attempt to apply a resource with type 'new', 'clone', or 'fork' when the target repo already exists, the attempt will fail. If you apply a resource with type 'new_if_not_exists`, 'clone_if_not_exists', or 'fork_if_not_exists' when the target repo already exists, the existing repo will be used as-is.
- Constraints: Allowable values are:
new
,fork
,clone
,link
,new_if_not_exists
,clone_if_not_exists
,fork_if_not_exists
.
- Constraints: Allowable values are:
- api
Root StringUrl - (String) The API root URL for the GitLab Server.
- api
Token String - (String) Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
- auth
Type String - (String) Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.
- Constraints: Allowable values are:
oauth
,pat
.
- Constraints: Allowable values are:
- blind
Connection Boolean - (Boolean) Setting this value to true means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.
- Constraints: The default value is
false
.
- Constraints: The default value is
- default
Branch String - (String) The default branch of the git repository.
- enable
Traceability Boolean - (Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.
- Constraints: The default value is
false
.
- Constraints: The default value is
- git
Id String - (String) Set this value to 'gitlab' for gitlab.com, or 'gitlabcustom' for a custom GitLab server.
- integration
Owner String - (String) Select the user which git operations will be performed as.
- owner
Id String - (String) The GitLab user or group that owns the repository. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
- private
Repo Boolean - (Boolean) Set this value to 'true' to make the repository private when creating a new repository or when cloning or forking a repository. This parameter is not used when linking to an existing repository.
- Constraints: The default value is
true
.
- Constraints: The default value is
- repo
Id String - (String) The ID of the GitLab project.
- repo
Name String - (String) The name of the new GitLab repository to create. This parameter is required when creating a new repository, cloning, or forking a repository. The value will be computed when linking to an existing repository.
- repo
Url String - (String) The URL of the GitLab repository for this tool integration. This parameter is required when linking to an existing repository. The value will be computed when creating a new repository, cloning, or forking a repository.
- root
Url String - (String) The Root URL of the server. e.g. https://gitlab.example.com.
- source
Repo StringUrl - (String) The URL of the repository that you are forking or cloning. This parameter is required when forking or cloning a repository. It is not used when creating a new repository or linking to an existing repository.
- title String
- (String) The title of the server. e.g. My GitLab Enterprise Server.
- token
Url String - (String) The token URL used for authorizing with the GitLab server.
- toolchain
Issues BooleanEnabled - (Boolean) Setting this value to true will enable issues on the GitLab repository and add an issues tool card to the toolchain. Setting the value to false will remove the tool card from the toolchain, but will not impact whether or not issues are enabled on the GitLab repository itself.
- Constraints: The default value is
true
.
- Constraints: The default value is
- type String
- (String) The operation that should be performed to initialize the new tool integration. Use 'new' or 'new_if_not_exists' to create a new git repository, 'clone' or 'clone_if_not_exists' to clone an existing repository into a new git repository, 'fork' or 'fork_if_not_exists' to fork an existing git repository, or 'link' to link to an existing git repository. If you attempt to apply a resource with type 'new', 'clone', or 'fork' when the target repo already exists, the attempt will fail. If you apply a resource with type 'new_if_not_exists`, 'clone_if_not_exists', or 'fork_if_not_exists' when the target repo already exists, the existing repo will be used as-is.
- Constraints: Allowable values are:
new
,fork
,clone
,link
,new_if_not_exists
,clone_if_not_exists
,fork_if_not_exists
.
- Constraints: Allowable values are:
GetCdToolchainToolGitlabReferent
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.