@pulumi/azuredevops 3.11.0-alpha.1766121963 → 3.11.0-alpha.1766201994

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,143 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages a process.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azuredevops from "@pulumi/azuredevops";
10
+ *
11
+ * const customAgile = new azuredevops.WorkitemtrackingprocessProcess("custom_agile", {
12
+ * name: "custom_agile",
13
+ * parentProcessTypeId: "adcc42ab-9882-485e-a3ed-7678f01f66bc",
14
+ * });
15
+ * ```
16
+ *
17
+ * ## Relevant Links
18
+ *
19
+ * - [Azure DevOps Service REST API 7.1 - Processes](https://learn.microsoft.com/en-us/rest/api/azure/devops/processes/processes?view=azure-devops-rest-7.1)
20
+ *
21
+ * ## Import
22
+ *
23
+ * A process can be imported using the process id, e.g.
24
+ *
25
+ * ```sh
26
+ * $ pulumi import azuredevops:index/workitemtrackingprocessProcess:WorkitemtrackingprocessProcess example 00000000-0000-0000-0000-000000000000
27
+ * ```
28
+ */
29
+ export declare class WorkitemtrackingprocessProcess extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing WorkitemtrackingprocessProcess resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkitemtrackingprocessProcessState, opts?: pulumi.CustomResourceOptions): WorkitemtrackingprocessProcess;
40
+ /**
41
+ * Returns true if the given object is an instance of WorkitemtrackingprocessProcess. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is WorkitemtrackingprocessProcess;
45
+ /**
46
+ * Indicates the type of customization on this process. System Process is default process. Inherited Process is modified process that was System process before.
47
+ */
48
+ readonly customizationType: pulumi.Output<string>;
49
+ /**
50
+ * Description of the process. Default: ""
51
+ */
52
+ readonly description: pulumi.Output<string | undefined>;
53
+ /**
54
+ * Is the process default? Default: false
55
+ */
56
+ readonly isDefault: pulumi.Output<boolean | undefined>;
57
+ /**
58
+ * Is the process enabled? Default: true
59
+ */
60
+ readonly isEnabled: pulumi.Output<boolean | undefined>;
61
+ /**
62
+ * Name of the process.
63
+ */
64
+ readonly name: pulumi.Output<string>;
65
+ /**
66
+ * ID of the parent process. Changing this forces a new process to be created.
67
+ */
68
+ readonly parentProcessTypeId: pulumi.Output<string>;
69
+ /**
70
+ * Reference name of process being created. If not specified, server will assign a unique reference name. Changing this forces a new process to be created.
71
+ */
72
+ readonly referenceName: pulumi.Output<string>;
73
+ /**
74
+ * Create a WorkitemtrackingprocessProcess resource with the given unique name, arguments, and options.
75
+ *
76
+ * @param name The _unique_ name of the resource.
77
+ * @param args The arguments to use to populate this resource's properties.
78
+ * @param opts A bag of options that control this resource's behavior.
79
+ */
80
+ constructor(name: string, args: WorkitemtrackingprocessProcessArgs, opts?: pulumi.CustomResourceOptions);
81
+ }
82
+ /**
83
+ * Input properties used for looking up and filtering WorkitemtrackingprocessProcess resources.
84
+ */
85
+ export interface WorkitemtrackingprocessProcessState {
86
+ /**
87
+ * Indicates the type of customization on this process. System Process is default process. Inherited Process is modified process that was System process before.
88
+ */
89
+ customizationType?: pulumi.Input<string>;
90
+ /**
91
+ * Description of the process. Default: ""
92
+ */
93
+ description?: pulumi.Input<string>;
94
+ /**
95
+ * Is the process default? Default: false
96
+ */
97
+ isDefault?: pulumi.Input<boolean>;
98
+ /**
99
+ * Is the process enabled? Default: true
100
+ */
101
+ isEnabled?: pulumi.Input<boolean>;
102
+ /**
103
+ * Name of the process.
104
+ */
105
+ name?: pulumi.Input<string>;
106
+ /**
107
+ * ID of the parent process. Changing this forces a new process to be created.
108
+ */
109
+ parentProcessTypeId?: pulumi.Input<string>;
110
+ /**
111
+ * Reference name of process being created. If not specified, server will assign a unique reference name. Changing this forces a new process to be created.
112
+ */
113
+ referenceName?: pulumi.Input<string>;
114
+ }
115
+ /**
116
+ * The set of arguments for constructing a WorkitemtrackingprocessProcess resource.
117
+ */
118
+ export interface WorkitemtrackingprocessProcessArgs {
119
+ /**
120
+ * Description of the process. Default: ""
121
+ */
122
+ description?: pulumi.Input<string>;
123
+ /**
124
+ * Is the process default? Default: false
125
+ */
126
+ isDefault?: pulumi.Input<boolean>;
127
+ /**
128
+ * Is the process enabled? Default: true
129
+ */
130
+ isEnabled?: pulumi.Input<boolean>;
131
+ /**
132
+ * Name of the process.
133
+ */
134
+ name?: pulumi.Input<string>;
135
+ /**
136
+ * ID of the parent process. Changing this forces a new process to be created.
137
+ */
138
+ parentProcessTypeId: pulumi.Input<string>;
139
+ /**
140
+ * Reference name of process being created. If not specified, server will assign a unique reference name. Changing this forces a new process to be created.
141
+ */
142
+ referenceName?: pulumi.Input<string>;
143
+ }
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.WorkitemtrackingprocessProcess = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Manages a process.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azuredevops from "@pulumi/azuredevops";
16
+ *
17
+ * const customAgile = new azuredevops.WorkitemtrackingprocessProcess("custom_agile", {
18
+ * name: "custom_agile",
19
+ * parentProcessTypeId: "adcc42ab-9882-485e-a3ed-7678f01f66bc",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Relevant Links
24
+ *
25
+ * - [Azure DevOps Service REST API 7.1 - Processes](https://learn.microsoft.com/en-us/rest/api/azure/devops/processes/processes?view=azure-devops-rest-7.1)
26
+ *
27
+ * ## Import
28
+ *
29
+ * A process can be imported using the process id, e.g.
30
+ *
31
+ * ```sh
32
+ * $ pulumi import azuredevops:index/workitemtrackingprocessProcess:WorkitemtrackingprocessProcess example 00000000-0000-0000-0000-000000000000
33
+ * ```
34
+ */
35
+ class WorkitemtrackingprocessProcess extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing WorkitemtrackingprocessProcess resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name, id, state, opts) {
46
+ return new WorkitemtrackingprocessProcess(name, state, { ...opts, id: id });
47
+ }
48
+ /**
49
+ * Returns true if the given object is an instance of WorkitemtrackingprocessProcess. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === WorkitemtrackingprocessProcess.__pulumiType;
57
+ }
58
+ constructor(name, argsOrState, opts) {
59
+ let resourceInputs = {};
60
+ opts = opts || {};
61
+ if (opts.id) {
62
+ const state = argsOrState;
63
+ resourceInputs["customizationType"] = state?.customizationType;
64
+ resourceInputs["description"] = state?.description;
65
+ resourceInputs["isDefault"] = state?.isDefault;
66
+ resourceInputs["isEnabled"] = state?.isEnabled;
67
+ resourceInputs["name"] = state?.name;
68
+ resourceInputs["parentProcessTypeId"] = state?.parentProcessTypeId;
69
+ resourceInputs["referenceName"] = state?.referenceName;
70
+ }
71
+ else {
72
+ const args = argsOrState;
73
+ if (args?.parentProcessTypeId === undefined && !opts.urn) {
74
+ throw new Error("Missing required property 'parentProcessTypeId'");
75
+ }
76
+ resourceInputs["description"] = args?.description;
77
+ resourceInputs["isDefault"] = args?.isDefault;
78
+ resourceInputs["isEnabled"] = args?.isEnabled;
79
+ resourceInputs["name"] = args?.name;
80
+ resourceInputs["parentProcessTypeId"] = args?.parentProcessTypeId;
81
+ resourceInputs["referenceName"] = args?.referenceName;
82
+ resourceInputs["customizationType"] = undefined /*out*/;
83
+ }
84
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
85
+ super(WorkitemtrackingprocessProcess.__pulumiType, name, resourceInputs, opts);
86
+ }
87
+ }
88
+ exports.WorkitemtrackingprocessProcess = WorkitemtrackingprocessProcess;
89
+ /** @internal */
90
+ WorkitemtrackingprocessProcess.__pulumiType = 'azuredevops:index/workitemtrackingprocessProcess:WorkitemtrackingprocessProcess';
91
+ //# sourceMappingURL=workitemtrackingprocessProcess.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workitemtrackingprocessProcess.js","sourceRoot":"","sources":["../workitemtrackingprocessProcess.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,8BAA8B,CA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