published on Thursday, Nov 5, 2026 by dimeskigj
published on Thursday, Nov 5, 2026 by dimeskigj
Beta. A Dokploy Gitea OAuth integration configured manually by the operator.
Create GiteaIntegration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GiteaIntegration(name: string, args: GiteaIntegrationArgs, opts?: CustomResourceOptions);@overload
def GiteaIntegration(resource_name: str,
args: GiteaIntegrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GiteaIntegration(resource_name: str,
opts: Optional[ResourceOptions] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
gitea_url: Optional[str] = None,
name: Optional[str] = None,
redirect_uri: Optional[str] = None,
gitea_internal_url: Optional[str] = None,
organization_name: Optional[str] = None)func NewGiteaIntegration(ctx *Context, name string, args GiteaIntegrationArgs, opts ...ResourceOption) (*GiteaIntegration, error)public GiteaIntegration(string name, GiteaIntegrationArgs args, CustomResourceOptions? opts = null)
public GiteaIntegration(String name, GiteaIntegrationArgs args)
public GiteaIntegration(String name, GiteaIntegrationArgs args, CustomResourceOptions options)
type: dokploy:GiteaIntegration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "dokploy_gitea_integration" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GiteaIntegrationArgs
- 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 GiteaIntegrationArgs
- 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 GiteaIntegrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GiteaIntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GiteaIntegrationArgs
- 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 giteaIntegrationResource = new Dokploy.GiteaIntegration("giteaIntegrationResource", new()
{
ClientId = "string",
ClientSecret = "string",
GiteaUrl = "string",
Name = "string",
RedirectUri = "string",
GiteaInternalUrl = "string",
OrganizationName = "string",
});
example, err := dokploy.NewGiteaIntegration(ctx, "giteaIntegrationResource", &dokploy.GiteaIntegrationArgs{
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
GiteaUrl: pulumi.String("string"),
Name: pulumi.String("string"),
RedirectUri: pulumi.String("string"),
GiteaInternalUrl: pulumi.String("string"),
OrganizationName: pulumi.String("string"),
})
resource "dokploy_gitea_integration" "giteaIntegrationResource" {
lifecycle {
create_before_destroy = true
}
client_id = "string"
client_secret = "string"
gitea_url = "string"
name = "string"
redirect_uri = "string"
gitea_internal_url = "string"
organization_name = "string"
}
var giteaIntegrationResource = new GiteaIntegration("giteaIntegrationResource", GiteaIntegrationArgs.builder()
.clientId("string")
.clientSecret("string")
.giteaUrl("string")
.name("string")
.redirectUri("string")
.giteaInternalUrl("string")
.organizationName("string")
.build());
gitea_integration_resource = dokploy.GiteaIntegration("giteaIntegrationResource",
client_id="string",
client_secret="string",
gitea_url="string",
name="string",
redirect_uri="string",
gitea_internal_url="string",
organization_name="string")
const giteaIntegrationResource = new dokploy.GiteaIntegration("giteaIntegrationResource", {
clientId: "string",
clientSecret: "string",
giteaUrl: "string",
name: "string",
redirectUri: "string",
giteaInternalUrl: "string",
organizationName: "string",
});
type: dokploy:GiteaIntegration
properties:
clientId: string
clientSecret: string
giteaInternalUrl: string
giteaUrl: string
name: string
organizationName: string
redirectUri: string
GiteaIntegration 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 GiteaIntegration resource accepts the following input properties:
- Client
Id string - The Gitea OAuth client ID.
- Client
Secret string - The secret Gitea OAuth client secret.
- Gitea
Url string - The absolute HTTP(S) Gitea base URL; paths are allowed.
- Name string
- The integration name.
- Redirect
Uri string - The absolute HTTP(S) OAuth callback URI.
- Gitea
Internal stringUrl - An optional internal Gitea base URL override.
- Organization
Name string - The optional Gitea organization name; defaults to an empty string.
- Client
Id string - The Gitea OAuth client ID.
- Client
Secret string - The secret Gitea OAuth client secret.
- Gitea
Url string - The absolute HTTP(S) Gitea base URL; paths are allowed.
- Name string
- The integration name.
- Redirect
Uri string - The absolute HTTP(S) OAuth callback URI.
- Gitea
Internal stringUrl - An optional internal Gitea base URL override.
- Organization
Name string - The optional Gitea organization name; defaults to an empty string.
- client_
id string - The Gitea OAuth client ID.
- client_
secret string - The secret Gitea OAuth client secret.
- gitea_
url string - The absolute HTTP(S) Gitea base URL; paths are allowed.
- name string
- The integration name.
- redirect_
uri string - The absolute HTTP(S) OAuth callback URI.
- gitea_
internal_ stringurl - An optional internal Gitea base URL override.
- organization_
name string - The optional Gitea organization name; defaults to an empty string.
- client
Id String - The Gitea OAuth client ID.
- client
Secret String - The secret Gitea OAuth client secret.
- gitea
Url String - The absolute HTTP(S) Gitea base URL; paths are allowed.
- name String
- The integration name.
- redirect
Uri String - The absolute HTTP(S) OAuth callback URI.
- gitea
Internal StringUrl - An optional internal Gitea base URL override.
- organization
Name String - The optional Gitea organization name; defaults to an empty string.
- client
Id string - The Gitea OAuth client ID.
- client
Secret string - The secret Gitea OAuth client secret.
- gitea
Url string - The absolute HTTP(S) Gitea base URL; paths are allowed.
- name string
- The integration name.
- redirect
Uri string - The absolute HTTP(S) OAuth callback URI.
- gitea
Internal stringUrl - An optional internal Gitea base URL override.
- organization
Name string - The optional Gitea organization name; defaults to an empty string.
- client_
id str - The Gitea OAuth client ID.
- client_
secret str - The secret Gitea OAuth client secret.
- gitea_
url str - The absolute HTTP(S) Gitea base URL; paths are allowed.
- name str
- The integration name.
- redirect_
uri str - The absolute HTTP(S) OAuth callback URI.
- gitea_
internal_ strurl - An optional internal Gitea base URL override.
- organization_
name str - The optional Gitea organization name; defaults to an empty string.
- client
Id String - The Gitea OAuth client ID.
- client
Secret String - The secret Gitea OAuth client secret.
- gitea
Url String - The absolute HTTP(S) Gitea base URL; paths are allowed.
- name String
- The integration name.
- redirect
Uri String - The absolute HTTP(S) OAuth callback URI.
- gitea
Internal StringUrl - An optional internal Gitea base URL override.
- organization
Name String - The optional Gitea organization name; defaults to an empty string.
Outputs
All input properties are implicitly available as output properties. Additionally, the GiteaIntegration resource produces the following output properties:
- Git
Provider stringId - The Dokploy Git provider ID associated with this integration.
- Gitea
Id string - The stable Gitea integration ID used as the Pulumi resource identity.
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The Dokploy organization ID associated with this integration.
- Git
Provider stringId - The Dokploy Git provider ID associated with this integration.
- Gitea
Id string - The stable Gitea integration ID used as the Pulumi resource identity.
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The Dokploy organization ID associated with this integration.
- git_
provider_ stringid - The Dokploy Git provider ID associated with this integration.
- gitea_
id string - The stable Gitea integration ID used as the Pulumi resource identity.
- id string
- The provider-assigned unique ID for this managed resource.
- organization_
id string - The Dokploy organization ID associated with this integration.
- git
Provider StringId - The Dokploy Git provider ID associated with this integration.
- gitea
Id String - The stable Gitea integration ID used as the Pulumi resource identity.
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The Dokploy organization ID associated with this integration.
- git
Provider stringId - The Dokploy Git provider ID associated with this integration.
- gitea
Id string - The stable Gitea integration ID used as the Pulumi resource identity.
- id string
- The provider-assigned unique ID for this managed resource.
- organization
Id string - The Dokploy organization ID associated with this integration.
- git_
provider_ strid - The Dokploy Git provider ID associated with this integration.
- gitea_
id str - The stable Gitea integration ID used as the Pulumi resource identity.
- id str
- The provider-assigned unique ID for this managed resource.
- organization_
id str - The Dokploy organization ID associated with this integration.
- git
Provider StringId - The Dokploy Git provider ID associated with this integration.
- gitea
Id String - The stable Gitea integration ID used as the Pulumi resource identity.
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The Dokploy organization ID associated with this integration.
Look up Existing GiteaIntegration Resource
Get an existing GiteaIntegration 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): GiteaIntegration@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> GiteaIntegrationfunc GetGiteaIntegration(ctx *Context, name string, id IDInput, state *GiteaIntegrationState, opts ...ResourceOption) (*GiteaIntegration, error)public static GiteaIntegration Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static GiteaIntegration get(String name, Output<String> id, CustomResourceOptions options)resources: existingGiteaIntegration: type: dokploy:GiteaIntegration get: id: ${id}import {
to = dokploy_gitea_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 GiteaIntegrationState
- 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