Manages a control within a group for a work item type. Controls can be field controls or contribution controls (extensions).
Example Usage
Basic Field Control
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.WorkitemtrackingprocessProcess("example", {
name: "example-process",
parentProcessTypeId: "adcc42ab-9882-485e-a3ed-7678f01f66bc",
});
const exampleWorkitemtrackingprocessWorkitemtype = new azuredevops.WorkitemtrackingprocessWorkitemtype("example", {
processId: example.id,
name: "example",
});
const exampleWorkitemtrackingprocessGroup = new azuredevops.WorkitemtrackingprocessGroup("example", {
processId: example.id,
workItemTypeReferenceName: exampleWorkitemtrackingprocessWorkitemtype.referenceName,
pageId: exampleWorkitemtrackingprocessWorkitemtype.pages.apply(pages => pages[0].id),
sectionId: exampleWorkitemtrackingprocessWorkitemtype.pages.apply(pages => pages[0].sections?.[0]?.id),
label: "Custom Group",
});
const exampleWorkitemtrackingprocessControl = new azuredevops.WorkitemtrackingprocessControl("example", {
processId: example.id,
workItemTypeReferenceName: exampleWorkitemtrackingprocessWorkitemtype.referenceName,
groupId: exampleWorkitemtrackingprocessGroup.id,
controlId: "System.Title",
label: "Title",
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.WorkitemtrackingprocessProcess("example",
name="example-process",
parent_process_type_id="adcc42ab-9882-485e-a3ed-7678f01f66bc")
example_workitemtrackingprocess_workitemtype = azuredevops.WorkitemtrackingprocessWorkitemtype("example",
process_id=example.id,
name="example")
example_workitemtrackingprocess_group = azuredevops.WorkitemtrackingprocessGroup("example",
process_id=example.id,
work_item_type_reference_name=example_workitemtrackingprocess_workitemtype.reference_name,
page_id=example_workitemtrackingprocess_workitemtype.pages[0].id,
section_id=example_workitemtrackingprocess_workitemtype.pages[0].sections[0].id,
label="Custom Group")
example_workitemtrackingprocess_control = azuredevops.WorkitemtrackingprocessControl("example",
process_id=example.id,
work_item_type_reference_name=example_workitemtrackingprocess_workitemtype.reference_name,
group_id=example_workitemtrackingprocess_group.id,
control_id="System.Title",
label="Title")
package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := azuredevops.NewWorkitemtrackingprocessProcess(ctx, "example", &azuredevops.WorkitemtrackingprocessProcessArgs{
Name: pulumi.String("example-process"),
ParentProcessTypeId: pulumi.String("adcc42ab-9882-485e-a3ed-7678f01f66bc"),
})
if err != nil {
return err
}
exampleWorkitemtrackingprocessWorkitemtype, err := azuredevops.NewWorkitemtrackingprocessWorkitemtype(ctx, "example", &azuredevops.WorkitemtrackingprocessWorkitemtypeArgs{
ProcessId: example.ID(),
Name: pulumi.String("example"),
})
if err != nil {
return err
}
exampleWorkitemtrackingprocessGroup, err := azuredevops.NewWorkitemtrackingprocessGroup(ctx, "example", &azuredevops.WorkitemtrackingprocessGroupArgs{
ProcessId: example.ID(),
WorkItemTypeReferenceName: exampleWorkitemtrackingprocessWorkitemtype.ReferenceName,
PageId: pulumi.String(exampleWorkitemtrackingprocessWorkitemtype.Pages.ApplyT(func(pages []azuredevops.WorkitemtrackingprocessWorkitemtypePage) (*string, error) {
return &pages[0].Id, nil
}).(pulumi.StringPtrOutput)),
SectionId: pulumi.String(exampleWorkitemtrackingprocessWorkitemtype.Pages.ApplyT(func(pages []azuredevops.WorkitemtrackingprocessWorkitemtypePage) (*string, error) {
return &pages[0].Sections[0].Id, nil
}).(pulumi.StringPtrOutput)),
Label: pulumi.String("Custom Group"),
})
if err != nil {
return err
}
_, err = azuredevops.NewWorkitemtrackingprocessControl(ctx, "example", &azuredevops.WorkitemtrackingprocessControlArgs{
ProcessId: example.ID(),
WorkItemTypeReferenceName: exampleWorkitemtrackingprocessWorkitemtype.ReferenceName,
GroupId: exampleWorkitemtrackingprocessGroup.ID(),
ControlId: pulumi.String("System.Title"),
Label: pulumi.String("Title"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = new AzureDevOps.WorkitemtrackingprocessProcess("example", new()
{
Name = "example-process",
ParentProcessTypeId = "adcc42ab-9882-485e-a3ed-7678f01f66bc",
});
var exampleWorkitemtrackingprocessWorkitemtype = new AzureDevOps.WorkitemtrackingprocessWorkitemtype("example", new()
{
ProcessId = example.Id,
Name = "example",
});
var exampleWorkitemtrackingprocessGroup = new AzureDevOps.WorkitemtrackingprocessGroup("example", new()
{
ProcessId = example.Id,
WorkItemTypeReferenceName = exampleWorkitemtrackingprocessWorkitemtype.ReferenceName,
PageId = exampleWorkitemtrackingprocessWorkitemtype.Pages.Apply(pages => pages[0].Id),
SectionId = exampleWorkitemtrackingprocessWorkitemtype.Pages.Apply(pages => pages[0].Sections[0]?.Id),
Label = "Custom Group",
});
var exampleWorkitemtrackingprocessControl = new AzureDevOps.WorkitemtrackingprocessControl("example", new()
{
ProcessId = example.Id,
WorkItemTypeReferenceName = exampleWorkitemtrackingprocessWorkitemtype.ReferenceName,
GroupId = exampleWorkitemtrackingprocessGroup.Id,
ControlId = "System.Title",
Label = "Title",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.WorkitemtrackingprocessProcess;
import com.pulumi.azuredevops.WorkitemtrackingprocessProcessArgs;
import com.pulumi.azuredevops.WorkitemtrackingprocessWorkitemtype;
import com.pulumi.azuredevops.WorkitemtrackingprocessWorkitemtypeArgs;
import com.pulumi.azuredevops.WorkitemtrackingprocessGroup;
import com.pulumi.azuredevops.WorkitemtrackingprocessGroupArgs;
import com.pulumi.azuredevops.WorkitemtrackingprocessControl;
import com.pulumi.azuredevops.WorkitemtrackingprocessControlArgs;
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 example = new WorkitemtrackingprocessProcess("example", WorkitemtrackingprocessProcessArgs.builder()
.name("example-process")
.parentProcessTypeId("adcc42ab-9882-485e-a3ed-7678f01f66bc")
.build());
var exampleWorkitemtrackingprocessWorkitemtype = new WorkitemtrackingprocessWorkitemtype("exampleWorkitemtrackingprocessWorkitemtype", WorkitemtrackingprocessWorkitemtypeArgs.builder()
.processId(example.id())
.name("example")
.build());
var exampleWorkitemtrackingprocessGroup = new WorkitemtrackingprocessGroup("exampleWorkitemtrackingprocessGroup", WorkitemtrackingprocessGroupArgs.builder()
.processId(example.id())
.workItemTypeReferenceName(exampleWorkitemtrackingprocessWorkitemtype.referenceName())
.pageId(exampleWorkitemtrackingprocessWorkitemtype.pages().applyValue(_pages -> _pages[0].id()))
.sectionId(exampleWorkitemtrackingprocessWorkitemtype.pages().applyValue(_pages -> _pages[0].sections()[0].id()))
.label("Custom Group")
.build());
var exampleWorkitemtrackingprocessControl = new WorkitemtrackingprocessControl("exampleWorkitemtrackingprocessControl", WorkitemtrackingprocessControlArgs.builder()
.processId(example.id())
.workItemTypeReferenceName(exampleWorkitemtrackingprocessWorkitemtype.referenceName())
.groupId(exampleWorkitemtrackingprocessGroup.id())
.controlId("System.Title")
.label("Title")
.build());
}
}
resources:
example:
type: azuredevops:WorkitemtrackingprocessProcess
properties:
name: example-process
parentProcessTypeId: adcc42ab-9882-485e-a3ed-7678f01f66bc
exampleWorkitemtrackingprocessWorkitemtype:
type: azuredevops:WorkitemtrackingprocessWorkitemtype
name: example
properties:
processId: ${example.id}
name: example
exampleWorkitemtrackingprocessGroup:
type: azuredevops:WorkitemtrackingprocessGroup
name: example
properties:
processId: ${example.id}
workItemTypeReferenceName: ${exampleWorkitemtrackingprocessWorkitemtype.referenceName}
pageId: ${exampleWorkitemtrackingprocessWorkitemtype.pages[0].id}
sectionId: ${exampleWorkitemtrackingprocessWorkitemtype.pages[0].sections[0].id}
label: Custom Group
exampleWorkitemtrackingprocessControl:
type: azuredevops:WorkitemtrackingprocessControl
name: example
properties:
processId: ${example.id}
workItemTypeReferenceName: ${exampleWorkitemtrackingprocessWorkitemtype.referenceName}
groupId: ${exampleWorkitemtrackingprocessGroup.id}
controlId: System.Title
label: Title
Contribution Control (Extension)
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.WorkitemtrackingprocessProcess("example", {
name: "example-process",
parentProcessTypeId: "adcc42ab-9882-485e-a3ed-7678f01f66bc",
});
const exampleWorkitemtrackingprocessWorkitemtype = new azuredevops.WorkitemtrackingprocessWorkitemtype("example", {
processId: example.id,
name: "example",
});
const exampleWorkitemtrackingprocessGroup = new azuredevops.WorkitemtrackingprocessGroup("example", {
processId: example.id,
workItemTypeReferenceName: exampleWorkitemtrackingprocessWorkitemtype.referenceName,
pageId: exampleWorkitemtrackingprocessWorkitemtype.pages.apply(pages => pages[0].id),
sectionId: exampleWorkitemtrackingprocessWorkitemtype.pages.apply(pages => pages[0].sections?.[0]?.id),
label: "Custom Group",
});
const exampleWorkitemtrackingprocessControl = new azuredevops.WorkitemtrackingprocessControl("example", {
processId: example.id,
workItemTypeReferenceName: exampleWorkitemtrackingprocessWorkitemtype.referenceName,
groupId: exampleWorkitemtrackingprocessGroup.id,
controlId: "MultiValueControl",
isContribution: true,
contribution: {
contributionId: "ms-devlabs.vsts-extensions-multivalue-control.multivalue-form-control",
height: 50,
inputs: {
FieldName: "System.Tags",
Values: "Option1;Option2;Option3",
},
},
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.WorkitemtrackingprocessProcess("example",
name="example-process",
parent_process_type_id="adcc42ab-9882-485e-a3ed-7678f01f66bc")
example_workitemtrackingprocess_workitemtype = azuredevops.WorkitemtrackingprocessWorkitemtype("example",
process_id=example.id,
name="example")
example_workitemtrackingprocess_group = azuredevops.WorkitemtrackingprocessGroup("example",
process_id=example.id,
work_item_type_reference_name=example_workitemtrackingprocess_workitemtype.reference_name,
page_id=example_workitemtrackingprocess_workitemtype.pages[0].id,
section_id=example_workitemtrackingprocess_workitemtype.pages[0].sections[0].id,
label="Custom Group")
example_workitemtrackingprocess_control = azuredevops.WorkitemtrackingprocessControl("example",
process_id=example.id,
work_item_type_reference_name=example_workitemtrackingprocess_workitemtype.reference_name,
group_id=example_workitemtrackingprocess_group.id,
control_id="MultiValueControl",
is_contribution=True,
contribution={
"contribution_id": "ms-devlabs.vsts-extensions-multivalue-control.multivalue-form-control",
"height": 50,
"inputs": {
"FieldName": "System.Tags",
"Values": "Option1;Option2;Option3",
},
})
package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := azuredevops.NewWorkitemtrackingprocessProcess(ctx, "example", &azuredevops.WorkitemtrackingprocessProcessArgs{
Name: pulumi.String("example-process"),
ParentProcessTypeId: pulumi.String("adcc42ab-9882-485e-a3ed-7678f01f66bc"),
})
if err != nil {
return err
}
exampleWorkitemtrackingprocessWorkitemtype, err := azuredevops.NewWorkitemtrackingprocessWorkitemtype(ctx, "example", &azuredevops.WorkitemtrackingprocessWorkitemtypeArgs{
ProcessId: example.ID(),
Name: pulumi.String("example"),
})
if err != nil {
return err
}
exampleWorkitemtrackingprocessGroup, err := azuredevops.NewWorkitemtrackingprocessGroup(ctx, "example", &azuredevops.WorkitemtrackingprocessGroupArgs{
ProcessId: example.ID(),
WorkItemTypeReferenceName: exampleWorkitemtrackingprocessWorkitemtype.ReferenceName,
PageId: pulumi.String(exampleWorkitemtrackingprocessWorkitemtype.Pages.ApplyT(func(pages []azuredevops.WorkitemtrackingprocessWorkitemtypePage) (*string, error) {
return &pages[0].Id, nil
}).(pulumi.StringPtrOutput)),
SectionId: pulumi.String(exampleWorkitemtrackingprocessWorkitemtype.Pages.ApplyT(func(pages []azuredevops.WorkitemtrackingprocessWorkitemtypePage) (*string, error) {
return &pages[0].Sections[0].Id, nil
}).(pulumi.StringPtrOutput)),
Label: pulumi.String("Custom Group"),
})
if err != nil {
return err
}
_, err = azuredevops.NewWorkitemtrackingprocessControl(ctx, "example", &azuredevops.WorkitemtrackingprocessControlArgs{
ProcessId: example.ID(),
WorkItemTypeReferenceName: exampleWorkitemtrackingprocessWorkitemtype.ReferenceName,
GroupId: exampleWorkitemtrackingprocessGroup.ID(),
ControlId: pulumi.String("MultiValueControl"),
IsContribution: pulumi.Bool(true),
Contribution: &azuredevops.WorkitemtrackingprocessControlContributionArgs{
ContributionId: pulumi.String("ms-devlabs.vsts-extensions-multivalue-control.multivalue-form-control"),
Height: pulumi.Int(50),
Inputs: pulumi.StringMap{
"FieldName": pulumi.String("System.Tags"),
"Values": pulumi.String("Option1;Option2;Option3"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = new AzureDevOps.WorkitemtrackingprocessProcess("example", new()
{
Name = "example-process",
ParentProcessTypeId = "adcc42ab-9882-485e-a3ed-7678f01f66bc",
});
var exampleWorkitemtrackingprocessWorkitemtype = new AzureDevOps.WorkitemtrackingprocessWorkitemtype("example", new()
{
ProcessId = example.Id,
Name = "example",
});
var exampleWorkitemtrackingprocessGroup = new AzureDevOps.WorkitemtrackingprocessGroup("example", new()
{
ProcessId = example.Id,
WorkItemTypeReferenceName = exampleWorkitemtrackingprocessWorkitemtype.ReferenceName,
PageId = exampleWorkitemtrackingprocessWorkitemtype.Pages.Apply(pages => pages[0].Id),
SectionId = exampleWorkitemtrackingprocessWorkitemtype.Pages.Apply(pages => pages[0].Sections[0]?.Id),
Label = "Custom Group",
});
var exampleWorkitemtrackingprocessControl = new AzureDevOps.WorkitemtrackingprocessControl("example", new()
{
ProcessId = example.Id,
WorkItemTypeReferenceName = exampleWorkitemtrackingprocessWorkitemtype.ReferenceName,
GroupId = exampleWorkitemtrackingprocessGroup.Id,
ControlId = "MultiValueControl",
IsContribution = true,
Contribution = new AzureDevOps.Inputs.WorkitemtrackingprocessControlContributionArgs
{
ContributionId = "ms-devlabs.vsts-extensions-multivalue-control.multivalue-form-control",
Height = 50,
Inputs =
{
{ "FieldName", "System.Tags" },
{ "Values", "Option1;Option2;Option3" },
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.WorkitemtrackingprocessProcess;
import com.pulumi.azuredevops.WorkitemtrackingprocessProcessArgs;
import com.pulumi.azuredevops.WorkitemtrackingprocessWorkitemtype;
import com.pulumi.azuredevops.WorkitemtrackingprocessWorkitemtypeArgs;
import com.pulumi.azuredevops.WorkitemtrackingprocessGroup;
import com.pulumi.azuredevops.WorkitemtrackingprocessGroupArgs;
import com.pulumi.azuredevops.WorkitemtrackingprocessControl;
import com.pulumi.azuredevops.WorkitemtrackingprocessControlArgs;
import com.pulumi.azuredevops.inputs.WorkitemtrackingprocessControlContributionArgs;
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 example = new WorkitemtrackingprocessProcess("example", WorkitemtrackingprocessProcessArgs.builder()
.name("example-process")
.parentProcessTypeId("adcc42ab-9882-485e-a3ed-7678f01f66bc")
.build());
var exampleWorkitemtrackingprocessWorkitemtype = new WorkitemtrackingprocessWorkitemtype("exampleWorkitemtrackingprocessWorkitemtype", WorkitemtrackingprocessWorkitemtypeArgs.builder()
.processId(example.id())
.name("example")
.build());
var exampleWorkitemtrackingprocessGroup = new WorkitemtrackingprocessGroup("exampleWorkitemtrackingprocessGroup", WorkitemtrackingprocessGroupArgs.builder()
.processId(example.id())
.workItemTypeReferenceName(exampleWorkitemtrackingprocessWorkitemtype.referenceName())
.pageId(exampleWorkitemtrackingprocessWorkitemtype.pages().applyValue(_pages -> _pages[0].id()))
.sectionId(exampleWorkitemtrackingprocessWorkitemtype.pages().applyValue(_pages -> _pages[0].sections()[0].id()))
.label("Custom Group")
.build());
var exampleWorkitemtrackingprocessControl = new WorkitemtrackingprocessControl("exampleWorkitemtrackingprocessControl", WorkitemtrackingprocessControlArgs.builder()
.processId(example.id())
.workItemTypeReferenceName(exampleWorkitemtrackingprocessWorkitemtype.referenceName())
.groupId(exampleWorkitemtrackingprocessGroup.id())
.controlId("MultiValueControl")
.isContribution(true)
.contribution(WorkitemtrackingprocessControlContributionArgs.builder()
.contributionId("ms-devlabs.vsts-extensions-multivalue-control.multivalue-form-control")
.height(50)
.inputs(Map.ofEntries(
Map.entry("FieldName", "System.Tags"),
Map.entry("Values", "Option1;Option2;Option3")
))
.build())
.build());
}
}
resources:
example:
type: azuredevops:WorkitemtrackingprocessProcess
properties:
name: example-process
parentProcessTypeId: adcc42ab-9882-485e-a3ed-7678f01f66bc
exampleWorkitemtrackingprocessWorkitemtype:
type: azuredevops:WorkitemtrackingprocessWorkitemtype
name: example
properties:
processId: ${example.id}
name: example
exampleWorkitemtrackingprocessGroup:
type: azuredevops:WorkitemtrackingprocessGroup
name: example
properties:
processId: ${example.id}
workItemTypeReferenceName: ${exampleWorkitemtrackingprocessWorkitemtype.referenceName}
pageId: ${exampleWorkitemtrackingprocessWorkitemtype.pages[0].id}
sectionId: ${exampleWorkitemtrackingprocessWorkitemtype.pages[0].sections[0].id}
label: Custom Group
exampleWorkitemtrackingprocessControl:
type: azuredevops:WorkitemtrackingprocessControl
name: example
properties:
processId: ${example.id}
workItemTypeReferenceName: ${exampleWorkitemtrackingprocessWorkitemtype.referenceName}
groupId: ${exampleWorkitemtrackingprocessGroup.id}
controlId: MultiValueControl
isContribution: true
contribution:
contributionId: ms-devlabs.vsts-extensions-multivalue-control.multivalue-form-control
height: 50
inputs:
FieldName: System.Tags
Values: Option1;Option2;Option3
Relevant Links
Create WorkitemtrackingprocessControl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkitemtrackingprocessControl(name: string, args: WorkitemtrackingprocessControlArgs, opts?: CustomResourceOptions);@overload
def WorkitemtrackingprocessControl(resource_name: str,
args: WorkitemtrackingprocessControlArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkitemtrackingprocessControl(resource_name: str,
opts: Optional[ResourceOptions] = None,
control_id: Optional[str] = None,
group_id: Optional[str] = None,
process_id: Optional[str] = None,
work_item_type_reference_name: Optional[str] = None,
contribution: Optional[WorkitemtrackingprocessControlContributionArgs] = None,
is_contribution: Optional[bool] = None,
label: Optional[str] = None,
metadata: Optional[str] = None,
order: Optional[int] = None,
read_only: Optional[bool] = None,
visible: Optional[bool] = None,
watermark: Optional[str] = None)func NewWorkitemtrackingprocessControl(ctx *Context, name string, args WorkitemtrackingprocessControlArgs, opts ...ResourceOption) (*WorkitemtrackingprocessControl, error)public WorkitemtrackingprocessControl(string name, WorkitemtrackingprocessControlArgs args, CustomResourceOptions? opts = null)
public WorkitemtrackingprocessControl(String name, WorkitemtrackingprocessControlArgs args)
public WorkitemtrackingprocessControl(String name, WorkitemtrackingprocessControlArgs args, CustomResourceOptions options)
type: azuredevops:WorkitemtrackingprocessControl
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 WorkitemtrackingprocessControlArgs
- 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 WorkitemtrackingprocessControlArgs
- 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 WorkitemtrackingprocessControlArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkitemtrackingprocessControlArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkitemtrackingprocessControlArgs
- 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 workitemtrackingprocessControlResource = new AzureDevOps.WorkitemtrackingprocessControl("workitemtrackingprocessControlResource", new()
{
ControlId = "string",
GroupId = "string",
ProcessId = "string",
WorkItemTypeReferenceName = "string",
Contribution = new AzureDevOps.Inputs.WorkitemtrackingprocessControlContributionArgs
{
ContributionId = "string",
Height = 0,
Inputs =
{
{ "string", "string" },
},
ShowOnDeletedWorkItem = false,
},
IsContribution = false,
Label = "string",
Metadata = "string",
Order = 0,
ReadOnly = false,
Visible = false,
Watermark = "string",
});
example, err := azuredevops.NewWorkitemtrackingprocessControl(ctx, "workitemtrackingprocessControlResource", &azuredevops.WorkitemtrackingprocessControlArgs{
ControlId: pulumi.String("string"),
GroupId: pulumi.String("string"),
ProcessId: pulumi.String("string"),
WorkItemTypeReferenceName: pulumi.String("string"),
Contribution: &azuredevops.WorkitemtrackingprocessControlContributionArgs{
ContributionId: pulumi.String("string"),
Height: pulumi.Int(0),
Inputs: pulumi.StringMap{
"string": pulumi.String("string"),
},
ShowOnDeletedWorkItem: pulumi.Bool(false),
},
IsContribution: pulumi.Bool(false),
Label: pulumi.String("string"),
Metadata: pulumi.String("string"),
Order: pulumi.Int(0),
ReadOnly: pulumi.Bool(false),
Visible: pulumi.Bool(false),
Watermark: pulumi.String("string"),
})
var workitemtrackingprocessControlResource = new WorkitemtrackingprocessControl("workitemtrackingprocessControlResource", WorkitemtrackingprocessControlArgs.builder()
.controlId("string")
.groupId("string")
.processId("string")
.workItemTypeReferenceName("string")
.contribution(WorkitemtrackingprocessControlContributionArgs.builder()
.contributionId("string")
.height(0)
.inputs(Map.of("string", "string"))
.showOnDeletedWorkItem(false)
.build())
.isContribution(false)
.label("string")
.metadata("string")
.order(0)
.readOnly(false)
.visible(false)
.watermark("string")
.build());
workitemtrackingprocess_control_resource = azuredevops.WorkitemtrackingprocessControl("workitemtrackingprocessControlResource",
control_id="string",
group_id="string",
process_id="string",
work_item_type_reference_name="string",
contribution={
"contribution_id": "string",
"height": 0,
"inputs": {
"string": "string",
},
"show_on_deleted_work_item": False,
},
is_contribution=False,
label="string",
metadata="string",
order=0,
read_only=False,
visible=False,
watermark="string")
const workitemtrackingprocessControlResource = new azuredevops.WorkitemtrackingprocessControl("workitemtrackingprocessControlResource", {
controlId: "string",
groupId: "string",
processId: "string",
workItemTypeReferenceName: "string",
contribution: {
contributionId: "string",
height: 0,
inputs: {
string: "string",
},
showOnDeletedWorkItem: false,
},
isContribution: false,
label: "string",
metadata: "string",
order: 0,
readOnly: false,
visible: false,
watermark: "string",
});
type: azuredevops:WorkitemtrackingprocessControl
properties:
contribution:
contributionId: string
height: 0
inputs:
string: string
showOnDeletedWorkItem: false
controlId: string
groupId: string
isContribution: false
label: string
metadata: string
order: 0
processId: string
readOnly: false
visible: false
watermark: string
workItemTypeReferenceName: string
WorkitemtrackingprocessControl 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 WorkitemtrackingprocessControl resource accepts the following input properties:
- Control
Id string - The ID for the control. For field controls, this is the field reference name. Changing this forces a new control to be created.
- Group
Id string - The ID of the group to add the control to. Changing this moves the control to the new group.
- Process
Id string - The ID of the process. Changing this forces a new control to be created.
- Work
Item stringType Reference Name - The reference name of the work item type. Changing this forces a new control to be created.
- Contribution
Pulumi.
Azure Dev Ops. Inputs. Workitemtrackingprocess Control Contribution - Contribution configuration for extension controls. A
contributionblock as defined below. - Is
Contribution bool - A value indicating if the control is a contribution (extension) control. Default:
false - Label string
- Label for the control.
- Metadata string
- Inner text of the control.
- Order int
- Order in which the control should appear in its group.
- Read
Only bool - A value indicating if the control is readonly. Default:
false - Visible bool
- A value indicating if the control should be visible or not. Default:
true - Watermark string
- Watermark text for the textbox.
- Control
Id string - The ID for the control. For field controls, this is the field reference name. Changing this forces a new control to be created.
- Group
Id string - The ID of the group to add the control to. Changing this moves the control to the new group.
- Process
Id string - The ID of the process. Changing this forces a new control to be created.
- Work
Item stringType Reference Name - The reference name of the work item type. Changing this forces a new control to be created.
- Contribution
Workitemtrackingprocess
Control Contribution Args - Contribution configuration for extension controls. A
contributionblock as defined below. - Is
Contribution bool - A value indicating if the control is a contribution (extension) control. Default:
false - Label string
- Label for the control.
- Metadata string
- Inner text of the control.
- Order int
- Order in which the control should appear in its group.
- Read
Only bool - A value indicating if the control is readonly. Default:
false - Visible bool
- A value indicating if the control should be visible or not. Default:
true - Watermark string
- Watermark text for the textbox.
- control
Id String - The ID for the control. For field controls, this is the field reference name. Changing this forces a new control to be created.
- group
Id String - The ID of the group to add the control to. Changing this moves the control to the new group.
- process
Id String - The ID of the process. Changing this forces a new control to be created.
- work
Item StringType Reference Name - The reference name of the work item type. Changing this forces a new control to be created.
- contribution
Workitemtrackingprocess
Control Contribution - Contribution configuration for extension controls. A
contributionblock as defined below. - is
Contribution Boolean - A value indicating if the control is a contribution (extension) control. Default:
false - label String
- Label for the control.
- metadata String
- Inner text of the control.
- order Integer
- Order in which the control should appear in its group.
- read
Only Boolean - A value indicating if the control is readonly. Default:
false - visible Boolean
- A value indicating if the control should be visible or not. Default:
true - watermark String
- Watermark text for the textbox.
- control
Id string - The ID for the control. For field controls, this is the field reference name. Changing this forces a new control to be created.
- group
Id string - The ID of the group to add the control to. Changing this moves the control to the new group.
- process
Id string - The ID of the process. Changing this forces a new control to be created.
- work
Item stringType Reference Name - The reference name of the work item type. Changing this forces a new control to be created.
- contribution
Workitemtrackingprocess
Control Contribution - Contribution configuration for extension controls. A
contributionblock as defined below. - is
Contribution boolean - A value indicating if the control is a contribution (extension) control. Default:
false - label string
- Label for the control.
- metadata string
- Inner text of the control.
- order number
- Order in which the control should appear in its group.
- read
Only boolean - A value indicating if the control is readonly. Default:
false - visible boolean
- A value indicating if the control should be visible or not. Default:
true - watermark string
- Watermark text for the textbox.
- control_
id str - The ID for the control. For field controls, this is the field reference name. Changing this forces a new control to be created.
- group_
id str - The ID of the group to add the control to. Changing this moves the control to the new group.
- process_
id str - The ID of the process. Changing this forces a new control to be created.
- work_
item_ strtype_ reference_ name - The reference name of the work item type. Changing this forces a new control to be created.
- contribution
Workitemtrackingprocess
Control Contribution Args - Contribution configuration for extension controls. A
contributionblock as defined below. - is_
contribution bool - A value indicating if the control is a contribution (extension) control. Default:
false - label str
- Label for the control.
- metadata str
- Inner text of the control.
- order int
- Order in which the control should appear in its group.
- read_
only bool - A value indicating if the control is readonly. Default:
false - visible bool
- A value indicating if the control should be visible or not. Default:
true - watermark str
- Watermark text for the textbox.
- control
Id String - The ID for the control. For field controls, this is the field reference name. Changing this forces a new control to be created.
- group
Id String - The ID of the group to add the control to. Changing this moves the control to the new group.
- process
Id String - The ID of the process. Changing this forces a new control to be created.
- work
Item StringType Reference Name - The reference name of the work item type. Changing this forces a new control to be created.
- contribution Property Map
- Contribution configuration for extension controls. A
contributionblock as defined below. - is
Contribution Boolean - A value indicating if the control is a contribution (extension) control. Default:
false - label String
- Label for the control.
- metadata String
- Inner text of the control.
- order Number
- Order in which the control should appear in its group.
- read
Only Boolean - A value indicating if the control is readonly. Default:
false - visible Boolean
- A value indicating if the control should be visible or not. Default:
true - watermark String
- Watermark text for the textbox.
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkitemtrackingprocessControl resource produces the following output properties:
- Control
Type string - The type of the control (e.g., FieldControl, HtmlFieldControl, DateTimeControl).
- Id string
- The provider-assigned unique ID for this managed resource.
- Inherited bool
- A value indicating whether this layout node has been inherited from a parent layout.
- Overridden bool
- A value indicating whether this layout node has been overridden by a child layout.
- Control
Type string - The type of the control (e.g., FieldControl, HtmlFieldControl, DateTimeControl).
- Id string
- The provider-assigned unique ID for this managed resource.
- Inherited bool
- A value indicating whether this layout node has been inherited from a parent layout.
- Overridden bool
- A value indicating whether this layout node has been overridden by a child layout.
- control
Type String - The type of the control (e.g., FieldControl, HtmlFieldControl, DateTimeControl).
- id String
- The provider-assigned unique ID for this managed resource.
- inherited Boolean
- A value indicating whether this layout node has been inherited from a parent layout.
- overridden Boolean
- A value indicating whether this layout node has been overridden by a child layout.
- control
Type string - The type of the control (e.g., FieldControl, HtmlFieldControl, DateTimeControl).
- id string
- The provider-assigned unique ID for this managed resource.
- inherited boolean
- A value indicating whether this layout node has been inherited from a parent layout.
- overridden boolean
- A value indicating whether this layout node has been overridden by a child layout.
- control_
type str - The type of the control (e.g., FieldControl, HtmlFieldControl, DateTimeControl).
- id str
- The provider-assigned unique ID for this managed resource.
- inherited bool
- A value indicating whether this layout node has been inherited from a parent layout.
- overridden bool
- A value indicating whether this layout node has been overridden by a child layout.
- control
Type String - The type of the control (e.g., FieldControl, HtmlFieldControl, DateTimeControl).
- id String
- The provider-assigned unique ID for this managed resource.
- inherited Boolean
- A value indicating whether this layout node has been inherited from a parent layout.
- overridden Boolean
- A value indicating whether this layout node has been overridden by a child layout.
Look up Existing WorkitemtrackingprocessControl Resource
Get an existing WorkitemtrackingprocessControl 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?: WorkitemtrackingprocessControlState, opts?: CustomResourceOptions): WorkitemtrackingprocessControl@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
contribution: Optional[WorkitemtrackingprocessControlContributionArgs] = None,
control_id: Optional[str] = None,
control_type: Optional[str] = None,
group_id: Optional[str] = None,
inherited: Optional[bool] = None,
is_contribution: Optional[bool] = None,
label: Optional[str] = None,
metadata: Optional[str] = None,
order: Optional[int] = None,
overridden: Optional[bool] = None,
process_id: Optional[str] = None,
read_only: Optional[bool] = None,
visible: Optional[bool] = None,
watermark: Optional[str] = None,
work_item_type_reference_name: Optional[str] = None) -> WorkitemtrackingprocessControlfunc GetWorkitemtrackingprocessControl(ctx *Context, name string, id IDInput, state *WorkitemtrackingprocessControlState, opts ...ResourceOption) (*WorkitemtrackingprocessControl, error)public static WorkitemtrackingprocessControl Get(string name, Input<string> id, WorkitemtrackingprocessControlState? state, CustomResourceOptions? opts = null)public static WorkitemtrackingprocessControl get(String name, Output<String> id, WorkitemtrackingprocessControlState state, CustomResourceOptions options)resources: _: type: azuredevops:WorkitemtrackingprocessControl 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.
- Contribution
Pulumi.
Azure Dev Ops. Inputs. Workitemtrackingprocess Control Contribution - Contribution configuration for extension controls. A
contributionblock as defined below. - Control
Id string - The ID for the control. For field controls, this is the field reference name. Changing this forces a new control to be created.
- Control
Type string - The type of the control (e.g., FieldControl, HtmlFieldControl, DateTimeControl).
- Group
Id string - The ID of the group to add the control to. Changing this moves the control to the new group.
- Inherited bool
- A value indicating whether this layout node has been inherited from a parent layout.
- Is
Contribution bool - A value indicating if the control is a contribution (extension) control. Default:
false - Label string
- Label for the control.
- Metadata string
- Inner text of the control.
- Order int
- Order in which the control should appear in its group.
- Overridden bool
- A value indicating whether this layout node has been overridden by a child layout.
- Process
Id string - The ID of the process. Changing this forces a new control to be created.
- Read
Only bool - A value indicating if the control is readonly. Default:
false - Visible bool
- A value indicating if the control should be visible or not. Default:
true - Watermark string
- Watermark text for the textbox.
- Work
Item stringType Reference Name - The reference name of the work item type. Changing this forces a new control to be created.
- Contribution
Workitemtrackingprocess
Control Contribution Args - Contribution configuration for extension controls. A
contributionblock as defined below. - Control
Id string - The ID for the control. For field controls, this is the field reference name. Changing this forces a new control to be created.
- Control
Type string - The type of the control (e.g., FieldControl, HtmlFieldControl, DateTimeControl).
- Group
Id string - The ID of the group to add the control to. Changing this moves the control to the new group.
- Inherited bool
- A value indicating whether this layout node has been inherited from a parent layout.
- Is
Contribution bool - A value indicating if the control is a contribution (extension) control. Default:
false - Label string
- Label for the control.
- Metadata string
- Inner text of the control.
- Order int
- Order in which the control should appear in its group.
- Overridden bool
- A value indicating whether this layout node has been overridden by a child layout.
- Process
Id string - The ID of the process. Changing this forces a new control to be created.
- Read
Only bool - A value indicating if the control is readonly. Default:
false - Visible bool
- A value indicating if the control should be visible or not. Default:
true - Watermark string
- Watermark text for the textbox.
- Work
Item stringType Reference Name - The reference name of the work item type. Changing this forces a new control to be created.
- contribution
Workitemtrackingprocess
Control Contribution - Contribution configuration for extension controls. A
contributionblock as defined below. - control
Id String - The ID for the control. For field controls, this is the field reference name. Changing this forces a new control to be created.
- control
Type String - The type of the control (e.g., FieldControl, HtmlFieldControl, DateTimeControl).
- group
Id String - The ID of the group to add the control to. Changing this moves the control to the new group.
- inherited Boolean
- A value indicating whether this layout node has been inherited from a parent layout.
- is
Contribution Boolean - A value indicating if the control is a contribution (extension) control. Default:
false - label String
- Label for the control.
- metadata String
- Inner text of the control.
- order Integer
- Order in which the control should appear in its group.
- overridden Boolean
- A value indicating whether this layout node has been overridden by a child layout.
- process
Id String - The ID of the process. Changing this forces a new control to be created.
- read
Only Boolean - A value indicating if the control is readonly. Default:
false - visible Boolean
- A value indicating if the control should be visible or not. Default:
true - watermark String
- Watermark text for the textbox.
- work
Item StringType Reference Name - The reference name of the work item type. Changing this forces a new control to be created.
- contribution
Workitemtrackingprocess
Control Contribution - Contribution configuration for extension controls. A
contributionblock as defined below. - control
Id string - The ID for the control. For field controls, this is the field reference name. Changing this forces a new control to be created.
- control
Type string - The type of the control (e.g., FieldControl, HtmlFieldControl, DateTimeControl).
- group
Id string - The ID of the group to add the control to. Changing this moves the control to the new group.
- inherited boolean
- A value indicating whether this layout node has been inherited from a parent layout.
- is
Contribution boolean - A value indicating if the control is a contribution (extension) control. Default:
false - label string
- Label for the control.
- metadata string
- Inner text of the control.
- order number
- Order in which the control should appear in its group.
- overridden boolean
- A value indicating whether this layout node has been overridden by a child layout.
- process
Id string - The ID of the process. Changing this forces a new control to be created.
- read
Only boolean - A value indicating if the control is readonly. Default:
false - visible boolean
- A value indicating if the control should be visible or not. Default:
true - watermark string
- Watermark text for the textbox.
- work
Item stringType Reference Name - The reference name of the work item type. Changing this forces a new control to be created.
- contribution
Workitemtrackingprocess
Control Contribution Args - Contribution configuration for extension controls. A
contributionblock as defined below. - control_
id str - The ID for the control. For field controls, this is the field reference name. Changing this forces a new control to be created.
- control_
type str - The type of the control (e.g., FieldControl, HtmlFieldControl, DateTimeControl).
- group_
id str - The ID of the group to add the control to. Changing this moves the control to the new group.
- inherited bool
- A value indicating whether this layout node has been inherited from a parent layout.
- is_
contribution bool - A value indicating if the control is a contribution (extension) control. Default:
false - label str
- Label for the control.
- metadata str
- Inner text of the control.
- order int
- Order in which the control should appear in its group.
- overridden bool
- A value indicating whether this layout node has been overridden by a child layout.
- process_
id str - The ID of the process. Changing this forces a new control to be created.
- read_
only bool - A value indicating if the control is readonly. Default:
false - visible bool
- A value indicating if the control should be visible or not. Default:
true - watermark str
- Watermark text for the textbox.
- work_
item_ strtype_ reference_ name - The reference name of the work item type. Changing this forces a new control to be created.
- contribution Property Map
- Contribution configuration for extension controls. A
contributionblock as defined below. - control
Id String - The ID for the control. For field controls, this is the field reference name. Changing this forces a new control to be created.
- control
Type String - The type of the control (e.g., FieldControl, HtmlFieldControl, DateTimeControl).
- group
Id String - The ID of the group to add the control to. Changing this moves the control to the new group.
- inherited Boolean
- A value indicating whether this layout node has been inherited from a parent layout.
- is
Contribution Boolean - A value indicating if the control is a contribution (extension) control. Default:
false - label String
- Label for the control.
- metadata String
- Inner text of the control.
- order Number
- Order in which the control should appear in its group.
- overridden Boolean
- A value indicating whether this layout node has been overridden by a child layout.
- process
Id String - The ID of the process. Changing this forces a new control to be created.
- read
Only Boolean - A value indicating if the control is readonly. Default:
false - visible Boolean
- A value indicating if the control should be visible or not. Default:
true - watermark String
- Watermark text for the textbox.
- work
Item StringType Reference Name - The reference name of the work item type. Changing this forces a new control to be created.
Supporting Types
WorkitemtrackingprocessControlContribution, WorkitemtrackingprocessControlContributionArgs
- Contribution
Id string - The ID of the contribution (extension).
- Height int
- The height for the contribution.
- Inputs Dictionary<string, string>
- A dictionary holding key value pairs for contribution inputs.
- Show
On boolDeleted Work Item - A value indicating if the contribution should be shown on deleted work items. Default:
false
- Contribution
Id string - The ID of the contribution (extension).
- Height int
- The height for the contribution.
- Inputs map[string]string
- A dictionary holding key value pairs for contribution inputs.
- Show
On boolDeleted Work Item - A value indicating if the contribution should be shown on deleted work items. Default:
false
- contribution
Id String - The ID of the contribution (extension).
- height Integer
- The height for the contribution.
- inputs Map<String,String>
- A dictionary holding key value pairs for contribution inputs.
- show
On BooleanDeleted Work Item - A value indicating if the contribution should be shown on deleted work items. Default:
false
- contribution
Id string - The ID of the contribution (extension).
- height number
- The height for the contribution.
- inputs {[key: string]: string}
- A dictionary holding key value pairs for contribution inputs.
- show
On booleanDeleted Work Item - A value indicating if the contribution should be shown on deleted work items. Default:
false
- contribution_
id str - The ID of the contribution (extension).
- height int
- The height for the contribution.
- inputs Mapping[str, str]
- A dictionary holding key value pairs for contribution inputs.
- show_
on_ booldeleted_ work_ item - A value indicating if the contribution should be shown on deleted work items. Default:
false
- contribution
Id String - The ID of the contribution (extension).
- height Number
- The height for the contribution.
- inputs Map<String>
- A dictionary holding key value pairs for contribution inputs.
- show
On BooleanDeleted Work Item - A value indicating if the contribution should be shown on deleted work items. Default:
false
Import
Controls can be imported using the complete resource id process_id/work_item_type_reference_name/group_id/control_id, e.g.
$ pulumi import azuredevops:index/workitemtrackingprocessControl:WorkitemtrackingprocessControl example 00000000-0000-0000-0000-000000000000/MyProcess.CustomWorkItemType/group-id/System.Title
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure DevOps pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azuredevopsTerraform Provider.
