ibm.CdToolchainToolBitbucketgit
Explore with Pulumi AI
Create, update, and delete cd_toolchain_tool_bitbucketgits with this resource.
See the tool integration page for more information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const cdToolchainToolBitbucketgitInstance = new ibm.CdToolchainToolBitbucketgit("cdToolchainToolBitbucketgitInstance", {
initialization: {
gitId: "bitbucketgit",
ownerId: "<bitbucket-user-id>",
repoName: "myrepo",
sourceRepoUrl: "https://bitbucket.org/source-repo-owner/source-repo",
type: "clone",
privateRepo: true,
},
parameters: {
enableTraceability: false,
integrationOwner: "my-userid",
toolchainIssuesEnabled: true,
},
toolchainId: ibm_cd_toolchain.cd_toolchain.id,
});
import pulumi
import pulumi_ibm as ibm
cd_toolchain_tool_bitbucketgit_instance = ibm.CdToolchainToolBitbucketgit("cdToolchainToolBitbucketgitInstance",
initialization={
"git_id": "bitbucketgit",
"owner_id": "<bitbucket-user-id>",
"repo_name": "myrepo",
"source_repo_url": "https://bitbucket.org/source-repo-owner/source-repo",
"type": "clone",
"private_repo": True,
},
parameters={
"enable_traceability": False,
"integration_owner": "my-userid",
"toolchain_issues_enabled": True,
},
toolchain_id=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.NewCdToolchainToolBitbucketgit(ctx, "cdToolchainToolBitbucketgitInstance", &ibm.CdToolchainToolBitbucketgitArgs{
Initialization: &ibm.CdToolchainToolBitbucketgitInitializationArgs{
GitId: pulumi.String("bitbucketgit"),
OwnerId: pulumi.String("<bitbucket-user-id>"),
RepoName: pulumi.String("myrepo"),
SourceRepoUrl: pulumi.String("https://bitbucket.org/source-repo-owner/source-repo"),
Type: pulumi.String("clone"),
PrivateRepo: pulumi.Bool(true),
},
Parameters: &ibm.CdToolchainToolBitbucketgitParametersArgs{
EnableTraceability: pulumi.Bool(false),
IntegrationOwner: pulumi.String("my-userid"),
ToolchainIssuesEnabled: pulumi.Bool(true),
},
ToolchainId: pulumi.Any(ibm_cd_toolchain.Cd_toolchain.Id),
})
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 cdToolchainToolBitbucketgitInstance = new Ibm.CdToolchainToolBitbucketgit("cdToolchainToolBitbucketgitInstance", new()
{
Initialization = new Ibm.Inputs.CdToolchainToolBitbucketgitInitializationArgs
{
GitId = "bitbucketgit",
OwnerId = "<bitbucket-user-id>",
RepoName = "myrepo",
SourceRepoUrl = "https://bitbucket.org/source-repo-owner/source-repo",
Type = "clone",
PrivateRepo = true,
},
Parameters = new Ibm.Inputs.CdToolchainToolBitbucketgitParametersArgs
{
EnableTraceability = false,
IntegrationOwner = "my-userid",
ToolchainIssuesEnabled = true,
},
ToolchainId = 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.CdToolchainToolBitbucketgit;
import com.pulumi.ibm.CdToolchainToolBitbucketgitArgs;
import com.pulumi.ibm.inputs.CdToolchainToolBitbucketgitInitializationArgs;
import com.pulumi.ibm.inputs.CdToolchainToolBitbucketgitParametersArgs;
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) {
var cdToolchainToolBitbucketgitInstance = new CdToolchainToolBitbucketgit("cdToolchainToolBitbucketgitInstance", CdToolchainToolBitbucketgitArgs.builder()
.initialization(CdToolchainToolBitbucketgitInitializationArgs.builder()
.gitId("bitbucketgit")
.ownerId("<bitbucket-user-id>")
.repoName("myrepo")
.sourceRepoUrl("https://bitbucket.org/source-repo-owner/source-repo")
.type("clone")
.privateRepo(true)
.build())
.parameters(CdToolchainToolBitbucketgitParametersArgs.builder()
.enableTraceability(false)
.integrationOwner("my-userid")
.toolchainIssuesEnabled(true)
.build())
.toolchainId(ibm_cd_toolchain.cd_toolchain().id())
.build());
}
}
resources:
cdToolchainToolBitbucketgitInstance:
type: ibm:CdToolchainToolBitbucketgit
properties:
initialization:
gitId: bitbucketgit
ownerId: <bitbucket-user-id>
repoName: myrepo
sourceRepoUrl: https://bitbucket.org/source-repo-owner/source-repo
type: clone
privateRepo: true
parameters:
enableTraceability: false
integrationOwner: my-userid
toolchainIssuesEnabled: true
toolchainId: ${ibm_cd_toolchain.cd_toolchain.id}
Create CdToolchainToolBitbucketgit Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CdToolchainToolBitbucketgit(name: string, args: CdToolchainToolBitbucketgitArgs, opts?: CustomResourceOptions);
@overload
def CdToolchainToolBitbucketgit(resource_name: str,
args: CdToolchainToolBitbucketgitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CdToolchainToolBitbucketgit(resource_name: str,
opts: Optional[ResourceOptions] = None,
initialization: Optional[CdToolchainToolBitbucketgitInitializationArgs] = None,
parameters: Optional[CdToolchainToolBitbucketgitParametersArgs] = None,
toolchain_id: Optional[str] = None,
cd_toolchain_tool_bitbucketgit_id: Optional[str] = None,
name: Optional[str] = None)
func NewCdToolchainToolBitbucketgit(ctx *Context, name string, args CdToolchainToolBitbucketgitArgs, opts ...ResourceOption) (*CdToolchainToolBitbucketgit, error)
public CdToolchainToolBitbucketgit(string name, CdToolchainToolBitbucketgitArgs args, CustomResourceOptions? opts = null)
public CdToolchainToolBitbucketgit(String name, CdToolchainToolBitbucketgitArgs args)
public CdToolchainToolBitbucketgit(String name, CdToolchainToolBitbucketgitArgs args, CustomResourceOptions options)
type: ibm:CdToolchainToolBitbucketgit
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CdToolchainToolBitbucketgitArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CdToolchainToolBitbucketgitArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CdToolchainToolBitbucketgitArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CdToolchainToolBitbucketgitArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CdToolchainToolBitbucketgitArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cdToolchainToolBitbucketgitResource = new Ibm.CdToolchainToolBitbucketgit("cdToolchainToolBitbucketgitResource", new()
{
Initialization = new Ibm.Inputs.CdToolchainToolBitbucketgitInitializationArgs
{
Type = "string",
GitId = "string",
OwnerId = "string",
PrivateRepo = false,
RepoName = "string",
RepoUrl = "string",
SourceRepoUrl = "string",
},
Parameters = new Ibm.Inputs.CdToolchainToolBitbucketgitParametersArgs
{
ApiRootUrl = "string",
DefaultBranch = "string",
EnableTraceability = false,
GitId = "string",
IntegrationOwner = "string",
OwnerId = "string",
PrivateRepo = false,
RepoId = "string",
RepoName = "string",
RepoUrl = "string",
SourceRepoUrl = "string",
TokenUrl = "string",
ToolchainIssuesEnabled = false,
Type = "string",
},
ToolchainId = "string",
CdToolchainToolBitbucketgitId = "string",
Name = "string",
});
example, err := ibm.NewCdToolchainToolBitbucketgit(ctx, "cdToolchainToolBitbucketgitResource", &ibm.CdToolchainToolBitbucketgitArgs{
Initialization: &ibm.CdToolchainToolBitbucketgitInitializationArgs{
Type: pulumi.String("string"),
GitId: pulumi.String("string"),
OwnerId: pulumi.String("string"),
PrivateRepo: pulumi.Bool(false),
RepoName: pulumi.String("string"),
RepoUrl: pulumi.String("string"),
SourceRepoUrl: pulumi.String("string"),
},
Parameters: &ibm.CdToolchainToolBitbucketgitParametersArgs{
ApiRootUrl: pulumi.String("string"),
DefaultBranch: pulumi.String("string"),
EnableTraceability: pulumi.Bool(false),
GitId: pulumi.String("string"),
IntegrationOwner: pulumi.String("string"),
OwnerId: pulumi.String("string"),
PrivateRepo: pulumi.Bool(false),
RepoId: pulumi.String("string"),
RepoName: pulumi.String("string"),
RepoUrl: pulumi.String("string"),
SourceRepoUrl: pulumi.String("string"),
TokenUrl: pulumi.String("string"),
ToolchainIssuesEnabled: pulumi.Bool(false),
Type: pulumi.String("string"),
},
ToolchainId: pulumi.String("string"),
CdToolchainToolBitbucketgitId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var cdToolchainToolBitbucketgitResource = new CdToolchainToolBitbucketgit("cdToolchainToolBitbucketgitResource", CdToolchainToolBitbucketgitArgs.builder()
.initialization(CdToolchainToolBitbucketgitInitializationArgs.builder()
.type("string")
.gitId("string")
.ownerId("string")
.privateRepo(false)
.repoName("string")
.repoUrl("string")
.sourceRepoUrl("string")
.build())
.parameters(CdToolchainToolBitbucketgitParametersArgs.builder()
.apiRootUrl("string")
.defaultBranch("string")
.enableTraceability(false)
.gitId("string")
.integrationOwner("string")
.ownerId("string")
.privateRepo(false)
.repoId("string")
.repoName("string")
.repoUrl("string")
.sourceRepoUrl("string")
.tokenUrl("string")
.toolchainIssuesEnabled(false)
.type("string")
.build())
.toolchainId("string")
.cdToolchainToolBitbucketgitId("string")
.name("string")
.build());
cd_toolchain_tool_bitbucketgit_resource = ibm.CdToolchainToolBitbucketgit("cdToolchainToolBitbucketgitResource",
initialization={
"type": "string",
"git_id": "string",
"owner_id": "string",
"private_repo": False,
"repo_name": "string",
"repo_url": "string",
"source_repo_url": "string",
},
parameters={
"api_root_url": "string",
"default_branch": "string",
"enable_traceability": False,
"git_id": "string",
"integration_owner": "string",
"owner_id": "string",
"private_repo": False,
"repo_id": "string",
"repo_name": "string",
"repo_url": "string",
"source_repo_url": "string",
"token_url": "string",
"toolchain_issues_enabled": False,
"type": "string",
},
toolchain_id="string",
cd_toolchain_tool_bitbucketgit_id="string",
name="string")
const cdToolchainToolBitbucketgitResource = new ibm.CdToolchainToolBitbucketgit("cdToolchainToolBitbucketgitResource", {
initialization: {
type: "string",
gitId: "string",
ownerId: "string",
privateRepo: false,
repoName: "string",
repoUrl: "string",
sourceRepoUrl: "string",
},
parameters: {
apiRootUrl: "string",
defaultBranch: "string",
enableTraceability: false,
gitId: "string",
integrationOwner: "string",
ownerId: "string",
privateRepo: false,
repoId: "string",
repoName: "string",
repoUrl: "string",
sourceRepoUrl: "string",
tokenUrl: "string",
toolchainIssuesEnabled: false,
type: "string",
},
toolchainId: "string",
cdToolchainToolBitbucketgitId: "string",
name: "string",
});
type: ibm:CdToolchainToolBitbucketgit
properties:
cdToolchainToolBitbucketgitId: string
initialization:
gitId: string
ownerId: string
privateRepo: false
repoName: string
repoUrl: string
sourceRepoUrl: string
type: string
name: string
parameters:
apiRootUrl: string
defaultBranch: string
enableTraceability: false
gitId: string
integrationOwner: string
ownerId: string
privateRepo: false
repoId: string
repoName: string
repoUrl: string
sourceRepoUrl: string
tokenUrl: string
toolchainIssuesEnabled: false
type: string
toolchainId: string
CdToolchainToolBitbucketgit Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CdToolchainToolBitbucketgit resource accepts the following input properties:
- Initialization
Cd
Toolchain Tool Bitbucketgit Initialization - Nested schema for initialization:
- Parameters
Cd
Toolchain Tool Bitbucketgit Parameters - 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:
- Toolchain
Id string - ID of the toolchain to bind the tool to.
- 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
- Cd
Toolchain stringTool Bitbucketgit Id - The unique identifier of the cd_toolchain_tool_bitbucketgit.
- Name 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
- Initialization
Cd
Toolchain Tool Bitbucketgit Initialization Args - Nested schema for initialization:
- Parameters
Cd
Toolchain Tool Bitbucketgit Parameters Args - 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:
- Toolchain
Id string - ID of the toolchain to bind the tool to.
- 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
- Cd
Toolchain stringTool Bitbucketgit Id - The unique identifier of the cd_toolchain_tool_bitbucketgit.
- Name 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
- initialization
Cd
Toolchain Tool Bitbucketgit Initialization - Nested schema for initialization:
- parameters
Cd
Toolchain Tool Bitbucketgit Parameters - 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:
- toolchain
Id String - ID of the toolchain to bind the tool to.
- 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
- cd
Toolchain StringTool Bitbucketgit Id - The unique identifier of the cd_toolchain_tool_bitbucketgit.
- name 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
- initialization
Cd
Toolchain Tool Bitbucketgit Initialization - Nested schema for initialization:
- parameters
Cd
Toolchain Tool Bitbucketgit Parameters - 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:
- toolchain
Id string - ID of the toolchain to bind the tool to.
- 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
- cd
Toolchain stringTool Bitbucketgit Id - The unique identifier of the cd_toolchain_tool_bitbucketgit.
- name 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
- initialization
Cd
Toolchain Tool Bitbucketgit Initialization Args - Nested schema for initialization:
- parameters
Cd
Toolchain Tool Bitbucketgit Parameters Args - 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:
- toolchain_
id str - ID of the toolchain to bind the tool to.
- 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
- cd_
toolchain_ strtool_ bitbucketgit_ id - The unique identifier of the cd_toolchain_tool_bitbucketgit.
- name str
- 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
- initialization Property Map
- Nested schema for initialization:
- parameters Property Map
- 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:
- toolchain
Id String - ID of the toolchain to bind the tool to.
- 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
- cd
Toolchain StringTool Bitbucketgit Id - The unique identifier of the cd_toolchain_tool_bitbucketgit.
- name 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
Outputs
All input properties are implicitly available as output properties. Additionally, the CdToolchainToolBitbucketgit resource produces the following output properties:
- Crn string
- (String) Tool CRN.
- Href string
- (String) URI representing the tool.
- Id string
- The provider-assigned unique ID for this managed resource.
- Referents
List<Cd
Toolchain Tool Bitbucketgit 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 - (String) Tool ID.
- 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
Crn string - (String) CRN of toolchain which the tool is bound to.
- Updated
At string - (String) Latest tool update timestamp.
- Crn string
- (String) Tool CRN.
- Href string
- (String) URI representing the tool.
- Id string
- The provider-assigned unique ID for this managed resource.
- Referents
[]Cd
Toolchain Tool Bitbucketgit 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 - (String) Tool ID.
- 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
Crn string - (String) CRN of toolchain which the tool is bound to.
- Updated
At string - (String) Latest tool update timestamp.
- crn String
- (String) Tool CRN.
- href String
- (String) URI representing the tool.
- id String
- The provider-assigned unique ID for this managed resource.
- referents
List<Cd
Toolchain Tool Bitbucketgit 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 - (String) Tool ID.
- 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
Crn String - (String) CRN of toolchain which the tool is bound to.
- updated
At String - (String) Latest tool update timestamp.
- crn string
- (String) Tool CRN.
- href string
- (String) URI representing the tool.
- id string
- The provider-assigned unique ID for this managed resource.
- referents
Cd
Toolchain Tool Bitbucketgit 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 - (String) Tool ID.
- 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
Crn string - (String) CRN of toolchain which the tool is bound to.
- updated
At string - (String) Latest tool update timestamp.
- crn str
- (String) Tool CRN.
- href str
- (String) URI representing the tool.
- id str
- The provider-assigned unique ID for this managed resource.
- referents
Sequence[Cd
Toolchain Tool Bitbucketgit 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 - (String) Tool ID.
- 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_
crn str - (String) CRN of toolchain which the tool is bound to.
- updated_
at str - (String) Latest tool update timestamp.
- crn String
- (String) Tool CRN.
- href String
- (String) URI representing the tool.
- id String
- The provider-assigned unique ID for this managed resource.
- 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 - (String) Tool ID.
- 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
Crn String - (String) CRN of toolchain which the tool is bound to.
- updated
At String - (String) Latest tool update timestamp.
Look up Existing CdToolchainToolBitbucketgit Resource
Get an existing CdToolchainToolBitbucketgit resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CdToolchainToolBitbucketgitState, opts?: CustomResourceOptions): CdToolchainToolBitbucketgit
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cd_toolchain_tool_bitbucketgit_id: Optional[str] = None,
crn: Optional[str] = None,
href: Optional[str] = None,
initialization: Optional[CdToolchainToolBitbucketgitInitializationArgs] = None,
name: Optional[str] = None,
parameters: Optional[CdToolchainToolBitbucketgitParametersArgs] = None,
referents: Optional[Sequence[CdToolchainToolBitbucketgitReferentArgs]] = None,
resource_group_id: Optional[str] = None,
state: Optional[str] = None,
tool_id: Optional[str] = None,
toolchain_crn: Optional[str] = None,
toolchain_id: Optional[str] = None,
updated_at: Optional[str] = None) -> CdToolchainToolBitbucketgit
func GetCdToolchainToolBitbucketgit(ctx *Context, name string, id IDInput, state *CdToolchainToolBitbucketgitState, opts ...ResourceOption) (*CdToolchainToolBitbucketgit, error)
public static CdToolchainToolBitbucketgit Get(string name, Input<string> id, CdToolchainToolBitbucketgitState? state, CustomResourceOptions? opts = null)
public static CdToolchainToolBitbucketgit get(String name, Output<String> id, CdToolchainToolBitbucketgitState state, CustomResourceOptions options)
resources: _: type: ibm:CdToolchainToolBitbucketgit get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cd
Toolchain stringTool Bitbucketgit Id - The unique identifier of the cd_toolchain_tool_bitbucketgit.
- Crn string
- (String) Tool CRN.
- Href string
- (String) URI representing the tool.
- Initialization
Cd
Toolchain Tool Bitbucketgit Initialization - Nested schema for initialization:
- Name 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
Cd
Toolchain Tool Bitbucketgit Parameters - 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<Cd
Toolchain Tool Bitbucketgit 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 - (String) Tool ID.
- 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
Crn string - (String) CRN of toolchain which the tool is bound to.
- Toolchain
Id string - ID of the toolchain to bind the tool to.
- 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
- Updated
At string - (String) Latest tool update timestamp.
- Cd
Toolchain stringTool Bitbucketgit Id - The unique identifier of the cd_toolchain_tool_bitbucketgit.
- Crn string
- (String) Tool CRN.
- Href string
- (String) URI representing the tool.
- Initialization
Cd
Toolchain Tool Bitbucketgit Initialization Args - Nested schema for initialization:
- Name 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
Cd
Toolchain Tool Bitbucketgit Parameters Args - 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
[]Cd
Toolchain Tool Bitbucketgit Referent Args - (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 - (String) Tool ID.
- 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
Crn string - (String) CRN of toolchain which the tool is bound to.
- Toolchain
Id string - ID of the toolchain to bind the tool to.
- 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
- Updated
At string - (String) Latest tool update timestamp.
- cd
Toolchain StringTool Bitbucketgit Id - The unique identifier of the cd_toolchain_tool_bitbucketgit.
- crn String
- (String) Tool CRN.
- href String
- (String) URI representing the tool.
- initialization
Cd
Toolchain Tool Bitbucketgit Initialization - Nested schema for initialization:
- name 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
Cd
Toolchain Tool Bitbucketgit Parameters - 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<Cd
Toolchain Tool Bitbucketgit 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 - (String) Tool ID.
- 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
Crn String - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id String - ID of the toolchain to bind the tool to.
- 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
- updated
At String - (String) Latest tool update timestamp.
- cd
Toolchain stringTool Bitbucketgit Id - The unique identifier of the cd_toolchain_tool_bitbucketgit.
- crn string
- (String) Tool CRN.
- href string
- (String) URI representing the tool.
- initialization
Cd
Toolchain Tool Bitbucketgit Initialization - Nested schema for initialization:
- name 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
Cd
Toolchain Tool Bitbucketgit Parameters - 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
Cd
Toolchain Tool Bitbucketgit 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 - (String) Tool ID.
- 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
Crn string - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id string - ID of the toolchain to bind the tool to.
- 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
- updated
At string - (String) Latest tool update timestamp.
- cd_
toolchain_ strtool_ bitbucketgit_ id - The unique identifier of the cd_toolchain_tool_bitbucketgit.
- crn str
- (String) Tool CRN.
- href str
- (String) URI representing the tool.
- initialization
Cd
Toolchain Tool Bitbucketgit Initialization Args - Nested schema for initialization:
- name str
- 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
Cd
Toolchain Tool Bitbucketgit Parameters Args - 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[Cd
Toolchain Tool Bitbucketgit Referent Args] - (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 - (String) Tool ID.
- 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_
crn str - (String) CRN of toolchain which the tool is bound to.
- toolchain_
id str - ID of the toolchain to bind the tool to.
- 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
- updated_
at str - (String) Latest tool update timestamp.
- cd
Toolchain StringTool Bitbucketgit Id - The unique identifier of the cd_toolchain_tool_bitbucketgit.
- crn String
- (String) Tool CRN.
- href String
- (String) URI representing the tool.
- initialization Property Map
- Nested schema for initialization:
- name 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 Property Map
- 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 - (String) Tool ID.
- 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
Crn String - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id String - ID of the toolchain to bind the tool to.
- 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
- updated
At String - (String) Latest tool update timestamp.
Supporting Types
CdToolchainToolBitbucketgitInitialization, CdToolchainToolBitbucketgitInitializationArgs
- Type 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:
- Git
Id string - Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
- Owner
Id string - The Bitbucket 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 - 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
false
.
- Constraints: The default value is
- Repo
Name string - The name of the new Bitbucket 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 - The URL of the bitbucket 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.
- Source
Repo stringUrl - 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.
- Type 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:
- Git
Id string - Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
- Owner
Id string - The Bitbucket 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 - 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
false
.
- Constraints: The default value is
- Repo
Name string - The name of the new Bitbucket 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 - The URL of the bitbucket 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.
- Source
Repo stringUrl - 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.
- type 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:
- git
Id String - Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
- owner
Id String - The Bitbucket 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 - 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
false
.
- Constraints: The default value is
- repo
Name String - The name of the new Bitbucket 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 - The URL of the bitbucket 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.
- source
Repo StringUrl - 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.
- type 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:
- git
Id string - Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
- owner
Id string - The Bitbucket 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 - 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
false
.
- Constraints: The default value is
- repo
Name string - The name of the new Bitbucket 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 - The URL of the bitbucket 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.
- source
Repo stringUrl - 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.
- type str
- 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:
- git_
id str - Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
- owner_
id str - The Bitbucket 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 - 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
false
.
- Constraints: The default value is
- repo_
name str - The name of the new Bitbucket 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 - The URL of the bitbucket 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.
- source_
repo_ strurl - 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.
- type 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:
- git
Id String - Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
- owner
Id String - The Bitbucket 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 - 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
false
.
- Constraints: The default value is
- repo
Name String - The name of the new Bitbucket 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 - The URL of the bitbucket 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.
- source
Repo StringUrl - 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.
CdToolchainToolBitbucketgitParameters, CdToolchainToolBitbucketgitParametersArgs
- Api
Root stringUrl - The API root URL for the Bitbucket Server.
- Default
Branch string - The default branch of the git repository.
- Enable
Traceability bool - 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 - Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
- Integration
Owner string - Select the user which git operations will be performed as.
- Owner
Id string - The Bitbucket 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 - 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
false
.
- Constraints: The default value is
- Repo
Id string - The ID of the Bitbucket repository.
- Repo
Name string - The name of the new Bitbucket 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 - The URL of the bitbucket 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.
- Source
Repo stringUrl - 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.
- Token
Url string - The token URL used for authorizing with the Bitbucket server.
- Toolchain
Issues boolEnabled - Setting this value to true will enable issues on the Bitbucket 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 Bitbucket repository itself.
- Constraints: The default value is
true
.
- Constraints: The default value is
- Type 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 - The API root URL for the Bitbucket Server.
- Default
Branch string - The default branch of the git repository.
- Enable
Traceability bool - 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 - Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
- Integration
Owner string - Select the user which git operations will be performed as.
- Owner
Id string - The Bitbucket 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 - 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
false
.
- Constraints: The default value is
- Repo
Id string - The ID of the Bitbucket repository.
- Repo
Name string - The name of the new Bitbucket 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 - The URL of the bitbucket 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.
- Source
Repo stringUrl - 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.
- Token
Url string - The token URL used for authorizing with the Bitbucket server.
- Toolchain
Issues boolEnabled - Setting this value to true will enable issues on the Bitbucket 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 Bitbucket repository itself.
- Constraints: The default value is
true
.
- Constraints: The default value is
- Type 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 - The API root URL for the Bitbucket Server.
- default
Branch String - The default branch of the git repository.
- enable
Traceability 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 - Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
- integration
Owner String - Select the user which git operations will be performed as.
- owner
Id String - The Bitbucket 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 - 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
false
.
- Constraints: The default value is
- repo
Id String - The ID of the Bitbucket repository.
- repo
Name String - The name of the new Bitbucket 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 - The URL of the bitbucket 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.
- source
Repo StringUrl - 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.
- token
Url String - The token URL used for authorizing with the Bitbucket server.
- toolchain
Issues BooleanEnabled - Setting this value to true will enable issues on the Bitbucket 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 Bitbucket repository itself.
- Constraints: The default value is
true
.
- Constraints: The default value is
- type 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 - The API root URL for the Bitbucket Server.
- default
Branch string - The default branch of the git repository.
- enable
Traceability 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 - Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
- integration
Owner string - Select the user which git operations will be performed as.
- owner
Id string - The Bitbucket 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 - 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
false
.
- Constraints: The default value is
- repo
Id string - The ID of the Bitbucket repository.
- repo
Name string - The name of the new Bitbucket 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 - The URL of the bitbucket 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.
- source
Repo stringUrl - 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.
- token
Url string - The token URL used for authorizing with the Bitbucket server.
- toolchain
Issues booleanEnabled - Setting this value to true will enable issues on the Bitbucket 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 Bitbucket repository itself.
- Constraints: The default value is
true
.
- Constraints: The default value is
- type 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 - The API root URL for the Bitbucket Server.
- default_
branch str - The default branch of the git repository.
- enable_
traceability bool - 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 - Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
- integration_
owner str - Select the user which git operations will be performed as.
- owner_
id str - The Bitbucket 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 - 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
false
.
- Constraints: The default value is
- repo_
id str - The ID of the Bitbucket repository.
- repo_
name str - The name of the new Bitbucket 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 - The URL of the bitbucket 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.
- source_
repo_ strurl - 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.
- token_
url str - The token URL used for authorizing with the Bitbucket server.
- toolchain_
issues_ boolenabled - Setting this value to true will enable issues on the Bitbucket 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 Bitbucket repository itself.
- Constraints: The default value is
true
.
- Constraints: The default value is
- type str
- 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 - The API root URL for the Bitbucket Server.
- default
Branch String - The default branch of the git repository.
- enable
Traceability 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 - Set this value to 'bitbucketgit' for bitbucket.org, or to the GUID of a custom Bitbucket server.
- integration
Owner String - Select the user which git operations will be performed as.
- owner
Id String - The Bitbucket 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 - 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
false
.
- Constraints: The default value is
- repo
Id String - The ID of the Bitbucket repository.
- repo
Name String - The name of the new Bitbucket 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 - The URL of the bitbucket 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.
- source
Repo StringUrl - 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.
- token
Url String - The token URL used for authorizing with the Bitbucket server.
- toolchain
Issues BooleanEnabled - Setting this value to true will enable issues on the Bitbucket 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 Bitbucket repository itself.
- Constraints: The default value is
true
.
- Constraints: The default value is
- type 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:
CdToolchainToolBitbucketgitReferent, CdToolchainToolBitbucketgitReferentArgs
Import
You can import the ibm_cd_toolchain_tool_bitbucketgit
resource by using id
.
The id
property can be formed from toolchain_id
, and tool_id
in the following format:
<toolchain_id>/<tool_id>
toolchain_id
: A string. ID of the toolchain to bind the tool to.tool_id
: A string. ID of the tool bound to the toolchain.
Syntax
$ pulumi import ibm:index/cdToolchainToolBitbucketgit:CdToolchainToolBitbucketgit cd_toolchain_tool_bitbucketgit <toolchain_id>/<tool_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.