published on Thursday, Nov 5, 2026 by dimeskigj
published on Thursday, Nov 5, 2026 by dimeskigj
Beta. Manages a Dokploy Bitbucket integration using an API token or legacy app password.
Create BitbucketIntegration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BitbucketIntegration(name: string, args: BitbucketIntegrationArgs, opts?: CustomResourceOptions);@overload
def BitbucketIntegration(resource_name: str,
args: BitbucketIntegrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BitbucketIntegration(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
api_token: Optional[str] = None,
app_password: Optional[str] = None,
bitbucket_email: Optional[str] = None,
bitbucket_username: Optional[str] = None,
bitbucket_workspace_name: Optional[str] = None)func NewBitbucketIntegration(ctx *Context, name string, args BitbucketIntegrationArgs, opts ...ResourceOption) (*BitbucketIntegration, error)public BitbucketIntegration(string name, BitbucketIntegrationArgs args, CustomResourceOptions? opts = null)
public BitbucketIntegration(String name, BitbucketIntegrationArgs args)
public BitbucketIntegration(String name, BitbucketIntegrationArgs args, CustomResourceOptions options)
type: dokploy:BitbucketIntegration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "dokploy_bitbucket_integration" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args BitbucketIntegrationArgs
- 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 BitbucketIntegrationArgs
- 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 BitbucketIntegrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BitbucketIntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BitbucketIntegrationArgs
- 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 bitbucketIntegrationResource = new Dokploy.BitbucketIntegration("bitbucketIntegrationResource", new()
{
Name = "string",
ApiToken = "string",
AppPassword = "string",
BitbucketEmail = "string",
BitbucketUsername = "string",
BitbucketWorkspaceName = "string",
});
example, err := dokploy.NewBitbucketIntegration(ctx, "bitbucketIntegrationResource", &dokploy.BitbucketIntegrationArgs{
Name: pulumi.String("string"),
ApiToken: pulumi.String("string"),
AppPassword: pulumi.String("string"),
BitbucketEmail: pulumi.String("string"),
BitbucketUsername: pulumi.String("string"),
BitbucketWorkspaceName: pulumi.String("string"),
})
resource "dokploy_bitbucket_integration" "bitbucketIntegrationResource" {
lifecycle {
create_before_destroy = true
}
name = "string"
api_token = "string"
app_password = "string"
bitbucket_email = "string"
bitbucket_username = "string"
bitbucket_workspace_name = "string"
}
var bitbucketIntegrationResource = new BitbucketIntegration("bitbucketIntegrationResource", BitbucketIntegrationArgs.builder()
.name("string")
.apiToken("string")
.appPassword("string")
.bitbucketEmail("string")
.bitbucketUsername("string")
.bitbucketWorkspaceName("string")
.build());
bitbucket_integration_resource = dokploy.BitbucketIntegration("bitbucketIntegrationResource",
name="string",
api_token="string",
app_password="string",
bitbucket_email="string",
bitbucket_username="string",
bitbucket_workspace_name="string")
const bitbucketIntegrationResource = new dokploy.BitbucketIntegration("bitbucketIntegrationResource", {
name: "string",
apiToken: "string",
appPassword: "string",
bitbucketEmail: "string",
bitbucketUsername: "string",
bitbucketWorkspaceName: "string",
});
type: dokploy:BitbucketIntegration
properties:
apiToken: string
appPassword: string
bitbucketEmail: string
bitbucketUsername: string
bitbucketWorkspaceName: string
name: string
BitbucketIntegration 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 BitbucketIntegration resource accepts the following input properties:
- Name string
- The Dokploy integration display name.
- Api
Token string - A secret Bitbucket API token; select exactly one credential mode.
- App
Password string - A secret Bitbucket app password; select exactly one credential mode.
- Bitbucket
Email string - The email required for API-token mode.
- Bitbucket
Username string - The username required for app-password mode.
- Bitbucket
Workspace stringName - An optional Bitbucket workspace; omission preserves the existing value.
- Name string
- The Dokploy integration display name.
- Api
Token string - A secret Bitbucket API token; select exactly one credential mode.
- App
Password string - A secret Bitbucket app password; select exactly one credential mode.
- Bitbucket
Email string - The email required for API-token mode.
- Bitbucket
Username string - The username required for app-password mode.
- Bitbucket
Workspace stringName - An optional Bitbucket workspace; omission preserves the existing value.
- name string
- The Dokploy integration display name.
- api_
token string - A secret Bitbucket API token; select exactly one credential mode.
- app_
password string - A secret Bitbucket app password; select exactly one credential mode.
- bitbucket_
email string - The email required for API-token mode.
- bitbucket_
username string - The username required for app-password mode.
- bitbucket_
workspace_ stringname - An optional Bitbucket workspace; omission preserves the existing value.
- name String
- The Dokploy integration display name.
- api
Token String - A secret Bitbucket API token; select exactly one credential mode.
- app
Password String - A secret Bitbucket app password; select exactly one credential mode.
- bitbucket
Email String - The email required for API-token mode.
- bitbucket
Username String - The username required for app-password mode.
- bitbucket
Workspace StringName - An optional Bitbucket workspace; omission preserves the existing value.
- name string
- The Dokploy integration display name.
- api
Token string - A secret Bitbucket API token; select exactly one credential mode.
- app
Password string - A secret Bitbucket app password; select exactly one credential mode.
- bitbucket
Email string - The email required for API-token mode.
- bitbucket
Username string - The username required for app-password mode.
- bitbucket
Workspace stringName - An optional Bitbucket workspace; omission preserves the existing value.
- name str
- The Dokploy integration display name.
- api_
token str - A secret Bitbucket API token; select exactly one credential mode.
- app_
password str - A secret Bitbucket app password; select exactly one credential mode.
- bitbucket_
email str - The email required for API-token mode.
- bitbucket_
username str - The username required for app-password mode.
- bitbucket_
workspace_ strname - An optional Bitbucket workspace; omission preserves the existing value.
- name String
- The Dokploy integration display name.
- api
Token String - A secret Bitbucket API token; select exactly one credential mode.
- app
Password String - A secret Bitbucket app password; select exactly one credential mode.
- bitbucket
Email String - The email required for API-token mode.
- bitbucket
Username String - The username required for app-password mode.
- bitbucket
Workspace StringName - An optional Bitbucket workspace; omission preserves the existing value.
Outputs
All input properties are implicitly available as output properties. Additionally, the BitbucketIntegration resource produces the following output properties:
- Bitbucket
Id string - The stable Bitbucket relation ID used as the Pulumi resource identity.
- Git
Provider stringId - The associated Dokploy Git-provider ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The owning Dokploy organization ID.
- Bitbucket
Id string - The stable Bitbucket relation ID used as the Pulumi resource identity.
- Git
Provider stringId - The associated Dokploy Git-provider ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The owning Dokploy organization ID.
- bitbucket_
id string - The stable Bitbucket relation ID used as the Pulumi resource identity.
- git_
provider_ stringid - The associated Dokploy Git-provider ID.
- id string
- The provider-assigned unique ID for this managed resource.
- organization_
id string - The owning Dokploy organization ID.
- bitbucket
Id String - The stable Bitbucket relation ID used as the Pulumi resource identity.
- git
Provider StringId - The associated Dokploy Git-provider ID.
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The owning Dokploy organization ID.
- bitbucket
Id string - The stable Bitbucket relation ID used as the Pulumi resource identity.
- git
Provider stringId - The associated Dokploy Git-provider ID.
- id string
- The provider-assigned unique ID for this managed resource.
- organization
Id string - The owning Dokploy organization ID.
- bitbucket_
id str - The stable Bitbucket relation ID used as the Pulumi resource identity.
- git_
provider_ strid - The associated Dokploy Git-provider ID.
- id str
- The provider-assigned unique ID for this managed resource.
- organization_
id str - The owning Dokploy organization ID.
- bitbucket
Id String - The stable Bitbucket relation ID used as the Pulumi resource identity.
- git
Provider StringId - The associated Dokploy Git-provider ID.
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The owning Dokploy organization ID.
Look up Existing BitbucketIntegration Resource
Get an existing BitbucketIntegration 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>, opts?: CustomResourceOptions): BitbucketIntegration@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> BitbucketIntegrationfunc GetBitbucketIntegration(ctx *Context, name string, id IDInput, state *BitbucketIntegrationState, opts ...ResourceOption) (*BitbucketIntegration, error)public static BitbucketIntegration Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static BitbucketIntegration get(String name, Output<String> id, CustomResourceOptions options)resources: existingBitbucketIntegration: type: dokploy:BitbucketIntegration get: id: ${id}import {
to = dokploy_bitbucket_integration.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state BitbucketIntegrationState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Package Details
- Repository
- dokploy dimeskigj/pulumi-dokploy
- License
- Apache-2.0
published on Thursday, Nov 5, 2026 by dimeskigj