@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/user.js
CHANGED
|
@@ -77,8 +77,6 @@ class User extends pulumi.CustomResource {
|
|
|
77
77
|
resourceInputs["descriptor"] = undefined /*out*/;
|
|
78
78
|
}
|
|
79
79
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
|
-
const aliasOpts = { aliases: [{ type: "azuredevops:Entitlement/user:User" }] };
|
|
81
|
-
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
82
80
|
super(User.__pulumiType, name, resourceInputs, opts);
|
|
83
81
|
}
|
|
84
82
|
}
|
package/user.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../user.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;A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,IAAI,GAAG,WAAmC,CAAC;YACjD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;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;;AArFL,oBAsFC;AAxEG,gBAAgB;AACO,iBAAY,GAAG,6BAA6B,CAAC"}
|
package/variableGroup.js
CHANGED
|
@@ -166,8 +166,6 @@ class VariableGroup extends pulumi.CustomResource {
|
|
|
166
166
|
resourceInputs["variables"] = args ? args.variables : undefined;
|
|
167
167
|
}
|
|
168
168
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
169
|
-
const aliasOpts = { aliases: [{ type: "azuredevops:Pipeline/variableGroup:VariableGroup" }] };
|
|
170
|
-
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
171
169
|
super(VariableGroup.__pulumiType, name, resourceInputs, opts);
|
|
172
170
|
}
|
|
173
171
|
}
|
package/variableGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variableGroup.js","sourceRoot":"","sources":["../variableGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6GG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,C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,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAzFL,sCA0FC;AA5EG,gBAAgB;AACO,0BAAY,GAAG,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages permissions for a Variable Group
|
|
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 project = new azuredevops.Project("project", {
|
|
13
|
+
* description: "Testing-description",
|
|
14
|
+
* visibility: "private",
|
|
15
|
+
* versionControl: "Git",
|
|
16
|
+
* workItemTemplate: "Agile",
|
|
17
|
+
* });
|
|
18
|
+
* const example = new azuredevops.VariableGroup("example", {
|
|
19
|
+
* projectId: project.id,
|
|
20
|
+
* description: "Test Description",
|
|
21
|
+
* allowAccess: true,
|
|
22
|
+
* variables: [{
|
|
23
|
+
* name: "key1",
|
|
24
|
+
* value: "val1",
|
|
25
|
+
* }],
|
|
26
|
+
* });
|
|
27
|
+
* const tf-project-readers = azuredevops.getGroupOutput({
|
|
28
|
+
* projectId: project.id,
|
|
29
|
+
* name: "Readers",
|
|
30
|
+
* });
|
|
31
|
+
* const permissions = new azuredevops.VariableGroupPermissions("permissions", {
|
|
32
|
+
* projectId: project.id,
|
|
33
|
+
* variableGroupId: example.id,
|
|
34
|
+
* principal: tf_project_readers.apply(tf_project_readers => tf_project_readers.id),
|
|
35
|
+
* permissions: {
|
|
36
|
+
* View: "allow",
|
|
37
|
+
* Administer: "allow",
|
|
38
|
+
* Use: "allow",
|
|
39
|
+
* },
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
* <!--End PulumiCodeChooser -->
|
|
43
|
+
*
|
|
44
|
+
* ## Roles
|
|
45
|
+
*
|
|
46
|
+
* The Azure DevOps UI uses roles to assign permissions for variable groups.
|
|
47
|
+
*
|
|
48
|
+
* | Role | Allow Permissions |
|
|
49
|
+
* | ------------- | ---------------------- |
|
|
50
|
+
* | Reader | View |
|
|
51
|
+
* | User | View, Use |
|
|
52
|
+
* | Administrator | View, Use, Administer |
|
|
53
|
+
*
|
|
54
|
+
* ## Relevant Links
|
|
55
|
+
*
|
|
56
|
+
* * [Azure DevOps Service REST API 6.0 - Security](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/?view=azure-devops-rest-6.0)
|
|
57
|
+
*
|
|
58
|
+
* ## PAT Permissions Required
|
|
59
|
+
*
|
|
60
|
+
* - **Project & Team**: vso.security_manage - Grants the ability to read, write, and manage security permissions.
|
|
61
|
+
*
|
|
62
|
+
* ## Import
|
|
63
|
+
*
|
|
64
|
+
* The resource does not support import.
|
|
65
|
+
*/
|
|
66
|
+
export declare class VariableGroupPermissions extends pulumi.CustomResource {
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing VariableGroupPermissions resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param state Any extra arguments used during the lookup.
|
|
74
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
75
|
+
*/
|
|
76
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VariableGroupPermissionsState, opts?: pulumi.CustomResourceOptions): VariableGroupPermissions;
|
|
77
|
+
/**
|
|
78
|
+
* Returns true if the given object is an instance of VariableGroupPermissions. This is designed to work even
|
|
79
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
80
|
+
*/
|
|
81
|
+
static isInstance(obj: any): obj is VariableGroupPermissions;
|
|
82
|
+
/**
|
|
83
|
+
* the permissions to assign. The following permissions are available.
|
|
84
|
+
*/
|
|
85
|
+
readonly permissions: pulumi.Output<{
|
|
86
|
+
[key: string]: string;
|
|
87
|
+
}>;
|
|
88
|
+
/**
|
|
89
|
+
* The **group** principal to assign the permissions.
|
|
90
|
+
*/
|
|
91
|
+
readonly principal: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The ID of the project.
|
|
94
|
+
*/
|
|
95
|
+
readonly projectId: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Replace (`true`) or merge (`false`) the permissions. Default: `true`
|
|
98
|
+
*
|
|
99
|
+
* | Permission | Description |
|
|
100
|
+
* | ----------------- | ----------------------------------- |
|
|
101
|
+
* | View | View library item |
|
|
102
|
+
* | Administer | Administer library item |
|
|
103
|
+
* | Create | Create library item |
|
|
104
|
+
* | ViewSecrets | View library item secrets |
|
|
105
|
+
* | Use | Use library item |
|
|
106
|
+
* | Owner | Owner library item |
|
|
107
|
+
*/
|
|
108
|
+
readonly replace: pulumi.Output<boolean | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* The id of the variable group to assign the permissions.
|
|
111
|
+
*/
|
|
112
|
+
readonly variableGroupId: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Create a VariableGroupPermissions resource with the given unique name, arguments, and options.
|
|
115
|
+
*
|
|
116
|
+
* @param name The _unique_ name of the resource.
|
|
117
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
118
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
119
|
+
*/
|
|
120
|
+
constructor(name: string, args: VariableGroupPermissionsArgs, opts?: pulumi.CustomResourceOptions);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Input properties used for looking up and filtering VariableGroupPermissions resources.
|
|
124
|
+
*/
|
|
125
|
+
export interface VariableGroupPermissionsState {
|
|
126
|
+
/**
|
|
127
|
+
* the permissions to assign. The following permissions are available.
|
|
128
|
+
*/
|
|
129
|
+
permissions?: pulumi.Input<{
|
|
130
|
+
[key: string]: pulumi.Input<string>;
|
|
131
|
+
}>;
|
|
132
|
+
/**
|
|
133
|
+
* The **group** principal to assign the permissions.
|
|
134
|
+
*/
|
|
135
|
+
principal?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* The ID of the project.
|
|
138
|
+
*/
|
|
139
|
+
projectId?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Replace (`true`) or merge (`false`) the permissions. Default: `true`
|
|
142
|
+
*
|
|
143
|
+
* | Permission | Description |
|
|
144
|
+
* | ----------------- | ----------------------------------- |
|
|
145
|
+
* | View | View library item |
|
|
146
|
+
* | Administer | Administer library item |
|
|
147
|
+
* | Create | Create library item |
|
|
148
|
+
* | ViewSecrets | View library item secrets |
|
|
149
|
+
* | Use | Use library item |
|
|
150
|
+
* | Owner | Owner library item |
|
|
151
|
+
*/
|
|
152
|
+
replace?: pulumi.Input<boolean>;
|
|
153
|
+
/**
|
|
154
|
+
* The id of the variable group to assign the permissions.
|
|
155
|
+
*/
|
|
156
|
+
variableGroupId?: pulumi.Input<string>;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* The set of arguments for constructing a VariableGroupPermissions resource.
|
|
160
|
+
*/
|
|
161
|
+
export interface VariableGroupPermissionsArgs {
|
|
162
|
+
/**
|
|
163
|
+
* the permissions to assign. The following permissions are available.
|
|
164
|
+
*/
|
|
165
|
+
permissions: pulumi.Input<{
|
|
166
|
+
[key: string]: pulumi.Input<string>;
|
|
167
|
+
}>;
|
|
168
|
+
/**
|
|
169
|
+
* The **group** principal to assign the permissions.
|
|
170
|
+
*/
|
|
171
|
+
principal: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* The ID of the project.
|
|
174
|
+
*/
|
|
175
|
+
projectId: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* Replace (`true`) or merge (`false`) the permissions. Default: `true`
|
|
178
|
+
*
|
|
179
|
+
* | Permission | Description |
|
|
180
|
+
* | ----------------- | ----------------------------------- |
|
|
181
|
+
* | View | View library item |
|
|
182
|
+
* | Administer | Administer library item |
|
|
183
|
+
* | Create | Create library item |
|
|
184
|
+
* | ViewSecrets | View library item secrets |
|
|
185
|
+
* | Use | Use library item |
|
|
186
|
+
* | Owner | Owner library item |
|
|
187
|
+
*/
|
|
188
|
+
replace?: pulumi.Input<boolean>;
|
|
189
|
+
/**
|
|
190
|
+
* The id of the variable group to assign the permissions.
|
|
191
|
+
*/
|
|
192
|
+
variableGroupId: pulumi.Input<string>;
|
|
193
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
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.VariableGroupPermissions = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages permissions for a Variable Group
|
|
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 project = new azuredevops.Project("project", {
|
|
19
|
+
* description: "Testing-description",
|
|
20
|
+
* visibility: "private",
|
|
21
|
+
* versionControl: "Git",
|
|
22
|
+
* workItemTemplate: "Agile",
|
|
23
|
+
* });
|
|
24
|
+
* const example = new azuredevops.VariableGroup("example", {
|
|
25
|
+
* projectId: project.id,
|
|
26
|
+
* description: "Test Description",
|
|
27
|
+
* allowAccess: true,
|
|
28
|
+
* variables: [{
|
|
29
|
+
* name: "key1",
|
|
30
|
+
* value: "val1",
|
|
31
|
+
* }],
|
|
32
|
+
* });
|
|
33
|
+
* const tf-project-readers = azuredevops.getGroupOutput({
|
|
34
|
+
* projectId: project.id,
|
|
35
|
+
* name: "Readers",
|
|
36
|
+
* });
|
|
37
|
+
* const permissions = new azuredevops.VariableGroupPermissions("permissions", {
|
|
38
|
+
* projectId: project.id,
|
|
39
|
+
* variableGroupId: example.id,
|
|
40
|
+
* principal: tf_project_readers.apply(tf_project_readers => tf_project_readers.id),
|
|
41
|
+
* permissions: {
|
|
42
|
+
* View: "allow",
|
|
43
|
+
* Administer: "allow",
|
|
44
|
+
* Use: "allow",
|
|
45
|
+
* },
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
* <!--End PulumiCodeChooser -->
|
|
49
|
+
*
|
|
50
|
+
* ## Roles
|
|
51
|
+
*
|
|
52
|
+
* The Azure DevOps UI uses roles to assign permissions for variable groups.
|
|
53
|
+
*
|
|
54
|
+
* | Role | Allow Permissions |
|
|
55
|
+
* | ------------- | ---------------------- |
|
|
56
|
+
* | Reader | View |
|
|
57
|
+
* | User | View, Use |
|
|
58
|
+
* | Administrator | View, Use, Administer |
|
|
59
|
+
*
|
|
60
|
+
* ## Relevant Links
|
|
61
|
+
*
|
|
62
|
+
* * [Azure DevOps Service REST API 6.0 - Security](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/?view=azure-devops-rest-6.0)
|
|
63
|
+
*
|
|
64
|
+
* ## PAT Permissions Required
|
|
65
|
+
*
|
|
66
|
+
* - **Project & Team**: vso.security_manage - Grants the ability to read, write, and manage security permissions.
|
|
67
|
+
*
|
|
68
|
+
* ## Import
|
|
69
|
+
*
|
|
70
|
+
* The resource does not support import.
|
|
71
|
+
*/
|
|
72
|
+
class VariableGroupPermissions extends pulumi.CustomResource {
|
|
73
|
+
/**
|
|
74
|
+
* Get an existing VariableGroupPermissions resource's state with the given name, ID, and optional extra
|
|
75
|
+
* properties used to qualify the lookup.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resulting resource.
|
|
78
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
79
|
+
* @param state Any extra arguments used during the lookup.
|
|
80
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
81
|
+
*/
|
|
82
|
+
static get(name, id, state, opts) {
|
|
83
|
+
return new VariableGroupPermissions(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Returns true if the given object is an instance of VariableGroupPermissions. This is designed to work even
|
|
87
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
88
|
+
*/
|
|
89
|
+
static isInstance(obj) {
|
|
90
|
+
if (obj === undefined || obj === null) {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
return obj['__pulumiType'] === VariableGroupPermissions.__pulumiType;
|
|
94
|
+
}
|
|
95
|
+
constructor(name, argsOrState, opts) {
|
|
96
|
+
let resourceInputs = {};
|
|
97
|
+
opts = opts || {};
|
|
98
|
+
if (opts.id) {
|
|
99
|
+
const state = argsOrState;
|
|
100
|
+
resourceInputs["permissions"] = state ? state.permissions : undefined;
|
|
101
|
+
resourceInputs["principal"] = state ? state.principal : undefined;
|
|
102
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
103
|
+
resourceInputs["replace"] = state ? state.replace : undefined;
|
|
104
|
+
resourceInputs["variableGroupId"] = state ? state.variableGroupId : undefined;
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
const args = argsOrState;
|
|
108
|
+
if ((!args || args.permissions === undefined) && !opts.urn) {
|
|
109
|
+
throw new Error("Missing required property 'permissions'");
|
|
110
|
+
}
|
|
111
|
+
if ((!args || args.principal === undefined) && !opts.urn) {
|
|
112
|
+
throw new Error("Missing required property 'principal'");
|
|
113
|
+
}
|
|
114
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
115
|
+
throw new Error("Missing required property 'projectId'");
|
|
116
|
+
}
|
|
117
|
+
if ((!args || args.variableGroupId === undefined) && !opts.urn) {
|
|
118
|
+
throw new Error("Missing required property 'variableGroupId'");
|
|
119
|
+
}
|
|
120
|
+
resourceInputs["permissions"] = args ? args.permissions : undefined;
|
|
121
|
+
resourceInputs["principal"] = args ? args.principal : undefined;
|
|
122
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
123
|
+
resourceInputs["replace"] = args ? args.replace : undefined;
|
|
124
|
+
resourceInputs["variableGroupId"] = args ? args.variableGroupId : undefined;
|
|
125
|
+
}
|
|
126
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
127
|
+
super(VariableGroupPermissions.__pulumiType, name, resourceInputs, opts);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
exports.VariableGroupPermissions = VariableGroupPermissions;
|
|
131
|
+
/** @internal */
|
|
132
|
+
VariableGroupPermissions.__pulumiType = 'azuredevops:index/variableGroupPermissions:VariableGroupPermissions';
|
|
133
|
+
//# sourceMappingURL=variableGroupPermissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variableGroupPermissions.js","sourceRoot":"","sources":["../variableGroupPermissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IAwCD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG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c,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AAlGL,4DAmGC;AArFG,gBAAgB;AACO,qCAAY,GAAG,qEAAqE,CAAC"}
|
package/agent/getPool.d.ts
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Use this data source to access information about an existing Agent Pool 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 = azuredevops.getPool({
|
|
13
|
-
* name: "Example Agent Pool",
|
|
14
|
-
* });
|
|
15
|
-
* export const name = example.then(example => example.name);
|
|
16
|
-
* export const poolType = example.then(example => example.poolType);
|
|
17
|
-
* export const autoProvision = example.then(example => example.autoProvision);
|
|
18
|
-
* export const autoUpdate = example.then(example => example.autoUpdate);
|
|
19
|
-
* ```
|
|
20
|
-
* <!--End PulumiCodeChooser -->
|
|
21
|
-
*
|
|
22
|
-
* ## Relevant Links
|
|
23
|
-
*
|
|
24
|
-
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
|
25
|
-
*/
|
|
26
|
-
/** @deprecated azuredevops.agent.getPool has been deprecated in favor of azuredevops.getPool */
|
|
27
|
-
export declare function getPool(args: GetPoolArgs, opts?: pulumi.InvokeOptions): Promise<GetPoolResult>;
|
|
28
|
-
/**
|
|
29
|
-
* A collection of arguments for invoking getPool.
|
|
30
|
-
*/
|
|
31
|
-
export interface GetPoolArgs {
|
|
32
|
-
/**
|
|
33
|
-
* Name of the Agent Pool.
|
|
34
|
-
*/
|
|
35
|
-
name: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* A collection of values returned by getPool.
|
|
39
|
-
*/
|
|
40
|
-
export interface GetPoolResult {
|
|
41
|
-
readonly autoProvision: boolean;
|
|
42
|
-
readonly autoUpdate: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* The provider-assigned unique ID for this managed resource.
|
|
45
|
-
*/
|
|
46
|
-
readonly id: string;
|
|
47
|
-
readonly name: string;
|
|
48
|
-
readonly poolType: string;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Use this data source to access information about an existing Agent Pool within Azure DevOps.
|
|
52
|
-
*
|
|
53
|
-
* ## Example Usage
|
|
54
|
-
*
|
|
55
|
-
* <!--Start PulumiCodeChooser -->
|
|
56
|
-
* ```typescript
|
|
57
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
59
|
-
*
|
|
60
|
-
* const example = azuredevops.getPool({
|
|
61
|
-
* name: "Example Agent Pool",
|
|
62
|
-
* });
|
|
63
|
-
* export const name = example.then(example => example.name);
|
|
64
|
-
* export const poolType = example.then(example => example.poolType);
|
|
65
|
-
* export const autoProvision = example.then(example => example.autoProvision);
|
|
66
|
-
* export const autoUpdate = example.then(example => example.autoUpdate);
|
|
67
|
-
* ```
|
|
68
|
-
* <!--End PulumiCodeChooser -->
|
|
69
|
-
*
|
|
70
|
-
* ## Relevant Links
|
|
71
|
-
*
|
|
72
|
-
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
|
73
|
-
*/
|
|
74
|
-
/** @deprecated azuredevops.agent.getPool has been deprecated in favor of azuredevops.getPool */
|
|
75
|
-
export declare function getPoolOutput(args: GetPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPoolResult>;
|
|
76
|
-
/**
|
|
77
|
-
* A collection of arguments for invoking getPool.
|
|
78
|
-
*/
|
|
79
|
-
export interface GetPoolOutputArgs {
|
|
80
|
-
/**
|
|
81
|
-
* Name of the Agent Pool.
|
|
82
|
-
*/
|
|
83
|
-
name: pulumi.Input<string>;
|
|
84
|
-
}
|
package/agent/getPool.js
DELETED
|
@@ -1,70 +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.getPoolOutput = exports.getPool = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to access information about an existing 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 = azuredevops.getPool({
|
|
19
|
-
* name: "Example Agent Pool",
|
|
20
|
-
* });
|
|
21
|
-
* export const name = example.then(example => example.name);
|
|
22
|
-
* export const poolType = example.then(example => example.poolType);
|
|
23
|
-
* export const autoProvision = example.then(example => example.autoProvision);
|
|
24
|
-
* export const autoUpdate = example.then(example => example.autoUpdate);
|
|
25
|
-
* ```
|
|
26
|
-
* <!--End PulumiCodeChooser -->
|
|
27
|
-
*
|
|
28
|
-
* ## Relevant Links
|
|
29
|
-
*
|
|
30
|
-
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
|
31
|
-
*/
|
|
32
|
-
/** @deprecated azuredevops.agent.getPool has been deprecated in favor of azuredevops.getPool */
|
|
33
|
-
function getPool(args, opts) {
|
|
34
|
-
pulumi.log.warn("getPool is deprecated: azuredevops.agent.getPool has been deprecated in favor of azuredevops.getPool");
|
|
35
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
-
return pulumi.runtime.invoke("azuredevops:Agent/getPool:getPool", {
|
|
37
|
-
"name": args.name,
|
|
38
|
-
}, opts);
|
|
39
|
-
}
|
|
40
|
-
exports.getPool = getPool;
|
|
41
|
-
/**
|
|
42
|
-
* Use this data source to access information about an existing Agent Pool within Azure DevOps.
|
|
43
|
-
*
|
|
44
|
-
* ## Example Usage
|
|
45
|
-
*
|
|
46
|
-
* <!--Start PulumiCodeChooser -->
|
|
47
|
-
* ```typescript
|
|
48
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
50
|
-
*
|
|
51
|
-
* const example = azuredevops.getPool({
|
|
52
|
-
* name: "Example Agent Pool",
|
|
53
|
-
* });
|
|
54
|
-
* export const name = example.then(example => example.name);
|
|
55
|
-
* export const poolType = example.then(example => example.poolType);
|
|
56
|
-
* export const autoProvision = example.then(example => example.autoProvision);
|
|
57
|
-
* export const autoUpdate = example.then(example => example.autoUpdate);
|
|
58
|
-
* ```
|
|
59
|
-
* <!--End PulumiCodeChooser -->
|
|
60
|
-
*
|
|
61
|
-
* ## Relevant Links
|
|
62
|
-
*
|
|
63
|
-
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
|
64
|
-
*/
|
|
65
|
-
/** @deprecated azuredevops.agent.getPool has been deprecated in favor of azuredevops.getPool */
|
|
66
|
-
function getPoolOutput(args, opts) {
|
|
67
|
-
return pulumi.output(args).apply((a) => getPool(a, opts));
|
|
68
|
-
}
|
|
69
|
-
exports.getPoolOutput = getPoolOutput;
|
|
70
|
-
//# sourceMappingURL=getPool.js.map
|
package/agent/getPool.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPool.js","sourceRoot":"","sources":["../../agent/getPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,gGAAgG;AAChG,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,sGAAsG,CAAC,CAAA;IAEvH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0BAOC;AAyBD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,gGAAgG;AAChG,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
package/agent/getPools.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as outputs from "../types/output";
|
|
3
|
-
/**
|
|
4
|
-
* Use this data source to access information about existing Agent Pools within Azure DevOps.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* <!--Start PulumiCodeChooser -->
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
12
|
-
*
|
|
13
|
-
* const example = azuredevops.getPools({});
|
|
14
|
-
* export const agentPoolName = example.then(example => example.agentPools.map(__item => __item.name));
|
|
15
|
-
* export const autoProvision = example.then(example => example.agentPools.map(__item => __item.autoProvision));
|
|
16
|
-
* export const autoUpdate = example.then(example => example.agentPools.map(__item => __item.autoUpdate));
|
|
17
|
-
* export const poolType = example.then(example => example.agentPools.map(__item => __item.poolType));
|
|
18
|
-
* ```
|
|
19
|
-
* <!--End PulumiCodeChooser -->
|
|
20
|
-
*
|
|
21
|
-
* ## Relevant Links
|
|
22
|
-
*
|
|
23
|
-
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
|
24
|
-
*/
|
|
25
|
-
/** @deprecated azuredevops.agent.getPools has been deprecated in favor of azuredevops.getPools */
|
|
26
|
-
export declare function getPools(opts?: pulumi.InvokeOptions): Promise<GetPoolsResult>;
|
|
27
|
-
/**
|
|
28
|
-
* A collection of values returned by getPools.
|
|
29
|
-
*/
|
|
30
|
-
export interface GetPoolsResult {
|
|
31
|
-
/**
|
|
32
|
-
* A list of existing agent pools in your Azure DevOps Organization with the following details about every agent pool:
|
|
33
|
-
*/
|
|
34
|
-
readonly agentPools: outputs.Agent.GetPoolsAgentPool[];
|
|
35
|
-
/**
|
|
36
|
-
* The provider-assigned unique ID for this managed resource.
|
|
37
|
-
*/
|
|
38
|
-
readonly id: string;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Use this data source to access information about existing Agent Pools within Azure DevOps.
|
|
42
|
-
*
|
|
43
|
-
* ## Example Usage
|
|
44
|
-
*
|
|
45
|
-
* <!--Start PulumiCodeChooser -->
|
|
46
|
-
* ```typescript
|
|
47
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
49
|
-
*
|
|
50
|
-
* const example = azuredevops.getPools({});
|
|
51
|
-
* export const agentPoolName = example.then(example => example.agentPools.map(__item => __item.name));
|
|
52
|
-
* export const autoProvision = example.then(example => example.agentPools.map(__item => __item.autoProvision));
|
|
53
|
-
* export const autoUpdate = example.then(example => example.agentPools.map(__item => __item.autoUpdate));
|
|
54
|
-
* export const poolType = example.then(example => example.agentPools.map(__item => __item.poolType));
|
|
55
|
-
* ```
|
|
56
|
-
* <!--End PulumiCodeChooser -->
|
|
57
|
-
*
|
|
58
|
-
* ## Relevant Links
|
|
59
|
-
*
|
|
60
|
-
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
|
61
|
-
*/
|
|
62
|
-
/** @deprecated azuredevops.agent.getPools has been deprecated in favor of azuredevops.getPools */
|
|
63
|
-
export declare function getPoolsOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetPoolsResult>;
|
package/agent/getPools.js
DELETED
|
@@ -1,64 +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.getPoolsOutput = exports.getPools = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to access information about existing Agent Pools 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 = azuredevops.getPools({});
|
|
19
|
-
* export const agentPoolName = example.then(example => example.agentPools.map(__item => __item.name));
|
|
20
|
-
* export const autoProvision = example.then(example => example.agentPools.map(__item => __item.autoProvision));
|
|
21
|
-
* export const autoUpdate = example.then(example => example.agentPools.map(__item => __item.autoUpdate));
|
|
22
|
-
* export const poolType = example.then(example => example.agentPools.map(__item => __item.poolType));
|
|
23
|
-
* ```
|
|
24
|
-
* <!--End PulumiCodeChooser -->
|
|
25
|
-
*
|
|
26
|
-
* ## Relevant Links
|
|
27
|
-
*
|
|
28
|
-
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
|
29
|
-
*/
|
|
30
|
-
/** @deprecated azuredevops.agent.getPools has been deprecated in favor of azuredevops.getPools */
|
|
31
|
-
function getPools(opts) {
|
|
32
|
-
pulumi.log.warn("getPools is deprecated: azuredevops.agent.getPools has been deprecated in favor of azuredevops.getPools");
|
|
33
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
34
|
-
return pulumi.runtime.invoke("azuredevops:Agent/getPools:getPools", {}, opts);
|
|
35
|
-
}
|
|
36
|
-
exports.getPools = getPools;
|
|
37
|
-
/**
|
|
38
|
-
* Use this data source to access information about existing Agent Pools within Azure DevOps.
|
|
39
|
-
*
|
|
40
|
-
* ## Example Usage
|
|
41
|
-
*
|
|
42
|
-
* <!--Start PulumiCodeChooser -->
|
|
43
|
-
* ```typescript
|
|
44
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
46
|
-
*
|
|
47
|
-
* const example = azuredevops.getPools({});
|
|
48
|
-
* export const agentPoolName = example.then(example => example.agentPools.map(__item => __item.name));
|
|
49
|
-
* export const autoProvision = example.then(example => example.agentPools.map(__item => __item.autoProvision));
|
|
50
|
-
* export const autoUpdate = example.then(example => example.agentPools.map(__item => __item.autoUpdate));
|
|
51
|
-
* export const poolType = example.then(example => example.agentPools.map(__item => __item.poolType));
|
|
52
|
-
* ```
|
|
53
|
-
* <!--End PulumiCodeChooser -->
|
|
54
|
-
*
|
|
55
|
-
* ## Relevant Links
|
|
56
|
-
*
|
|
57
|
-
* - [Azure DevOps Service REST API 7.0 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-7.0)
|
|
58
|
-
*/
|
|
59
|
-
/** @deprecated azuredevops.agent.getPools has been deprecated in favor of azuredevops.getPools */
|
|
60
|
-
function getPoolsOutput(opts) {
|
|
61
|
-
return pulumi.output(getPools(opts));
|
|
62
|
-
}
|
|
63
|
-
exports.getPoolsOutput = getPoolsOutput;
|
|
64
|
-
//# sourceMappingURL=getPools.js.map
|