@pulumi/azuredevops 3.14.0-alpha.1773380296 → 3.14.0-alpha.1774325046
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.
- package/extension.d.ts +6 -6
- package/package.json +2 -2
- package/workitem.d.ts +59 -0
- package/workitem.js +33 -0
- package/workitem.js.map +1 -1
package/extension.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export declare class Extension extends pulumi.CustomResource {
|
|
|
48
48
|
*/
|
|
49
49
|
readonly disabled: pulumi.Output<boolean>;
|
|
50
50
|
/**
|
|
51
|
-
* The
|
|
51
|
+
* The Azure DevOps Marketplace extension identifier, for example `vss-code-search`.
|
|
52
52
|
*/
|
|
53
53
|
readonly extensionId: pulumi.Output<string>;
|
|
54
54
|
/**
|
|
@@ -56,7 +56,7 @@ export declare class Extension extends pulumi.CustomResource {
|
|
|
56
56
|
*/
|
|
57
57
|
readonly extensionName: pulumi.Output<string>;
|
|
58
58
|
/**
|
|
59
|
-
* The
|
|
59
|
+
* The Azure DevOps Marketplace publisher identifier, for example `ms`.
|
|
60
60
|
*/
|
|
61
61
|
readonly publisherId: pulumi.Output<string>;
|
|
62
62
|
/**
|
|
@@ -89,7 +89,7 @@ export interface ExtensionState {
|
|
|
89
89
|
*/
|
|
90
90
|
disabled?: pulumi.Input<boolean>;
|
|
91
91
|
/**
|
|
92
|
-
* The
|
|
92
|
+
* The Azure DevOps Marketplace extension identifier, for example `vss-code-search`.
|
|
93
93
|
*/
|
|
94
94
|
extensionId?: pulumi.Input<string>;
|
|
95
95
|
/**
|
|
@@ -97,7 +97,7 @@ export interface ExtensionState {
|
|
|
97
97
|
*/
|
|
98
98
|
extensionName?: pulumi.Input<string>;
|
|
99
99
|
/**
|
|
100
|
-
* The
|
|
100
|
+
* The Azure DevOps Marketplace publisher identifier, for example `ms`.
|
|
101
101
|
*/
|
|
102
102
|
publisherId?: pulumi.Input<string>;
|
|
103
103
|
/**
|
|
@@ -122,11 +122,11 @@ export interface ExtensionArgs {
|
|
|
122
122
|
*/
|
|
123
123
|
disabled?: pulumi.Input<boolean>;
|
|
124
124
|
/**
|
|
125
|
-
* The
|
|
125
|
+
* The Azure DevOps Marketplace extension identifier, for example `vss-code-search`.
|
|
126
126
|
*/
|
|
127
127
|
extensionId: pulumi.Input<string>;
|
|
128
128
|
/**
|
|
129
|
-
* The
|
|
129
|
+
* The Azure DevOps Marketplace publisher identifier, for example `ms`.
|
|
130
130
|
*/
|
|
131
131
|
publisherId: pulumi.Input<string>;
|
|
132
132
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/azuredevops",
|
|
3
|
-
"version": "3.14.0-alpha.
|
|
3
|
+
"version": "3.14.0-alpha.1774325046",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Azure DevOps.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "azuredevops",
|
|
26
|
-
"version": "3.14.0-alpha.
|
|
26
|
+
"version": "3.14.0-alpha.1774325046"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/workitem.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ import * as outputs from "./types/output";
|
|
|
22
22
|
* const exampleWorkitem = new azuredevops.Workitem("example", {
|
|
23
23
|
* projectId: exampleAzuredevopsProject.id,
|
|
24
24
|
* title: "Example Work Item",
|
|
25
|
+
* description: "Managed by Pulumi",
|
|
25
26
|
* type: "Issue",
|
|
26
27
|
* state: "Active",
|
|
27
28
|
* tags: ["Tag"],
|
|
@@ -80,6 +81,34 @@ import * as outputs from "./types/output";
|
|
|
80
81
|
* });
|
|
81
82
|
* ```
|
|
82
83
|
*
|
|
84
|
+
* ### With Additional Fields
|
|
85
|
+
*
|
|
86
|
+
* ```typescript
|
|
87
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
88
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
89
|
+
*
|
|
90
|
+
* const example = new azuredevops.Project("example", {
|
|
91
|
+
* name: "Example Project",
|
|
92
|
+
* workItemTemplate: "Agile",
|
|
93
|
+
* versionControl: "Git",
|
|
94
|
+
* visibility: "private",
|
|
95
|
+
* description: "Managed by Pulumi",
|
|
96
|
+
* });
|
|
97
|
+
* const exampleWorkitem = new azuredevops.Workitem("example", {
|
|
98
|
+
* projectId: exampleAzuredevopsProject.id,
|
|
99
|
+
* title: "Example Work Item",
|
|
100
|
+
* type: "User Story",
|
|
101
|
+
* state: "New",
|
|
102
|
+
* tags: ["Tag"],
|
|
103
|
+
* additionalFieldsJson: JSON.stringify({
|
|
104
|
+
* "Microsoft.VSTS.Scheduling.StoryPoints": 5,
|
|
105
|
+
* "Microsoft.VSTS.Common.AcceptanceCriteria": "This is our definition of done",
|
|
106
|
+
* "Microsoft.VSTS.Common.Priority": 2,
|
|
107
|
+
* "Microsoft.VSTS.Common.ValueArea": "Business",
|
|
108
|
+
* }),
|
|
109
|
+
* });
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
83
112
|
* ## Import
|
|
84
113
|
*
|
|
85
114
|
* Azure DevOps Work Item can be imported using the Project ID and Work Item ID, e.g.
|
|
@@ -104,16 +133,26 @@ export declare class Workitem extends pulumi.CustomResource {
|
|
|
104
133
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
105
134
|
*/
|
|
106
135
|
static isInstance(obj: any): obj is Workitem;
|
|
136
|
+
/**
|
|
137
|
+
* A JSON-formatted string of extra fields. **Note**: Removing this attribute from your configuration will not clear existing fields in the API. To remove all fields, set this value to an empty JSON string (`"{}"`).
|
|
138
|
+
*/
|
|
139
|
+
readonly additionalFieldsJson: pulumi.Output<string | undefined>;
|
|
107
140
|
/**
|
|
108
141
|
* Specifies the area where the Work Item is used.
|
|
109
142
|
*/
|
|
110
143
|
readonly areaPath: pulumi.Output<string>;
|
|
111
144
|
/**
|
|
112
145
|
* Specifies a list with Custom Fields for the Work Item.
|
|
146
|
+
*
|
|
147
|
+
* @deprecated This property is deprecated and will be removed in a future release. Please use "additionalFieldsJson" argument instead.
|
|
113
148
|
*/
|
|
114
149
|
readonly customFields: pulumi.Output<{
|
|
115
150
|
[key: string]: string;
|
|
116
151
|
} | undefined>;
|
|
152
|
+
/**
|
|
153
|
+
* A description for the Work Item. **Note**: Due to current lifecycle behavior, omitting this field or setting it to an empty string will not clear the description in Azure DevOps; the provider will instead read the existing value. To avoid a breaking change, the ability to clear this field will be introduced in a future major release.
|
|
154
|
+
*/
|
|
155
|
+
readonly description: pulumi.Output<string>;
|
|
117
156
|
/**
|
|
118
157
|
* Specifies the iteration in which the Work Item is used.
|
|
119
158
|
*/
|
|
@@ -163,16 +202,26 @@ export declare class Workitem extends pulumi.CustomResource {
|
|
|
163
202
|
* Input properties used for looking up and filtering Workitem resources.
|
|
164
203
|
*/
|
|
165
204
|
export interface WorkitemState {
|
|
205
|
+
/**
|
|
206
|
+
* A JSON-formatted string of extra fields. **Note**: Removing this attribute from your configuration will not clear existing fields in the API. To remove all fields, set this value to an empty JSON string (`"{}"`).
|
|
207
|
+
*/
|
|
208
|
+
additionalFieldsJson?: pulumi.Input<string>;
|
|
166
209
|
/**
|
|
167
210
|
* Specifies the area where the Work Item is used.
|
|
168
211
|
*/
|
|
169
212
|
areaPath?: pulumi.Input<string>;
|
|
170
213
|
/**
|
|
171
214
|
* Specifies a list with Custom Fields for the Work Item.
|
|
215
|
+
*
|
|
216
|
+
* @deprecated This property is deprecated and will be removed in a future release. Please use "additionalFieldsJson" argument instead.
|
|
172
217
|
*/
|
|
173
218
|
customFields?: pulumi.Input<{
|
|
174
219
|
[key: string]: pulumi.Input<string>;
|
|
175
220
|
}>;
|
|
221
|
+
/**
|
|
222
|
+
* A description for the Work Item. **Note**: Due to current lifecycle behavior, omitting this field or setting it to an empty string will not clear the description in Azure DevOps; the provider will instead read the existing value. To avoid a breaking change, the ability to clear this field will be introduced in a future major release.
|
|
223
|
+
*/
|
|
224
|
+
description?: pulumi.Input<string>;
|
|
176
225
|
/**
|
|
177
226
|
* Specifies the iteration in which the Work Item is used.
|
|
178
227
|
*/
|
|
@@ -214,16 +263,26 @@ export interface WorkitemState {
|
|
|
214
263
|
* The set of arguments for constructing a Workitem resource.
|
|
215
264
|
*/
|
|
216
265
|
export interface WorkitemArgs {
|
|
266
|
+
/**
|
|
267
|
+
* A JSON-formatted string of extra fields. **Note**: Removing this attribute from your configuration will not clear existing fields in the API. To remove all fields, set this value to an empty JSON string (`"{}"`).
|
|
268
|
+
*/
|
|
269
|
+
additionalFieldsJson?: pulumi.Input<string>;
|
|
217
270
|
/**
|
|
218
271
|
* Specifies the area where the Work Item is used.
|
|
219
272
|
*/
|
|
220
273
|
areaPath?: pulumi.Input<string>;
|
|
221
274
|
/**
|
|
222
275
|
* Specifies a list with Custom Fields for the Work Item.
|
|
276
|
+
*
|
|
277
|
+
* @deprecated This property is deprecated and will be removed in a future release. Please use "additionalFieldsJson" argument instead.
|
|
223
278
|
*/
|
|
224
279
|
customFields?: pulumi.Input<{
|
|
225
280
|
[key: string]: pulumi.Input<string>;
|
|
226
281
|
}>;
|
|
282
|
+
/**
|
|
283
|
+
* A description for the Work Item. **Note**: Due to current lifecycle behavior, omitting this field or setting it to an empty string will not clear the description in Azure DevOps; the provider will instead read the existing value. To avoid a breaking change, the ability to clear this field will be introduced in a future major release.
|
|
284
|
+
*/
|
|
285
|
+
description?: pulumi.Input<string>;
|
|
227
286
|
/**
|
|
228
287
|
* Specifies the iteration in which the Work Item is used.
|
|
229
288
|
*/
|
package/workitem.js
CHANGED
|
@@ -26,6 +26,7 @@ const utilities = require("./utilities");
|
|
|
26
26
|
* const exampleWorkitem = new azuredevops.Workitem("example", {
|
|
27
27
|
* projectId: exampleAzuredevopsProject.id,
|
|
28
28
|
* title: "Example Work Item",
|
|
29
|
+
* description: "Managed by Pulumi",
|
|
29
30
|
* type: "Issue",
|
|
30
31
|
* state: "Active",
|
|
31
32
|
* tags: ["Tag"],
|
|
@@ -84,6 +85,34 @@ const utilities = require("./utilities");
|
|
|
84
85
|
* });
|
|
85
86
|
* ```
|
|
86
87
|
*
|
|
88
|
+
* ### With Additional Fields
|
|
89
|
+
*
|
|
90
|
+
* ```typescript
|
|
91
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
92
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
93
|
+
*
|
|
94
|
+
* const example = new azuredevops.Project("example", {
|
|
95
|
+
* name: "Example Project",
|
|
96
|
+
* workItemTemplate: "Agile",
|
|
97
|
+
* versionControl: "Git",
|
|
98
|
+
* visibility: "private",
|
|
99
|
+
* description: "Managed by Pulumi",
|
|
100
|
+
* });
|
|
101
|
+
* const exampleWorkitem = new azuredevops.Workitem("example", {
|
|
102
|
+
* projectId: exampleAzuredevopsProject.id,
|
|
103
|
+
* title: "Example Work Item",
|
|
104
|
+
* type: "User Story",
|
|
105
|
+
* state: "New",
|
|
106
|
+
* tags: ["Tag"],
|
|
107
|
+
* additionalFieldsJson: JSON.stringify({
|
|
108
|
+
* "Microsoft.VSTS.Scheduling.StoryPoints": 5,
|
|
109
|
+
* "Microsoft.VSTS.Common.AcceptanceCriteria": "This is our definition of done",
|
|
110
|
+
* "Microsoft.VSTS.Common.Priority": 2,
|
|
111
|
+
* "Microsoft.VSTS.Common.ValueArea": "Business",
|
|
112
|
+
* }),
|
|
113
|
+
* });
|
|
114
|
+
* ```
|
|
115
|
+
*
|
|
87
116
|
* ## Import
|
|
88
117
|
*
|
|
89
118
|
* Azure DevOps Work Item can be imported using the Project ID and Work Item ID, e.g.
|
|
@@ -120,8 +149,10 @@ class Workitem extends pulumi.CustomResource {
|
|
|
120
149
|
opts = opts || {};
|
|
121
150
|
if (opts.id) {
|
|
122
151
|
const state = argsOrState;
|
|
152
|
+
resourceInputs["additionalFieldsJson"] = state?.additionalFieldsJson;
|
|
123
153
|
resourceInputs["areaPath"] = state?.areaPath;
|
|
124
154
|
resourceInputs["customFields"] = state?.customFields;
|
|
155
|
+
resourceInputs["description"] = state?.description;
|
|
125
156
|
resourceInputs["iterationPath"] = state?.iterationPath;
|
|
126
157
|
resourceInputs["parentId"] = state?.parentId;
|
|
127
158
|
resourceInputs["projectId"] = state?.projectId;
|
|
@@ -143,8 +174,10 @@ class Workitem extends pulumi.CustomResource {
|
|
|
143
174
|
if (args?.type === undefined && !opts.urn) {
|
|
144
175
|
throw new Error("Missing required property 'type'");
|
|
145
176
|
}
|
|
177
|
+
resourceInputs["additionalFieldsJson"] = args?.additionalFieldsJson;
|
|
146
178
|
resourceInputs["areaPath"] = args?.areaPath;
|
|
147
179
|
resourceInputs["customFields"] = args?.customFields;
|
|
180
|
+
resourceInputs["description"] = args?.description;
|
|
148
181
|
resourceInputs["iterationPath"] = args?.iterationPath;
|
|
149
182
|
resourceInputs["parentId"] = args?.parentId;
|
|
150
183
|
resourceInputs["projectId"] = args?.projectId;
|
package/workitem.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workitem.js","sourceRoot":"","sources":["../workitem.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"workitem.js","sourceRoot":"","sources":["../workitem.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmHG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ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