@pulumi/azuredevops 2.16.0-alpha.1710156155 → 3.0.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/README.md +2 -2
- package/branchPolicyMinReviewers.js +0 -2
- package/branchPolicyMinReviewers.js.map +1 -1
- package/buildDefinition.js +0 -2
- package/buildDefinition.js.map +1 -1
- package/checkApproval.d.ts +8 -0
- package/checkApproval.js +2 -0
- package/checkApproval.js.map +1 -1
- package/checkBranchControl.d.ts +8 -0
- package/checkBranchControl.js +2 -0
- package/checkBranchControl.js.map +1 -1
- package/checkBusinessHours.d.ts +8 -0
- package/checkBusinessHours.js +2 -0
- package/checkBusinessHours.js.map +1 -1
- package/checkExclusiveLock.d.ts +8 -0
- package/checkExclusiveLock.js +2 -0
- package/checkExclusiveLock.js.map +1 -1
- package/checkRequiredTemplate.d.ts +8 -0
- package/checkRequiredTemplate.js +2 -0
- package/checkRequiredTemplate.js.map +1 -1
- package/config/vars.d.ts +63 -0
- package/config/vars.js +114 -0
- package/config/vars.js.map +1 -1
- package/elasticPool.d.ts +12 -0
- package/elasticPool.js +2 -0
- package/elasticPool.js.map +1 -1
- package/environmentResourceKubernetes.d.ts +57 -0
- package/environmentResourceKubernetes.js +73 -0
- package/environmentResourceKubernetes.js.map +1 -0
- package/getGroup.d.ts +10 -0
- package/getGroup.js +10 -0
- package/getGroup.js.map +1 -1
- package/git.js +0 -2
- package/git.js.map +1 -1
- package/group.js +0 -2
- package/group.js.map +1 -1
- package/groupMembership.js +0 -2
- package/groupMembership.js.map +1 -1
- package/index.d.ts +10 -11
- package/index.js +18 -23
- package/index.js.map +1 -1
- package/libraryPermissions.d.ts +172 -0
- package/libraryPermissions.js +119 -0
- package/libraryPermissions.js.map +1 -0
- package/package.json +1 -1
- package/pipelineAuthorization.d.ts +15 -0
- package/pipelineAuthorization.js.map +1 -1
- package/pool.js +0 -2
- package/pool.js.map +1 -1
- package/project.js +0 -2
- package/project.js.map +1 -1
- package/projectFeatures.js +0 -2
- package/projectFeatures.js.map +1 -1
- package/provider.d.ts +148 -0
- package/provider.js +20 -1
- package/provider.js.map +1 -1
- package/queue.js +0 -2
- package/queue.js.map +1 -1
- package/serviceEndpointAzureRM.js +0 -2
- package/serviceEndpointAzureRM.js.map +1 -1
- package/serviceEndpointBitBucket.js +0 -2
- package/serviceEndpointBitBucket.js.map +1 -1
- package/serviceEndpointDockerRegistry.js +0 -2
- package/serviceEndpointDockerRegistry.js.map +1 -1
- package/serviceEndpointGitHub.js +0 -2
- package/serviceEndpointGitHub.js.map +1 -1
- package/serviceEndpointKubernetes.js +0 -2
- package/serviceEndpointKubernetes.js.map +1 -1
- package/types/input.d.ts +1 -620
- package/types/output.d.ts +5 -719
- package/user.js +0 -2
- package/user.js.map +1 -1
- package/variableGroup.js +0 -2
- package/variableGroup.js.map +1 -1
- package/variableGroupPermissions.d.ts +193 -0
- package/variableGroupPermissions.js +133 -0
- package/variableGroupPermissions.js.map +1 -0
- package/agent/getPool.d.ts +0 -84
- package/agent/getPool.js +0 -70
- package/agent/getPool.js.map +0 -1
- package/agent/getPools.d.ts +0 -63
- package/agent/getPools.js +0 -64
- package/agent/getPools.js.map +0 -1
- package/agent/index.d.ts +0 -12
- package/agent/index.js +0 -33
- package/agent/index.js.map +0 -1
- package/agent/pool.d.ts +0 -116
- package/agent/pool.js +0 -89
- package/agent/pool.js.map +0 -1
- package/agent/queue.d.ts +0 -147
- package/agent/queue.js +0 -121
- package/agent/queue.js.map +0 -1
- package/build/buildDefinition.d.ts +0 -344
- package/build/buildDefinition.js +0 -244
- package/build/buildDefinition.js.map +0 -1
- package/build/index.d.ts +0 -3
- package/build/index.js +0 -22
- package/build/index.js.map +0 -1
- package/core/getClientConfig.d.ts +0 -45
- package/core/getClientConfig.js +0 -50
- package/core/getClientConfig.js.map +0 -1
- package/core/getProject.d.ts +0 -92
- package/core/getProject.js +0 -66
- package/core/getProject.js.map +0 -1
- package/core/getProjects.d.ts +0 -107
- package/core/getProjects.js +0 -74
- package/core/getProjects.js.map +0 -1
- package/core/index.d.ts +0 -15
- package/core/index.js +0 -36
- package/core/index.js.map +0 -1
- package/core/project.d.ts +0 -188
- package/core/project.js +0 -111
- package/core/project.js.map +0 -1
- package/core/projectFeatures.d.ts +0 -120
- package/core/projectFeatures.js +0 -104
- package/core/projectFeatures.js.map +0 -1
- package/entitlement/index.d.ts +0 -3
- package/entitlement/index.js +0 -22
- package/entitlement/index.js.map +0 -1
- package/entitlement/user.d.ts +0 -140
- package/entitlement/user.js +0 -91
- package/entitlement/user.js.map +0 -1
- package/identities/getGroup.d.ts +0 -116
- package/identities/getGroup.js +0 -85
- package/identities/getGroup.js.map +0 -1
- package/identities/getUsers.d.ts +0 -196
- package/identities/getUsers.js +0 -103
- package/identities/getUsers.js.map +0 -1
- package/identities/group.d.ts +0 -206
- package/identities/group.js +0 -123
- package/identities/group.js.map +0 -1
- package/identities/groupMembership.d.ts +0 -122
- package/identities/groupMembership.js +0 -99
- package/identities/groupMembership.js.map +0 -1
- package/identities/index.d.ts +0 -12
- package/identities/index.js +0 -33
- package/identities/index.js.map +0 -1
- package/pipeline/index.d.ts +0 -3
- package/pipeline/index.js +0 -22
- package/pipeline/index.js.map +0 -1
- package/pipeline/variableGroup.d.ts +0 -223
- package/pipeline/variableGroup.js +0 -180
- package/pipeline/variableGroup.js.map +0 -1
- package/policy/branchPolicyBuildValidation.d.ts +0 -159
- package/policy/branchPolicyBuildValidation.js +0 -136
- package/policy/branchPolicyBuildValidation.js.map +0 -1
- package/policy/branchPolicyMinReviewers.d.ts +0 -149
- package/policy/branchPolicyMinReviewers.js +0 -126
- package/policy/branchPolicyMinReviewers.js.map +0 -1
- package/policy/index.d.ts +0 -6
- package/policy/index.js +0 -27
- package/policy/index.js.map +0 -1
- package/repository/getRepositories.d.ts +0 -120
- package/repository/getRepositories.js +0 -83
- package/repository/getRepositories.js.map +0 -1
- package/repository/git.d.ts +0 -210
- package/repository/git.js +0 -141
- package/repository/git.js.map +0 -1
- package/repository/index.d.ts +0 -6
- package/repository/index.js +0 -25
- package/repository/index.js.map +0 -1
- package/security/index.d.ts +0 -3
- package/security/index.js +0 -22
- package/security/index.js.map +0 -1
- package/security/resourceAuthorization.d.ts +0 -136
- package/security/resourceAuthorization.js +0 -108
- package/security/resourceAuthorization.js.map +0 -1
- package/serviceendpoint/azureRM.d.ts +0 -392
- package/serviceendpoint/azureRM.js +0 -245
- package/serviceendpoint/azureRM.js.map +0 -1
- package/serviceendpoint/bitBucket.d.ts +0 -137
- package/serviceendpoint/bitBucket.js +0 -116
- package/serviceendpoint/bitBucket.js.map +0 -1
- package/serviceendpoint/dockerRegistry.d.ts +0 -185
- package/serviceendpoint/dockerRegistry.js +0 -134
- package/serviceendpoint/dockerRegistry.js.map +0 -1
- package/serviceendpoint/gitHub.d.ts +0 -170
- package/serviceendpoint/gitHub.js +0 -148
- package/serviceendpoint/gitHub.js.map +0 -1
- package/serviceendpoint/index.d.ts +0 -15
- package/serviceendpoint/index.js +0 -42
- package/serviceendpoint/index.js.map +0 -1
- package/serviceendpoint/kubernetes.d.ts +0 -148
- package/serviceendpoint/kubernetes.js +0 -93
- package/serviceendpoint/kubernetes.js.map +0 -1
package/agent/getPools.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPools.js","sourceRoot":"","sources":["../../agent/getPools.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,kGAAkG;AAClG,SAAgB,QAAQ,CAAC,IAA2B;IAChD,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,yGAAyG,CAAC,CAAA;IAE1H,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,EACnE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAeD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,kGAAkG;AAClG,SAAgB,cAAc,CAAC,IAA2B;IACtD,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAA;AACxC,CAAC;AAFD,wCAEC"}
|
package/agent/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { GetPoolArgs, GetPoolResult, GetPoolOutputArgs } from "./getPool";
|
|
2
|
-
export declare const getPool: typeof import("./getPool").getPool;
|
|
3
|
-
export declare const getPoolOutput: typeof import("./getPool").getPoolOutput;
|
|
4
|
-
export { GetPoolsResult } from "./getPools";
|
|
5
|
-
export declare const getPools: typeof import("./getPools").getPools;
|
|
6
|
-
export declare const getPoolsOutput: typeof import("./getPools").getPoolsOutput;
|
|
7
|
-
export { PoolArgs, PoolState } from "./pool";
|
|
8
|
-
export type Pool = import("./pool").Pool;
|
|
9
|
-
export declare const Pool: typeof import("./pool").Pool;
|
|
10
|
-
export { QueueArgs, QueueState } from "./queue";
|
|
11
|
-
export type Queue = import("./queue").Queue;
|
|
12
|
-
export declare const Queue: typeof import("./queue").Queue;
|
package/agent/index.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.Queue = exports.Pool = exports.getPoolsOutput = exports.getPools = exports.getPoolOutput = exports.getPool = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
exports.getPool = null;
|
|
9
|
-
exports.getPoolOutput = null;
|
|
10
|
-
utilities.lazyLoad(exports, ["getPool", "getPoolOutput"], () => require("./getPool"));
|
|
11
|
-
exports.getPools = null;
|
|
12
|
-
exports.getPoolsOutput = null;
|
|
13
|
-
utilities.lazyLoad(exports, ["getPools", "getPoolsOutput"], () => require("./getPools"));
|
|
14
|
-
exports.Pool = null;
|
|
15
|
-
utilities.lazyLoad(exports, ["Pool"], () => require("./pool"));
|
|
16
|
-
exports.Queue = null;
|
|
17
|
-
utilities.lazyLoad(exports, ["Queue"], () => require("./queue"));
|
|
18
|
-
const _module = {
|
|
19
|
-
version: utilities.getVersion(),
|
|
20
|
-
construct: (name, type, urn) => {
|
|
21
|
-
switch (type) {
|
|
22
|
-
case "azuredevops:Agent/pool:Pool":
|
|
23
|
-
return new exports.Pool(name, undefined, { urn });
|
|
24
|
-
case "azuredevops:Agent/queue:Queue":
|
|
25
|
-
return new exports.Queue(name, undefined, { urn });
|
|
26
|
-
default:
|
|
27
|
-
throw new Error(`unknown resource type ${type}`);
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
pulumi.runtime.registerResourceModule("azuredevops", "Agent/pool", _module);
|
|
32
|
-
pulumi.runtime.registerResourceModule("azuredevops", "Agent/queue", _module);
|
|
33
|
-
//# sourceMappingURL=index.js.map
|
package/agent/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../agent/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGxE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,C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ool within Azure DevOps.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* <!--Start PulumiCodeChooser -->
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
11
|
-
*
|
|
12
|
-
* const example = new azuredevops.Pool("example", {
|
|
13
|
-
* autoProvision: false,
|
|
14
|
-
* autoUpdate: false,
|
|
15
|
-
* });
|
|
16
|
-
* ```
|
|
17
|
-
* <!--End PulumiCodeChooser -->
|
|
18
|
-
*
|
|
19
|
-
* ## Relevant Links
|
|
20
|
-
*
|
|
21
|
-
* - [Azure DevOps Service REST API 7.0 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools?view=azure-devops-rest-7.0)
|
|
22
|
-
*
|
|
23
|
-
* ## Import
|
|
24
|
-
*
|
|
25
|
-
* Azure DevOps Agent Pools can be imported using the agent pool ID, e.g.
|
|
26
|
-
*
|
|
27
|
-
* ```sh
|
|
28
|
-
* $ pulumi import azuredevops:Agent/pool:Pool example 0
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @deprecated azuredevops.agent.Pool has been deprecated in favor of azuredevops.Pool
|
|
32
|
-
*/
|
|
33
|
-
export declare class Pool extends pulumi.CustomResource {
|
|
34
|
-
/**
|
|
35
|
-
* Get an existing Pool resource's state with the given name, ID, and optional extra
|
|
36
|
-
* properties used to qualify the lookup.
|
|
37
|
-
*
|
|
38
|
-
* @param name The _unique_ name of the resulting resource.
|
|
39
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
-
* @param state Any extra arguments used during the lookup.
|
|
41
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
-
*/
|
|
43
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PoolState, opts?: pulumi.CustomResourceOptions): Pool;
|
|
44
|
-
/**
|
|
45
|
-
* Returns true if the given object is an instance of Pool. This is designed to work even
|
|
46
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
-
*/
|
|
48
|
-
static isInstance(obj: any): obj is Pool;
|
|
49
|
-
/**
|
|
50
|
-
* Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
|
|
51
|
-
*/
|
|
52
|
-
readonly autoProvision: pulumi.Output<boolean | undefined>;
|
|
53
|
-
/**
|
|
54
|
-
* Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
|
|
55
|
-
*/
|
|
56
|
-
readonly autoUpdate: pulumi.Output<boolean | undefined>;
|
|
57
|
-
/**
|
|
58
|
-
* The name of the agent pool.
|
|
59
|
-
*/
|
|
60
|
-
readonly name: pulumi.Output<string>;
|
|
61
|
-
/**
|
|
62
|
-
* Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
|
|
63
|
-
*/
|
|
64
|
-
readonly poolType: pulumi.Output<string | undefined>;
|
|
65
|
-
/**
|
|
66
|
-
* Create a Pool resource with the given unique name, arguments, and options.
|
|
67
|
-
*
|
|
68
|
-
* @param name The _unique_ name of the resource.
|
|
69
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
-
*/
|
|
72
|
-
/** @deprecated azuredevops.agent.Pool has been deprecated in favor of azuredevops.Pool */
|
|
73
|
-
constructor(name: string, args?: PoolArgs, opts?: pulumi.CustomResourceOptions);
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Input properties used for looking up and filtering Pool resources.
|
|
77
|
-
*/
|
|
78
|
-
export interface PoolState {
|
|
79
|
-
/**
|
|
80
|
-
* Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
|
|
81
|
-
*/
|
|
82
|
-
autoProvision?: pulumi.Input<boolean>;
|
|
83
|
-
/**
|
|
84
|
-
* Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
|
|
85
|
-
*/
|
|
86
|
-
autoUpdate?: pulumi.Input<boolean>;
|
|
87
|
-
/**
|
|
88
|
-
* The name of the agent pool.
|
|
89
|
-
*/
|
|
90
|
-
name?: pulumi.Input<string>;
|
|
91
|
-
/**
|
|
92
|
-
* Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
|
|
93
|
-
*/
|
|
94
|
-
poolType?: pulumi.Input<string>;
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* The set of arguments for constructing a Pool resource.
|
|
98
|
-
*/
|
|
99
|
-
export interface PoolArgs {
|
|
100
|
-
/**
|
|
101
|
-
* Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
|
|
102
|
-
*/
|
|
103
|
-
autoProvision?: pulumi.Input<boolean>;
|
|
104
|
-
/**
|
|
105
|
-
* Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
|
|
106
|
-
*/
|
|
107
|
-
autoUpdate?: pulumi.Input<boolean>;
|
|
108
|
-
/**
|
|
109
|
-
* The name of the agent pool.
|
|
110
|
-
*/
|
|
111
|
-
name?: pulumi.Input<string>;
|
|
112
|
-
/**
|
|
113
|
-
* Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
|
|
114
|
-
*/
|
|
115
|
-
poolType?: pulumi.Input<string>;
|
|
116
|
-
}
|
package/agent/pool.js
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.Pool = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Manages an agent pool within Azure DevOps.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* <!--Start PulumiCodeChooser -->
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
17
|
-
*
|
|
18
|
-
* const example = new azuredevops.Pool("example", {
|
|
19
|
-
* autoProvision: false,
|
|
20
|
-
* autoUpdate: false,
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
* <!--End PulumiCodeChooser -->
|
|
24
|
-
*
|
|
25
|
-
* ## Relevant Links
|
|
26
|
-
*
|
|
27
|
-
* - [Azure DevOps Service REST API 7.0 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools?view=azure-devops-rest-7.0)
|
|
28
|
-
*
|
|
29
|
-
* ## Import
|
|
30
|
-
*
|
|
31
|
-
* Azure DevOps Agent Pools can be imported using the agent pool ID, e.g.
|
|
32
|
-
*
|
|
33
|
-
* ```sh
|
|
34
|
-
* $ pulumi import azuredevops:Agent/pool:Pool example 0
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @deprecated azuredevops.agent.Pool has been deprecated in favor of azuredevops.Pool
|
|
38
|
-
*/
|
|
39
|
-
class Pool extends pulumi.CustomResource {
|
|
40
|
-
/**
|
|
41
|
-
* Get an existing Pool resource's state with the given name, ID, and optional extra
|
|
42
|
-
* properties used to qualify the lookup.
|
|
43
|
-
*
|
|
44
|
-
* @param name The _unique_ name of the resulting resource.
|
|
45
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
-
* @param state Any extra arguments used during the lookup.
|
|
47
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
-
*/
|
|
49
|
-
static get(name, id, state, opts) {
|
|
50
|
-
pulumi.log.warn("Pool is deprecated: azuredevops.agent.Pool has been deprecated in favor of azuredevops.Pool");
|
|
51
|
-
return new Pool(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Returns true if the given object is an instance of Pool. This is designed to work even
|
|
55
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
-
*/
|
|
57
|
-
static isInstance(obj) {
|
|
58
|
-
if (obj === undefined || obj === null) {
|
|
59
|
-
return false;
|
|
60
|
-
}
|
|
61
|
-
return obj['__pulumiType'] === Pool.__pulumiType;
|
|
62
|
-
}
|
|
63
|
-
/** @deprecated azuredevops.agent.Pool has been deprecated in favor of azuredevops.Pool */
|
|
64
|
-
constructor(name, argsOrState, opts) {
|
|
65
|
-
pulumi.log.warn("Pool is deprecated: azuredevops.agent.Pool has been deprecated in favor of azuredevops.Pool");
|
|
66
|
-
let resourceInputs = {};
|
|
67
|
-
opts = opts || {};
|
|
68
|
-
if (opts.id) {
|
|
69
|
-
const state = argsOrState;
|
|
70
|
-
resourceInputs["autoProvision"] = state ? state.autoProvision : undefined;
|
|
71
|
-
resourceInputs["autoUpdate"] = state ? state.autoUpdate : undefined;
|
|
72
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
73
|
-
resourceInputs["poolType"] = state ? state.poolType : undefined;
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
const args = argsOrState;
|
|
77
|
-
resourceInputs["autoProvision"] = args ? args.autoProvision : undefined;
|
|
78
|
-
resourceInputs["autoUpdate"] = args ? args.autoUpdate : undefined;
|
|
79
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
80
|
-
resourceInputs["poolType"] = args ? args.poolType : undefined;
|
|
81
|
-
}
|
|
82
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
-
super(Pool.__pulumiType, name, resourceInputs, opts);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
exports.Pool = Pool;
|
|
87
|
-
/** @internal */
|
|
88
|
-
Pool.__pulumiType = 'azuredevops:Agent/pool:Pool';
|
|
89
|
-
//# sourceMappingURL=pool.js.map
|
package/agent/pool.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
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AC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAAmC,CAAC;YACjD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA3EL,oBA4EC;AA7DG,gBAAgB;AACO,iBAAY,GAAG,6BAA6B,CAAC"}
|
package/agent/queue.d.ts
DELETED
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Manages an agent queue within Azure DevOps. In the UI, this is equivalent to adding an
|
|
4
|
-
* Organization defined pool to a project.
|
|
5
|
-
*
|
|
6
|
-
* The created queue is not authorized for use by all pipelines in the project. However,
|
|
7
|
-
* the `azuredevops.ResourceAuthorization` resource can be used to grant authorization.
|
|
8
|
-
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ### Creating a Queue from an organization-level pool
|
|
12
|
-
*
|
|
13
|
-
* <!--Start PulumiCodeChooser -->
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
17
|
-
*
|
|
18
|
-
* const exampleProject = new azuredevops.Project("exampleProject", {});
|
|
19
|
-
* const examplePool = azuredevops.getPool({
|
|
20
|
-
* name: "example-pool",
|
|
21
|
-
* });
|
|
22
|
-
* const exampleQueue = new azuredevops.Queue("exampleQueue", {
|
|
23
|
-
* projectId: exampleProject.id,
|
|
24
|
-
* agentPoolId: examplePool.then(examplePool => examplePool.id),
|
|
25
|
-
* });
|
|
26
|
-
* // Grant access to queue to all pipelines in the project
|
|
27
|
-
* const exampleResourceAuthorization = new azuredevops.ResourceAuthorization("exampleResourceAuthorization", {
|
|
28
|
-
* projectId: exampleProject.id,
|
|
29
|
-
* resourceId: exampleQueue.id,
|
|
30
|
-
* type: "queue",
|
|
31
|
-
* authorized: true,
|
|
32
|
-
* });
|
|
33
|
-
* ```
|
|
34
|
-
* <!--End PulumiCodeChooser -->
|
|
35
|
-
*
|
|
36
|
-
* ### Creating a Queue at the project level (Organization-level permissions not required)
|
|
37
|
-
*
|
|
38
|
-
* <!--Start PulumiCodeChooser -->
|
|
39
|
-
* ```typescript
|
|
40
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
42
|
-
*
|
|
43
|
-
* const exampleProject = azuredevops.getProject({
|
|
44
|
-
* name: "Example Project",
|
|
45
|
-
* });
|
|
46
|
-
* const exampleQueue = new azuredevops.Queue("exampleQueue", {projectId: exampleProject.then(exampleProject => exampleProject.id)});
|
|
47
|
-
* ```
|
|
48
|
-
* <!--End PulumiCodeChooser -->
|
|
49
|
-
*
|
|
50
|
-
* ## Relevant Links
|
|
51
|
-
*
|
|
52
|
-
* - [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)
|
|
53
|
-
*
|
|
54
|
-
* ## Import
|
|
55
|
-
*
|
|
56
|
-
* Azure DevOps Agent Pools can be imported using the project ID and agent queue ID, e.g.
|
|
57
|
-
*
|
|
58
|
-
* ```sh
|
|
59
|
-
* $ pulumi import azuredevops:Agent/queue:Queue example 00000000-0000-0000-0000-000000000000/0
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* @deprecated azuredevops.agent.Queue has been deprecated in favor of azuredevops.Queue
|
|
63
|
-
*/
|
|
64
|
-
export declare class Queue extends pulumi.CustomResource {
|
|
65
|
-
/**
|
|
66
|
-
* Get an existing Queue resource's state with the given name, ID, and optional extra
|
|
67
|
-
* properties used to qualify the lookup.
|
|
68
|
-
*
|
|
69
|
-
* @param name The _unique_ name of the resulting resource.
|
|
70
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
71
|
-
* @param state Any extra arguments used during the lookup.
|
|
72
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
73
|
-
*/
|
|
74
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: QueueState, opts?: pulumi.CustomResourceOptions): Queue;
|
|
75
|
-
/**
|
|
76
|
-
* Returns true if the given object is an instance of Queue. This is designed to work even
|
|
77
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
78
|
-
*/
|
|
79
|
-
static isInstance(obj: any): obj is Queue;
|
|
80
|
-
/**
|
|
81
|
-
* The ID of the organization agent pool. Conflicts with `name`.
|
|
82
|
-
*
|
|
83
|
-
* > **NOTE:**
|
|
84
|
-
* One of `name` or `agentPoolId` must be specified, but not both.
|
|
85
|
-
* When `agentPoolId` is specified, the agent queue name will be derived from the agent pool name.
|
|
86
|
-
*/
|
|
87
|
-
readonly agentPoolId: pulumi.Output<number>;
|
|
88
|
-
/**
|
|
89
|
-
* The name of the agent queue. Defaults to the ID of the agent pool. Conflicts with `agentPoolId`.
|
|
90
|
-
*/
|
|
91
|
-
readonly name: pulumi.Output<string>;
|
|
92
|
-
/**
|
|
93
|
-
* The ID of the project in which to create the resource.
|
|
94
|
-
*/
|
|
95
|
-
readonly projectId: pulumi.Output<string>;
|
|
96
|
-
/**
|
|
97
|
-
* Create a Queue resource with the given unique name, arguments, and options.
|
|
98
|
-
*
|
|
99
|
-
* @param name The _unique_ name of the resource.
|
|
100
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
101
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
102
|
-
*/
|
|
103
|
-
/** @deprecated azuredevops.agent.Queue has been deprecated in favor of azuredevops.Queue */
|
|
104
|
-
constructor(name: string, args: QueueArgs, opts?: pulumi.CustomResourceOptions);
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Input properties used for looking up and filtering Queue resources.
|
|
108
|
-
*/
|
|
109
|
-
export interface QueueState {
|
|
110
|
-
/**
|
|
111
|
-
* The ID of the organization agent pool. Conflicts with `name`.
|
|
112
|
-
*
|
|
113
|
-
* > **NOTE:**
|
|
114
|
-
* One of `name` or `agentPoolId` must be specified, but not both.
|
|
115
|
-
* When `agentPoolId` is specified, the agent queue name will be derived from the agent pool name.
|
|
116
|
-
*/
|
|
117
|
-
agentPoolId?: pulumi.Input<number>;
|
|
118
|
-
/**
|
|
119
|
-
* The name of the agent queue. Defaults to the ID of the agent pool. Conflicts with `agentPoolId`.
|
|
120
|
-
*/
|
|
121
|
-
name?: pulumi.Input<string>;
|
|
122
|
-
/**
|
|
123
|
-
* The ID of the project in which to create the resource.
|
|
124
|
-
*/
|
|
125
|
-
projectId?: pulumi.Input<string>;
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* The set of arguments for constructing a Queue resource.
|
|
129
|
-
*/
|
|
130
|
-
export interface QueueArgs {
|
|
131
|
-
/**
|
|
132
|
-
* The ID of the organization agent pool. Conflicts with `name`.
|
|
133
|
-
*
|
|
134
|
-
* > **NOTE:**
|
|
135
|
-
* One of `name` or `agentPoolId` must be specified, but not both.
|
|
136
|
-
* When `agentPoolId` is specified, the agent queue name will be derived from the agent pool name.
|
|
137
|
-
*/
|
|
138
|
-
agentPoolId?: pulumi.Input<number>;
|
|
139
|
-
/**
|
|
140
|
-
* The name of the agent queue. Defaults to the ID of the agent pool. Conflicts with `agentPoolId`.
|
|
141
|
-
*/
|
|
142
|
-
name?: pulumi.Input<string>;
|
|
143
|
-
/**
|
|
144
|
-
* The ID of the project in which to create the resource.
|
|
145
|
-
*/
|
|
146
|
-
projectId: pulumi.Input<string>;
|
|
147
|
-
}
|
package/agent/queue.js
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.Queue = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Manages an agent queue within Azure DevOps. In the UI, this is equivalent to adding an
|
|
10
|
-
* Organization defined pool to a project.
|
|
11
|
-
*
|
|
12
|
-
* The created queue is not authorized for use by all pipelines in the project. However,
|
|
13
|
-
* the `azuredevops.ResourceAuthorization` resource can be used to grant authorization.
|
|
14
|
-
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* ### Creating a Queue from an organization-level pool
|
|
18
|
-
*
|
|
19
|
-
* <!--Start PulumiCodeChooser -->
|
|
20
|
-
* ```typescript
|
|
21
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
23
|
-
*
|
|
24
|
-
* const exampleProject = new azuredevops.Project("exampleProject", {});
|
|
25
|
-
* const examplePool = azuredevops.getPool({
|
|
26
|
-
* name: "example-pool",
|
|
27
|
-
* });
|
|
28
|
-
* const exampleQueue = new azuredevops.Queue("exampleQueue", {
|
|
29
|
-
* projectId: exampleProject.id,
|
|
30
|
-
* agentPoolId: examplePool.then(examplePool => examplePool.id),
|
|
31
|
-
* });
|
|
32
|
-
* // Grant access to queue to all pipelines in the project
|
|
33
|
-
* const exampleResourceAuthorization = new azuredevops.ResourceAuthorization("exampleResourceAuthorization", {
|
|
34
|
-
* projectId: exampleProject.id,
|
|
35
|
-
* resourceId: exampleQueue.id,
|
|
36
|
-
* type: "queue",
|
|
37
|
-
* authorized: true,
|
|
38
|
-
* });
|
|
39
|
-
* ```
|
|
40
|
-
* <!--End PulumiCodeChooser -->
|
|
41
|
-
*
|
|
42
|
-
* ### Creating a Queue at the project level (Organization-level permissions not required)
|
|
43
|
-
*
|
|
44
|
-
* <!--Start PulumiCodeChooser -->
|
|
45
|
-
* ```typescript
|
|
46
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
48
|
-
*
|
|
49
|
-
* const exampleProject = azuredevops.getProject({
|
|
50
|
-
* name: "Example Project",
|
|
51
|
-
* });
|
|
52
|
-
* const exampleQueue = new azuredevops.Queue("exampleQueue", {projectId: exampleProject.then(exampleProject => exampleProject.id)});
|
|
53
|
-
* ```
|
|
54
|
-
* <!--End PulumiCodeChooser -->
|
|
55
|
-
*
|
|
56
|
-
* ## Relevant Links
|
|
57
|
-
*
|
|
58
|
-
* - [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
|
-
*
|
|
60
|
-
* ## Import
|
|
61
|
-
*
|
|
62
|
-
* Azure DevOps Agent Pools can be imported using the project ID and agent queue ID, e.g.
|
|
63
|
-
*
|
|
64
|
-
* ```sh
|
|
65
|
-
* $ pulumi import azuredevops:Agent/queue:Queue example 00000000-0000-0000-0000-000000000000/0
|
|
66
|
-
* ```
|
|
67
|
-
*
|
|
68
|
-
* @deprecated azuredevops.agent.Queue has been deprecated in favor of azuredevops.Queue
|
|
69
|
-
*/
|
|
70
|
-
class Queue extends pulumi.CustomResource {
|
|
71
|
-
/**
|
|
72
|
-
* Get an existing Queue resource's state with the given name, ID, and optional extra
|
|
73
|
-
* properties used to qualify the lookup.
|
|
74
|
-
*
|
|
75
|
-
* @param name The _unique_ name of the resulting resource.
|
|
76
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
77
|
-
* @param state Any extra arguments used during the lookup.
|
|
78
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
79
|
-
*/
|
|
80
|
-
static get(name, id, state, opts) {
|
|
81
|
-
pulumi.log.warn("Queue is deprecated: azuredevops.agent.Queue has been deprecated in favor of azuredevops.Queue");
|
|
82
|
-
return new Queue(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Returns true if the given object is an instance of Queue. This is designed to work even
|
|
86
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
87
|
-
*/
|
|
88
|
-
static isInstance(obj) {
|
|
89
|
-
if (obj === undefined || obj === null) {
|
|
90
|
-
return false;
|
|
91
|
-
}
|
|
92
|
-
return obj['__pulumiType'] === Queue.__pulumiType;
|
|
93
|
-
}
|
|
94
|
-
/** @deprecated azuredevops.agent.Queue has been deprecated in favor of azuredevops.Queue */
|
|
95
|
-
constructor(name, argsOrState, opts) {
|
|
96
|
-
pulumi.log.warn("Queue is deprecated: azuredevops.agent.Queue has been deprecated in favor of azuredevops.Queue");
|
|
97
|
-
let resourceInputs = {};
|
|
98
|
-
opts = opts || {};
|
|
99
|
-
if (opts.id) {
|
|
100
|
-
const state = argsOrState;
|
|
101
|
-
resourceInputs["agentPoolId"] = state ? state.agentPoolId : undefined;
|
|
102
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
103
|
-
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
const args = argsOrState;
|
|
107
|
-
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
108
|
-
throw new Error("Missing required property 'projectId'");
|
|
109
|
-
}
|
|
110
|
-
resourceInputs["agentPoolId"] = args ? args.agentPoolId : undefined;
|
|
111
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
112
|
-
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
113
|
-
}
|
|
114
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
115
|
-
super(Queue.__pulumiType, name, resourceInputs, opts);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
exports.Queue = Queue;
|
|
119
|
-
/** @internal */
|
|
120
|
-
Queue.__pulumiType = 'azuredevops:Agent/queue:Queue';
|
|
121
|
-
//# sourceMappingURL=queue.js.map
|
package/agent/queue.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../agent/queue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;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,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