Viewing docs for Dokploy v0.3.1
published on Tuesday, Sep 29, 2026 by dimeskigj
published on Tuesday, Sep 29, 2026 by dimeskigj
Viewing docs for Dokploy v0.3.1
published on Tuesday, Sep 29, 2026 by dimeskigj
published on Tuesday, Sep 29, 2026 by dimeskigj
A Dokploy project-to-tag association.
Create ProjectTag Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProjectTag(name: string, args: ProjectTagArgs, opts?: CustomResourceOptions);@overload
def ProjectTag(resource_name: str,
args: ProjectTagArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProjectTag(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
tag_id: Optional[str] = None)func NewProjectTag(ctx *Context, name string, args ProjectTagArgs, opts ...ResourceOption) (*ProjectTag, error)public ProjectTag(string name, ProjectTagArgs args, CustomResourceOptions? opts = null)
public ProjectTag(String name, ProjectTagArgs args)
public ProjectTag(String name, ProjectTagArgs args, CustomResourceOptions options)
type: dokploy:ProjectTag
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "dokploy_project_tag" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ProjectTagArgs
- 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 ProjectTagArgs
- 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 ProjectTagArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProjectTagArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProjectTagArgs
- 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 projectTagResource = new Dokploy.ProjectTag("projectTagResource", new()
{
ProjectId = "string",
TagId = "string",
});
example, err := dokploy.NewProjectTag(ctx, "projectTagResource", &dokploy.ProjectTagArgs{
ProjectId: pulumi.String("string"),
TagId: pulumi.String("string"),
})
resource "dokploy_project_tag" "projectTagResource" {
pulumi {
replace_on_changes = [project_id, tag_id]
}
lifecycle {
create_before_destroy = true
}
project_id = "string"
tag_id = "string"
}
var projectTagResource = new ProjectTag("projectTagResource", ProjectTagArgs.builder()
.projectId("string")
.tagId("string")
.build());
project_tag_resource = dokploy.ProjectTag("projectTagResource",
project_id="string",
tag_id="string")
const projectTagResource = new dokploy.ProjectTag("projectTagResource", {
projectId: "string",
tagId: "string",
});
type: dokploy:ProjectTag
properties:
projectId: string
tagId: string
ProjectTag 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 ProjectTag resource accepts the following input properties:
- project_
id string - The Dokploy project ID.
- tag_
id string - The Dokploy tag ID.
- project_
id str - The Dokploy project ID.
- tag_
id str - The Dokploy tag ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the ProjectTag resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- dokploy dimeskigj/pulumi-dokploy
- License
- Apache-2.0
Viewing docs for Dokploy v0.3.1
published on Tuesday, Sep 29, 2026 by dimeskigj
published on Tuesday, Sep 29, 2026 by dimeskigj