@pulumi/azuredevops 2.15.0-alpha.1704214980 → 2.15.0
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/agent/queue.d.ts +40 -4
- package/agent/queue.js +14 -3
- package/agent/queue.js.map +1 -1
- package/build/buildDefinition.d.ts +12 -0
- package/build/buildDefinition.js +2 -0
- package/build/buildDefinition.js.map +1 -1
- package/buildDefinition.d.ts +12 -0
- package/buildDefinition.js +2 -0
- package/buildDefinition.js.map +1 -1
- package/getBuildDefinition.d.ts +4 -0
- package/getBuildDefinition.js.map +1 -1
- package/getEnvironment.d.ts +15 -3
- package/getEnvironment.js +1 -0
- package/getEnvironment.js.map +1 -1
- package/getUsers.d.ts +30 -12
- package/getUsers.js +11 -2
- package/getUsers.js.map +1 -1
- package/identities/getUsers.d.ts +30 -12
- package/identities/getUsers.js +11 -2
- package/identities/getUsers.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +6 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/queue.d.ts +40 -4
- package/queue.js +14 -3
- package/queue.js.map +1 -1
- package/serviceEndpointAzureRM.d.ts +12 -0
- package/serviceEndpointAzureRM.js +2 -0
- package/serviceEndpointAzureRM.js.map +1 -1
- package/serviceendpoint/azureRM.d.ts +12 -0
- package/serviceendpoint/azureRM.js +2 -0
- package/serviceendpoint/azureRM.js.map +1 -1
- package/servicehookStorageQueuePipelines.d.ts +203 -0
- package/servicehookStorageQueuePipelines.js +140 -0
- package/servicehookStorageQueuePipelines.js.map +1 -0
- package/types/input.d.ts +78 -2
- package/types/output.d.ts +62 -30
package/agent/queue.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* the `azuredevops.ResourceAuthorization` resource can be used to grant authorization.
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
|
+
* ### Creating a Queue from an organization-level pool
|
|
10
11
|
*
|
|
11
12
|
* ```typescript
|
|
12
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -28,6 +29,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
29
|
* authorized: true,
|
|
29
30
|
* });
|
|
30
31
|
* ```
|
|
32
|
+
* ### Creating a Queue at the project level (Organization-level permissions not required)
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
37
|
+
*
|
|
38
|
+
* const exampleProject = azuredevops.getProject({
|
|
39
|
+
* name: "Example Project",
|
|
40
|
+
* });
|
|
41
|
+
* const exampleQueue = new azuredevops.Queue("exampleQueue", {projectId: exampleProject.then(exampleProject => exampleProject.id)});
|
|
42
|
+
* ```
|
|
31
43
|
* ## Relevant Links
|
|
32
44
|
*
|
|
33
45
|
* - [Azure DevOps Service REST API 7.0 - Agent Queues](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/queues?view=azure-devops-rest-7.0)
|
|
@@ -59,9 +71,17 @@ export declare class Queue extends pulumi.CustomResource {
|
|
|
59
71
|
*/
|
|
60
72
|
static isInstance(obj: any): obj is Queue;
|
|
61
73
|
/**
|
|
62
|
-
* The ID of the organization agent pool.
|
|
74
|
+
* The ID of the organization agent pool. Conflicts with `name`.
|
|
75
|
+
*
|
|
76
|
+
* > **NOTE:**
|
|
77
|
+
* One of `name` or `agentPoolId` must be specified, but not both.
|
|
78
|
+
* When `agentPoolId` is specified, the agent queue name will be derived from the agent pool name.
|
|
63
79
|
*/
|
|
64
80
|
readonly agentPoolId: pulumi.Output<number>;
|
|
81
|
+
/**
|
|
82
|
+
* The name of the agent queue. Defaults to the ID of the agent pool. Conflicts with `agentPoolId`.
|
|
83
|
+
*/
|
|
84
|
+
readonly name: pulumi.Output<string>;
|
|
65
85
|
/**
|
|
66
86
|
* The ID of the project in which to create the resource.
|
|
67
87
|
*/
|
|
@@ -81,9 +101,17 @@ export declare class Queue extends pulumi.CustomResource {
|
|
|
81
101
|
*/
|
|
82
102
|
export interface QueueState {
|
|
83
103
|
/**
|
|
84
|
-
* The ID of the organization agent pool.
|
|
104
|
+
* The ID of the organization agent pool. Conflicts with `name`.
|
|
105
|
+
*
|
|
106
|
+
* > **NOTE:**
|
|
107
|
+
* One of `name` or `agentPoolId` must be specified, but not both.
|
|
108
|
+
* When `agentPoolId` is specified, the agent queue name will be derived from the agent pool name.
|
|
85
109
|
*/
|
|
86
110
|
agentPoolId?: pulumi.Input<number>;
|
|
111
|
+
/**
|
|
112
|
+
* The name of the agent queue. Defaults to the ID of the agent pool. Conflicts with `agentPoolId`.
|
|
113
|
+
*/
|
|
114
|
+
name?: pulumi.Input<string>;
|
|
87
115
|
/**
|
|
88
116
|
* The ID of the project in which to create the resource.
|
|
89
117
|
*/
|
|
@@ -94,9 +122,17 @@ export interface QueueState {
|
|
|
94
122
|
*/
|
|
95
123
|
export interface QueueArgs {
|
|
96
124
|
/**
|
|
97
|
-
* The ID of the organization agent pool.
|
|
125
|
+
* The ID of the organization agent pool. Conflicts with `name`.
|
|
126
|
+
*
|
|
127
|
+
* > **NOTE:**
|
|
128
|
+
* One of `name` or `agentPoolId` must be specified, but not both.
|
|
129
|
+
* When `agentPoolId` is specified, the agent queue name will be derived from the agent pool name.
|
|
130
|
+
*/
|
|
131
|
+
agentPoolId?: pulumi.Input<number>;
|
|
132
|
+
/**
|
|
133
|
+
* The name of the agent queue. Defaults to the ID of the agent pool. Conflicts with `agentPoolId`.
|
|
98
134
|
*/
|
|
99
|
-
|
|
135
|
+
name?: pulumi.Input<string>;
|
|
100
136
|
/**
|
|
101
137
|
* The ID of the project in which to create the resource.
|
|
102
138
|
*/
|
package/agent/queue.js
CHANGED
|
@@ -13,6 +13,7 @@ const utilities = require("../utilities");
|
|
|
13
13
|
* the `azuredevops.ResourceAuthorization` resource can be used to grant authorization.
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
|
+
* ### Creating a Queue from an organization-level pool
|
|
16
17
|
*
|
|
17
18
|
* ```typescript
|
|
18
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -34,6 +35,17 @@ const utilities = require("../utilities");
|
|
|
34
35
|
* authorized: true,
|
|
35
36
|
* });
|
|
36
37
|
* ```
|
|
38
|
+
* ### Creating a Queue at the project level (Organization-level permissions not required)
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
43
|
+
*
|
|
44
|
+
* const exampleProject = azuredevops.getProject({
|
|
45
|
+
* name: "Example Project",
|
|
46
|
+
* });
|
|
47
|
+
* const exampleQueue = new azuredevops.Queue("exampleQueue", {projectId: exampleProject.then(exampleProject => exampleProject.id)});
|
|
48
|
+
* ```
|
|
37
49
|
* ## Relevant Links
|
|
38
50
|
*
|
|
39
51
|
* - [Azure DevOps Service REST API 7.0 - Agent Queues](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/queues?view=azure-devops-rest-7.0)
|
|
@@ -80,17 +92,16 @@ class Queue extends pulumi.CustomResource {
|
|
|
80
92
|
if (opts.id) {
|
|
81
93
|
const state = argsOrState;
|
|
82
94
|
resourceInputs["agentPoolId"] = state ? state.agentPoolId : undefined;
|
|
95
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
83
96
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
84
97
|
}
|
|
85
98
|
else {
|
|
86
99
|
const args = argsOrState;
|
|
87
|
-
if ((!args || args.agentPoolId === undefined) && !opts.urn) {
|
|
88
|
-
throw new Error("Missing required property 'agentPoolId'");
|
|
89
|
-
}
|
|
90
100
|
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
91
101
|
throw new Error("Missing required property 'projectId'");
|
|
92
102
|
}
|
|
93
103
|
resourceInputs["agentPoolId"] = args ? args.agentPoolId : undefined;
|
|
104
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
94
105
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
95
106
|
}
|
|
96
107
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/agent/queue.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../agent/queue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../agent/queue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,gGAAgG,CAAC,CAAA;QACjH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IA4BD,4FAA4F;IAC5F,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,gGAAgG,CAAC,CAAA;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,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
@@ -200,6 +200,10 @@ export declare class BuildDefinition extends pulumi.CustomResource {
|
|
|
200
200
|
* Pull Request Integration trigger.
|
|
201
201
|
*/
|
|
202
202
|
readonly pullRequestTrigger: pulumi.Output<outputs.Build.BuildDefinitionPullRequestTrigger | undefined>;
|
|
203
|
+
/**
|
|
204
|
+
* The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
|
|
205
|
+
*/
|
|
206
|
+
readonly queueStatus: pulumi.Output<string | undefined>;
|
|
203
207
|
/**
|
|
204
208
|
* A `repository` block as documented below.
|
|
205
209
|
*/
|
|
@@ -259,6 +263,10 @@ export interface BuildDefinitionState {
|
|
|
259
263
|
* Pull Request Integration trigger.
|
|
260
264
|
*/
|
|
261
265
|
pullRequestTrigger?: pulumi.Input<inputs.Build.BuildDefinitionPullRequestTrigger>;
|
|
266
|
+
/**
|
|
267
|
+
* The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
|
|
268
|
+
*/
|
|
269
|
+
queueStatus?: pulumi.Input<string>;
|
|
262
270
|
/**
|
|
263
271
|
* A `repository` block as documented below.
|
|
264
272
|
*/
|
|
@@ -309,6 +317,10 @@ export interface BuildDefinitionArgs {
|
|
|
309
317
|
* Pull Request Integration trigger.
|
|
310
318
|
*/
|
|
311
319
|
pullRequestTrigger?: pulumi.Input<inputs.Build.BuildDefinitionPullRequestTrigger>;
|
|
320
|
+
/**
|
|
321
|
+
* The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
|
|
322
|
+
*/
|
|
323
|
+
queueStatus?: pulumi.Input<string>;
|
|
312
324
|
/**
|
|
313
325
|
* A `repository` block as documented below.
|
|
314
326
|
*/
|
package/build/buildDefinition.js
CHANGED
|
@@ -198,6 +198,7 @@ class BuildDefinition extends pulumi.CustomResource {
|
|
|
198
198
|
resourceInputs["path"] = state ? state.path : undefined;
|
|
199
199
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
200
200
|
resourceInputs["pullRequestTrigger"] = state ? state.pullRequestTrigger : undefined;
|
|
201
|
+
resourceInputs["queueStatus"] = state ? state.queueStatus : undefined;
|
|
201
202
|
resourceInputs["repository"] = state ? state.repository : undefined;
|
|
202
203
|
resourceInputs["revision"] = state ? state.revision : undefined;
|
|
203
204
|
resourceInputs["schedules"] = state ? state.schedules : undefined;
|
|
@@ -219,6 +220,7 @@ class BuildDefinition extends pulumi.CustomResource {
|
|
|
219
220
|
resourceInputs["path"] = args ? args.path : undefined;
|
|
220
221
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
221
222
|
resourceInputs["pullRequestTrigger"] = args ? args.pullRequestTrigger : undefined;
|
|
223
|
+
resourceInputs["queueStatus"] = args ? args.queueStatus : undefined;
|
|
222
224
|
resourceInputs["repository"] = args ? args.repository : undefined;
|
|
223
225
|
resourceInputs["schedules"] = args ? args.schedules : undefined;
|
|
224
226
|
resourceInputs["variableGroups"] = args ? args.variableGroups : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildDefinition.js","sourceRoot":"","sources":["../../build/buildDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0JG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,8HAA8H,CAAC,CAAA;QAC/I,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCA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i.CustomResource {
|
|
|
198
198
|
* Pull Request Integration trigger.
|
|
199
199
|
*/
|
|
200
200
|
readonly pullRequestTrigger: pulumi.Output<outputs.BuildDefinitionPullRequestTrigger | undefined>;
|
|
201
|
+
/**
|
|
202
|
+
* The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
|
|
203
|
+
*/
|
|
204
|
+
readonly queueStatus: pulumi.Output<string | undefined>;
|
|
201
205
|
/**
|
|
202
206
|
* A `repository` block as documented below.
|
|
203
207
|
*/
|
|
@@ -256,6 +260,10 @@ export interface BuildDefinitionState {
|
|
|
256
260
|
* Pull Request Integration trigger.
|
|
257
261
|
*/
|
|
258
262
|
pullRequestTrigger?: pulumi.Input<inputs.BuildDefinitionPullRequestTrigger>;
|
|
263
|
+
/**
|
|
264
|
+
* The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
|
|
265
|
+
*/
|
|
266
|
+
queueStatus?: pulumi.Input<string>;
|
|
259
267
|
/**
|
|
260
268
|
* A `repository` block as documented below.
|
|
261
269
|
*/
|
|
@@ -306,6 +314,10 @@ export interface BuildDefinitionArgs {
|
|
|
306
314
|
* Pull Request Integration trigger.
|
|
307
315
|
*/
|
|
308
316
|
pullRequestTrigger?: pulumi.Input<inputs.BuildDefinitionPullRequestTrigger>;
|
|
317
|
+
/**
|
|
318
|
+
* The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
|
|
319
|
+
*/
|
|
320
|
+
queueStatus?: pulumi.Input<string>;
|
|
309
321
|
/**
|
|
310
322
|
* A `repository` block as documented below.
|
|
311
323
|
*/
|
package/buildDefinition.js
CHANGED
|
@@ -193,6 +193,7 @@ class BuildDefinition extends pulumi.CustomResource {
|
|
|
193
193
|
resourceInputs["path"] = state ? state.path : undefined;
|
|
194
194
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
195
195
|
resourceInputs["pullRequestTrigger"] = state ? state.pullRequestTrigger : undefined;
|
|
196
|
+
resourceInputs["queueStatus"] = state ? state.queueStatus : undefined;
|
|
196
197
|
resourceInputs["repository"] = state ? state.repository : undefined;
|
|
197
198
|
resourceInputs["revision"] = state ? state.revision : undefined;
|
|
198
199
|
resourceInputs["schedules"] = state ? state.schedules : undefined;
|
|
@@ -214,6 +215,7 @@ class BuildDefinition extends pulumi.CustomResource {
|
|
|
214
215
|
resourceInputs["path"] = args ? args.path : undefined;
|
|
215
216
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
216
217
|
resourceInputs["pullRequestTrigger"] = args ? args.pullRequestTrigger : undefined;
|
|
218
|
+
resourceInputs["queueStatus"] = args ? args.queueStatus : undefined;
|
|
217
219
|
resourceInputs["repository"] = args ? args.repository : undefined;
|
|
218
220
|
resourceInputs["schedules"] = args ? args.schedules : undefined;
|
|
219
221
|
resourceInputs["variableGroups"] = args ? args.variableGroups : undefined;
|
package/buildDefinition.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildDefinition.js","sourceRoot":"","sources":["../buildDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwJG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC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ullRequestTriggers: outputs.GetBuildDefinitionPullRequestTrigger[];
|
|
66
|
+
/**
|
|
67
|
+
* The queue status of the build definition.
|
|
68
|
+
*/
|
|
69
|
+
readonly queueStatus: string;
|
|
66
70
|
/**
|
|
67
71
|
* A `repository` block as defined below.
|
|
68
72
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBuildDefinition.js","sourceRoot":"","sources":["../getBuildDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE;QACpF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC;
|
|
1
|
+
{"version":3,"file":"getBuildDefinition.js","sourceRoot":"","sources":["../getBuildDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE;QACpF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC;AAuED;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|
package/getEnvironment.d.ts
CHANGED
|
@@ -14,7 +14,13 @@ export interface GetEnvironmentArgs {
|
|
|
14
14
|
/**
|
|
15
15
|
* The ID of the Environment.
|
|
16
16
|
*/
|
|
17
|
-
environmentId
|
|
17
|
+
environmentId?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Name of the Environment.
|
|
20
|
+
*
|
|
21
|
+
* > **NOTE:** One of either `environmentId` or `name` must be specified.
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
18
24
|
/**
|
|
19
25
|
* The ID of the project.
|
|
20
26
|
*/
|
|
@@ -28,7 +34,7 @@ export interface GetEnvironmentResult {
|
|
|
28
34
|
* A description for the Environment.
|
|
29
35
|
*/
|
|
30
36
|
readonly description: string;
|
|
31
|
-
readonly environmentId
|
|
37
|
+
readonly environmentId?: number;
|
|
32
38
|
/**
|
|
33
39
|
* The provider-assigned unique ID for this managed resource.
|
|
34
40
|
*/
|
|
@@ -54,7 +60,13 @@ export interface GetEnvironmentOutputArgs {
|
|
|
54
60
|
/**
|
|
55
61
|
* The ID of the Environment.
|
|
56
62
|
*/
|
|
57
|
-
environmentId
|
|
63
|
+
environmentId?: pulumi.Input<number>;
|
|
64
|
+
/**
|
|
65
|
+
* Name of the Environment.
|
|
66
|
+
*
|
|
67
|
+
* > **NOTE:** One of either `environmentId` or `name` must be specified.
|
|
68
|
+
*/
|
|
69
|
+
name?: pulumi.Input<string>;
|
|
58
70
|
/**
|
|
59
71
|
* The ID of the project.
|
|
60
72
|
*/
|
package/getEnvironment.js
CHANGED
|
@@ -16,6 +16,7 @@ function getEnvironment(args, opts) {
|
|
|
16
16
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
17
17
|
return pulumi.runtime.invoke("azuredevops:index/getEnvironment:getEnvironment", {
|
|
18
18
|
"environmentId": args.environmentId,
|
|
19
|
+
"name": args.name,
|
|
19
20
|
"projectId": args.projectId,
|
|
20
21
|
}, opts);
|
|
21
22
|
}
|
package/getEnvironment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEnvironment.js","sourceRoot":"","sources":["../getEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;
|
|
1
|
+
{"version":3,"file":"getEnvironment.js","sourceRoot":"","sources":["../getEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC;AAyCD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
package/getUsers.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
2
3
|
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* Use this data source to access information about an existing users within Azure DevOps.
|
|
@@ -12,7 +13,11 @@ import * as outputs from "./types/output";
|
|
|
12
13
|
* const example = azuredevops.getUsers({
|
|
13
14
|
* principalName: "contoso-user@contoso.onmicrosoft.com",
|
|
14
15
|
* });
|
|
15
|
-
* const example-all-users = azuredevops.getUsers({
|
|
16
|
+
* const example-all-users = azuredevops.getUsers({
|
|
17
|
+
* features: {
|
|
18
|
+
* concurrentWorkers: 10,
|
|
19
|
+
* },
|
|
20
|
+
* });
|
|
16
21
|
* const example-all-from-origin = azuredevops.getUsers({
|
|
17
22
|
* origin: "aad",
|
|
18
23
|
* });
|
|
@@ -37,11 +42,7 @@ export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOption
|
|
|
37
42
|
*/
|
|
38
43
|
export interface GetUsersArgs {
|
|
39
44
|
/**
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
origin?: string;
|
|
43
|
-
/**
|
|
44
|
-
* The unique identifier from the system of origin.
|
|
45
|
+
* A `features` block as defined below.
|
|
45
46
|
*
|
|
46
47
|
* DataSource without specifying any arguments will return all users inside an organization.
|
|
47
48
|
*
|
|
@@ -57,6 +58,14 @@ export interface GetUsersArgs {
|
|
|
57
58
|
* import * as pulumi from "@pulumi/pulumi";
|
|
58
59
|
* ```
|
|
59
60
|
*/
|
|
61
|
+
features?: inputs.GetUsersFeatures;
|
|
62
|
+
/**
|
|
63
|
+
* The type of source provider for the `originId` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
|
|
64
|
+
*/
|
|
65
|
+
origin?: string;
|
|
66
|
+
/**
|
|
67
|
+
* The unique identifier from the system of origin.
|
|
68
|
+
*/
|
|
60
69
|
originId?: string;
|
|
61
70
|
/**
|
|
62
71
|
* The PrincipalName of this graph member from the source provider.
|
|
@@ -71,6 +80,7 @@ export interface GetUsersArgs {
|
|
|
71
80
|
* A collection of values returned by getUsers.
|
|
72
81
|
*/
|
|
73
82
|
export interface GetUsersResult {
|
|
83
|
+
readonly features?: outputs.GetUsersFeatures;
|
|
74
84
|
/**
|
|
75
85
|
* The provider-assigned unique ID for this managed resource.
|
|
76
86
|
*/
|
|
@@ -105,7 +115,11 @@ export interface GetUsersResult {
|
|
|
105
115
|
* const example = azuredevops.getUsers({
|
|
106
116
|
* principalName: "contoso-user@contoso.onmicrosoft.com",
|
|
107
117
|
* });
|
|
108
|
-
* const example-all-users = azuredevops.getUsers({
|
|
118
|
+
* const example-all-users = azuredevops.getUsers({
|
|
119
|
+
* features: {
|
|
120
|
+
* concurrentWorkers: 10,
|
|
121
|
+
* },
|
|
122
|
+
* });
|
|
109
123
|
* const example-all-from-origin = azuredevops.getUsers({
|
|
110
124
|
* origin: "aad",
|
|
111
125
|
* });
|
|
@@ -130,11 +144,7 @@ export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.
|
|
|
130
144
|
*/
|
|
131
145
|
export interface GetUsersOutputArgs {
|
|
132
146
|
/**
|
|
133
|
-
*
|
|
134
|
-
*/
|
|
135
|
-
origin?: pulumi.Input<string>;
|
|
136
|
-
/**
|
|
137
|
-
* The unique identifier from the system of origin.
|
|
147
|
+
* A `features` block as defined below.
|
|
138
148
|
*
|
|
139
149
|
* DataSource without specifying any arguments will return all users inside an organization.
|
|
140
150
|
*
|
|
@@ -150,6 +160,14 @@ export interface GetUsersOutputArgs {
|
|
|
150
160
|
* import * as pulumi from "@pulumi/pulumi";
|
|
151
161
|
* ```
|
|
152
162
|
*/
|
|
163
|
+
features?: pulumi.Input<inputs.GetUsersFeaturesArgs>;
|
|
164
|
+
/**
|
|
165
|
+
* The type of source provider for the `originId` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
|
|
166
|
+
*/
|
|
167
|
+
origin?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* The unique identifier from the system of origin.
|
|
170
|
+
*/
|
|
153
171
|
originId?: pulumi.Input<string>;
|
|
154
172
|
/**
|
|
155
173
|
* The PrincipalName of this graph member from the source provider.
|
package/getUsers.js
CHANGED
|
@@ -17,7 +17,11 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* const example = azuredevops.getUsers({
|
|
18
18
|
* principalName: "contoso-user@contoso.onmicrosoft.com",
|
|
19
19
|
* });
|
|
20
|
-
* const example-all-users = azuredevops.getUsers({
|
|
20
|
+
* const example-all-users = azuredevops.getUsers({
|
|
21
|
+
* features: {
|
|
22
|
+
* concurrentWorkers: 10,
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
21
25
|
* const example-all-from-origin = azuredevops.getUsers({
|
|
22
26
|
* origin: "aad",
|
|
23
27
|
* });
|
|
@@ -40,6 +44,7 @@ function getUsers(args, opts) {
|
|
|
40
44
|
args = args || {};
|
|
41
45
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
42
46
|
return pulumi.runtime.invoke("azuredevops:index/getUsers:getUsers", {
|
|
47
|
+
"features": args.features,
|
|
43
48
|
"origin": args.origin,
|
|
44
49
|
"originId": args.originId,
|
|
45
50
|
"principalName": args.principalName,
|
|
@@ -59,7 +64,11 @@ exports.getUsers = getUsers;
|
|
|
59
64
|
* const example = azuredevops.getUsers({
|
|
60
65
|
* principalName: "contoso-user@contoso.onmicrosoft.com",
|
|
61
66
|
* });
|
|
62
|
-
* const example-all-users = azuredevops.getUsers({
|
|
67
|
+
* const example-all-users = azuredevops.getUsers({
|
|
68
|
+
* features: {
|
|
69
|
+
* concurrentWorkers: 10,
|
|
70
|
+
* },
|
|
71
|
+
* });
|
|
63
72
|
* const example-all-from-origin = azuredevops.getUsers({
|
|
64
73
|
* origin: "aad",
|
|
65
74
|
* });
|
package/getUsers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4BAWC;AAqED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/identities/getUsers.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
2
3
|
import * as outputs from "../types/output";
|
|
3
4
|
/**
|
|
4
5
|
* Use this data source to access information about an existing users within Azure DevOps.
|
|
@@ -12,7 +13,11 @@ import * as outputs from "../types/output";
|
|
|
12
13
|
* const example = azuredevops.getUsers({
|
|
13
14
|
* principalName: "contoso-user@contoso.onmicrosoft.com",
|
|
14
15
|
* });
|
|
15
|
-
* const example-all-users = azuredevops.getUsers({
|
|
16
|
+
* const example-all-users = azuredevops.getUsers({
|
|
17
|
+
* features: {
|
|
18
|
+
* concurrentWorkers: 10,
|
|
19
|
+
* },
|
|
20
|
+
* });
|
|
16
21
|
* const example-all-from-origin = azuredevops.getUsers({
|
|
17
22
|
* origin: "aad",
|
|
18
23
|
* });
|
|
@@ -38,11 +43,7 @@ export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOption
|
|
|
38
43
|
*/
|
|
39
44
|
export interface GetUsersArgs {
|
|
40
45
|
/**
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
origin?: string;
|
|
44
|
-
/**
|
|
45
|
-
* The unique identifier from the system of origin.
|
|
46
|
+
* A `features` block as defined below.
|
|
46
47
|
*
|
|
47
48
|
* DataSource without specifying any arguments will return all users inside an organization.
|
|
48
49
|
*
|
|
@@ -58,6 +59,14 @@ export interface GetUsersArgs {
|
|
|
58
59
|
* import * as pulumi from "@pulumi/pulumi";
|
|
59
60
|
* ```
|
|
60
61
|
*/
|
|
62
|
+
features?: inputs.Identities.GetUsersFeatures;
|
|
63
|
+
/**
|
|
64
|
+
* The type of source provider for the `originId` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
|
|
65
|
+
*/
|
|
66
|
+
origin?: string;
|
|
67
|
+
/**
|
|
68
|
+
* The unique identifier from the system of origin.
|
|
69
|
+
*/
|
|
61
70
|
originId?: string;
|
|
62
71
|
/**
|
|
63
72
|
* The PrincipalName of this graph member from the source provider.
|
|
@@ -72,6 +81,7 @@ export interface GetUsersArgs {
|
|
|
72
81
|
* A collection of values returned by getUsers.
|
|
73
82
|
*/
|
|
74
83
|
export interface GetUsersResult {
|
|
84
|
+
readonly features?: outputs.Identities.GetUsersFeatures;
|
|
75
85
|
/**
|
|
76
86
|
* The provider-assigned unique ID for this managed resource.
|
|
77
87
|
*/
|
|
@@ -106,7 +116,11 @@ export interface GetUsersResult {
|
|
|
106
116
|
* const example = azuredevops.getUsers({
|
|
107
117
|
* principalName: "contoso-user@contoso.onmicrosoft.com",
|
|
108
118
|
* });
|
|
109
|
-
* const example-all-users = azuredevops.getUsers({
|
|
119
|
+
* const example-all-users = azuredevops.getUsers({
|
|
120
|
+
* features: {
|
|
121
|
+
* concurrentWorkers: 10,
|
|
122
|
+
* },
|
|
123
|
+
* });
|
|
110
124
|
* const example-all-from-origin = azuredevops.getUsers({
|
|
111
125
|
* origin: "aad",
|
|
112
126
|
* });
|
|
@@ -132,11 +146,7 @@ export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.
|
|
|
132
146
|
*/
|
|
133
147
|
export interface GetUsersOutputArgs {
|
|
134
148
|
/**
|
|
135
|
-
*
|
|
136
|
-
*/
|
|
137
|
-
origin?: pulumi.Input<string>;
|
|
138
|
-
/**
|
|
139
|
-
* The unique identifier from the system of origin.
|
|
149
|
+
* A `features` block as defined below.
|
|
140
150
|
*
|
|
141
151
|
* DataSource without specifying any arguments will return all users inside an organization.
|
|
142
152
|
*
|
|
@@ -152,6 +162,14 @@ export interface GetUsersOutputArgs {
|
|
|
152
162
|
* import * as pulumi from "@pulumi/pulumi";
|
|
153
163
|
* ```
|
|
154
164
|
*/
|
|
165
|
+
features?: pulumi.Input<inputs.Identities.GetUsersFeaturesArgs>;
|
|
166
|
+
/**
|
|
167
|
+
* The type of source provider for the `originId` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
|
|
168
|
+
*/
|
|
169
|
+
origin?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* The unique identifier from the system of origin.
|
|
172
|
+
*/
|
|
155
173
|
originId?: pulumi.Input<string>;
|
|
156
174
|
/**
|
|
157
175
|
* The PrincipalName of this graph member from the source provider.
|
package/identities/getUsers.js
CHANGED
|
@@ -17,7 +17,11 @@ const utilities = require("../utilities");
|
|
|
17
17
|
* const example = azuredevops.getUsers({
|
|
18
18
|
* principalName: "contoso-user@contoso.onmicrosoft.com",
|
|
19
19
|
* });
|
|
20
|
-
* const example-all-users = azuredevops.getUsers({
|
|
20
|
+
* const example-all-users = azuredevops.getUsers({
|
|
21
|
+
* features: {
|
|
22
|
+
* concurrentWorkers: 10,
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
21
25
|
* const example-all-from-origin = azuredevops.getUsers({
|
|
22
26
|
* origin: "aad",
|
|
23
27
|
* });
|
|
@@ -42,6 +46,7 @@ function getUsers(args, opts) {
|
|
|
42
46
|
args = args || {};
|
|
43
47
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
48
|
return pulumi.runtime.invoke("azuredevops:Identities/getUsers:getUsers", {
|
|
49
|
+
"features": args.features,
|
|
45
50
|
"origin": args.origin,
|
|
46
51
|
"originId": args.originId,
|
|
47
52
|
"principalName": args.principalName,
|
|
@@ -61,7 +66,11 @@ exports.getUsers = getUsers;
|
|
|
61
66
|
* const example = azuredevops.getUsers({
|
|
62
67
|
* principalName: "contoso-user@contoso.onmicrosoft.com",
|
|
63
68
|
* });
|
|
64
|
-
* const example-all-users = azuredevops.getUsers({
|
|
69
|
+
* const example-all-users = azuredevops.getUsers({
|
|
70
|
+
* features: {
|
|
71
|
+
* concurrentWorkers: 10,
|
|
72
|
+
* },
|
|
73
|
+
* });
|
|
65
74
|
* const example-all-from-origin = azuredevops.getUsers({
|
|
66
75
|
* origin: "aad",
|
|
67
76
|
* });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../../identities/getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../../identities/getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,uGAAuG;AACvG,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,8GAA8G,CAAC,CAAA;IAC/H,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4BAYC;AAqED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,uGAAuG;AACvG,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/index.d.ts
CHANGED
|
@@ -295,6 +295,9 @@ export declare const ServiceendpointPermissions: typeof import("./serviceendpoin
|
|
|
295
295
|
export { ServicehookPermissionsArgs, ServicehookPermissionsState } from "./servicehookPermissions";
|
|
296
296
|
export type ServicehookPermissions = import("./servicehookPermissions").ServicehookPermissions;
|
|
297
297
|
export declare const ServicehookPermissions: typeof import("./servicehookPermissions").ServicehookPermissions;
|
|
298
|
+
export { ServicehookStorageQueuePipelinesArgs, ServicehookStorageQueuePipelinesState } from "./servicehookStorageQueuePipelines";
|
|
299
|
+
export type ServicehookStorageQueuePipelines = import("./servicehookStorageQueuePipelines").ServicehookStorageQueuePipelines;
|
|
300
|
+
export declare const ServicehookStorageQueuePipelines: typeof import("./servicehookStorageQueuePipelines").ServicehookStorageQueuePipelines;
|
|
298
301
|
export { TaggingPermissionsArgs, TaggingPermissionsState } from "./taggingPermissions";
|
|
299
302
|
export type TaggingPermissions = import("./taggingPermissions").TaggingPermissions;
|
|
300
303
|
export declare const TaggingPermissions: typeof import("./taggingPermissions").TaggingPermissions;
|