@pulumi/azuredevops 3.6.0-alpha.1737523387 → 3.6.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/areaPermissions.d.ts +36 -36
- package/branchPolicyAutoReviewers.d.ts +3 -3
- package/branchPolicyBuildValidation.d.ts +3 -3
- package/branchPolicyCommentResolution.d.ts +3 -3
- package/branchPolicyMergeTypes.d.ts +3 -3
- package/branchPolicyStatusCheck.d.ts +3 -3
- package/branchPolicyWorkItemLinking.d.ts +3 -3
- package/buildDefinition.d.ts +3 -3
- package/checkBranchControl.d.ts +3 -3
- package/checkBusinessHours.d.ts +3 -3
- package/checkExclusiveLock.d.ts +3 -3
- package/checkRestApi.d.ts +300 -0
- package/checkRestApi.js +161 -0
- package/checkRestApi.js.map +1 -0
- package/feed.d.ts +4 -4
- package/feed.js +4 -4
- package/feedPermission.d.ts +4 -4
- package/feedPermission.js +1 -1
- package/feedRetentionPolicy.d.ts +155 -0
- package/feedRetentionPolicy.js +135 -0
- package/feedRetentionPolicy.js.map +1 -0
- package/getAgentQueue.d.ts +2 -2
- package/getArea.d.ts +1 -1
- package/getClientConfig.d.ts +3 -0
- package/getClientConfig.js.map +1 -1
- package/getFeed.d.ts +4 -4
- package/getGitRepository.d.ts +8 -8
- package/getGroup.d.ts +4 -4
- package/getGroups.d.ts +3 -3
- package/getIdentityGroup.d.ts +3 -0
- package/getIdentityGroup.js.map +1 -1
- package/getIdentityGroups.d.ts +1 -1
- package/getIdentityUsers.d.ts +5 -5
- package/getPool.d.ts +14 -2
- package/getPool.js +2 -2
- package/getPool.js.map +1 -1
- package/getPools.d.ts +3 -3
- package/getPools.js +2 -2
- package/getProject.d.ts +32 -0
- package/getProject.js +10 -0
- package/getProject.js.map +1 -1
- package/getProjects.d.ts +4 -4
- package/getRepositories.d.ts +5 -1
- package/getRepositories.js.map +1 -1
- package/getSecurityroleDefinitions.d.ts +4 -4
- package/getSecurityroleDefinitions.js +2 -2
- package/getServiceEndpointAzureRM.d.ts +5 -5
- package/getServiceEndpointGithub.d.ts +6 -6
- package/getServicePrincipal.d.ts +73 -0
- package/getServicePrincipal.js +52 -0
- package/getServicePrincipal.js.map +1 -0
- package/getServiceendpointAzurecr.d.ts +1 -1
- package/getServiceendpointBitbucket.d.ts +6 -6
- package/getServiceendpointNpm.d.ts +3 -3
- package/getServiceendpointSonarcloud.d.ts +2 -2
- package/getTeam.d.ts +10 -3
- package/getTeam.js.map +1 -1
- package/getTeams.d.ts +2 -3
- package/getTeams.js.map +1 -1
- package/getUsers.d.ts +5 -9
- package/getUsers.js.map +1 -1
- package/git.d.ts +3 -3
- package/gitPermissions.d.ts +3 -6
- package/gitPermissions.js.map +1 -1
- package/gitRepositoryFile.d.ts +3 -6
- package/gitRepositoryFile.js.map +1 -1
- package/group.d.ts +9 -3
- package/group.js.map +1 -1
- package/groupEntitlement.d.ts +7 -9
- package/groupEntitlement.js +1 -3
- package/groupEntitlement.js.map +1 -1
- package/groupMembership.d.ts +15 -22
- package/groupMembership.js +0 -4
- package/groupMembership.js.map +1 -1
- package/index.d.ts +24 -0
- package/index.js +42 -4
- package/index.js.map +1 -1
- package/iterativePermissions.d.ts +21 -21
- package/libraryPermissions.d.ts +33 -33
- package/libraryPermissions.js +6 -6
- package/package.json +2 -2
- package/pipelineAuthorization.d.ts +3 -3
- package/pool.d.ts +2 -2
- package/pool.js +2 -2
- package/project.d.ts +49 -27
- package/project.js +1 -0
- package/project.js.map +1 -1
- package/projectFeatures.d.ts +36 -18
- package/projectFeatures.js.map +1 -1
- package/projectPermissions.d.ts +3 -3
- package/projectPipelineSettings.d.ts +12 -15
- package/projectPipelineSettings.js.map +1 -1
- package/projectTags.d.ts +97 -0
- package/projectTags.js +94 -0
- package/projectTags.js.map +1 -0
- package/queue.d.ts +3 -6
- package/queue.js.map +1 -1
- package/repositoryPolicyAuthorEmailPattern.d.ts +6 -3
- package/repositoryPolicyAuthorEmailPattern.js.map +1 -1
- package/repositoryPolicyMaxFileSize.d.ts +3 -3
- package/resourceAuthorization.d.ts +15 -15
- package/serviceEndpointArtifactory.d.ts +14 -8
- package/serviceEndpointArtifactory.js +2 -2
- package/serviceEndpointArtifactory.js.map +1 -1
- package/serviceEndpointAws.d.ts +1 -1
- package/serviceEndpointAws.js +1 -1
- package/serviceEndpointAzureEcr.d.ts +6 -7
- package/serviceEndpointAzureEcr.js +3 -4
- package/serviceEndpointAzureEcr.js.map +1 -1
- package/serviceEndpointAzureRM.d.ts +11 -11
- package/serviceEndpointAzureRM.js +2 -2
- package/serviceEndpointBitBucket.d.ts +1 -1
- package/serviceEndpointBitBucket.js +1 -1
- package/serviceEndpointDockerRegistry.d.ts +1 -1
- package/serviceEndpointDockerRegistry.js +1 -1
- package/serviceEndpointGeneric.d.ts +1 -1
- package/serviceEndpointGeneric.js +1 -1
- package/serviceEndpointGenericGit.d.ts +2 -4
- package/serviceEndpointGenericGit.js +2 -4
- package/serviceEndpointGenericGit.js.map +1 -1
- package/serviceEndpointGitHub.d.ts +10 -1
- package/serviceEndpointGitHub.js +1 -1
- package/serviceEndpointGitHub.js.map +1 -1
- package/serviceEndpointGitHubEnterprise.d.ts +10 -1
- package/serviceEndpointGitHubEnterprise.js +1 -1
- package/serviceEndpointGitHubEnterprise.js.map +1 -1
- package/serviceEndpointKubernetes.d.ts +10 -10
- package/serviceEndpointKubernetes.js +1 -1
- package/serviceEndpointNpm.d.ts +2 -2
- package/serviceEndpointNpm.js +2 -2
- package/serviceEndpointPipeline.d.ts +2 -2
- package/serviceEndpointPipeline.js +2 -2
- package/serviceEndpointServiceFabric.d.ts +31 -4
- package/serviceEndpointServiceFabric.js +1 -1
- package/serviceEndpointServiceFabric.js.map +1 -1
- package/serviceEndpointSonarCloud.d.ts +5 -5
- package/serviceEndpointSonarCloud.js +2 -2
- package/serviceEndpointSonarQube.d.ts +5 -5
- package/serviceEndpointSonarQube.js +2 -2
- package/serviceEndpointSsh.d.ts +1 -3
- package/serviceEndpointSsh.js +1 -3
- package/serviceEndpointSsh.js.map +1 -1
- package/servicePrincipalEntitlement.d.ts +122 -0
- package/servicePrincipalEntitlement.js +84 -0
- package/servicePrincipalEntitlement.js.map +1 -0
- package/serviceendpointArgocd.d.ts +1 -1
- package/serviceendpointArgocd.js +1 -1
- package/serviceendpointAzureServiceBus.d.ts +1 -1
- package/serviceendpointAzureServiceBus.js +1 -1
- package/serviceendpointCheckmarxOne.d.ts +199 -0
- package/serviceendpointCheckmarxOne.js +137 -0
- package/serviceendpointCheckmarxOne.js.map +1 -0
- package/serviceendpointCheckmarxSast.d.ts +171 -0
- package/serviceendpointCheckmarxSast.js +121 -0
- package/serviceendpointCheckmarxSast.js.map +1 -0
- package/serviceendpointCheckmarxSca.d.ts +196 -0
- package/serviceendpointCheckmarxSca.js +135 -0
- package/serviceendpointCheckmarxSca.js.map +1 -0
- package/serviceendpointDynamicsLifecycleServices.d.ts +1 -1
- package/serviceendpointDynamicsLifecycleServices.js +1 -1
- package/serviceendpointExternaltfs.d.ts +33 -5
- package/serviceendpointExternaltfs.js +30 -2
- package/serviceendpointExternaltfs.js.map +1 -1
- package/serviceendpointGcpTerraform.d.ts +1 -1
- package/serviceendpointGcpTerraform.js +1 -1
- package/serviceendpointIncomingwebhook.d.ts +1 -1
- package/serviceendpointIncomingwebhook.js +1 -1
- package/serviceendpointJenkins.d.ts +1 -1
- package/serviceendpointJenkins.js +1 -1
- package/serviceendpointJfrogArtifactoryV2.d.ts +8 -8
- package/serviceendpointJfrogArtifactoryV2.js +2 -2
- package/serviceendpointJfrogDistributionV2.d.ts +8 -8
- package/serviceendpointJfrogDistributionV2.js +2 -2
- package/serviceendpointJfrogPlatformV2.d.ts +8 -8
- package/serviceendpointJfrogPlatformV2.js +2 -2
- package/serviceendpointJfrogXrayV2.d.ts +8 -8
- package/serviceendpointJfrogXrayV2.js +2 -2
- package/serviceendpointMaven.d.ts +1 -1
- package/serviceendpointMaven.js +1 -1
- package/serviceendpointNexus.d.ts +1 -1
- package/serviceendpointNexus.js +1 -1
- package/serviceendpointNuget.d.ts +1 -1
- package/serviceendpointNuget.js +1 -1
- package/serviceendpointOctopusdeploy.d.ts +1 -1
- package/serviceendpointOctopusdeploy.js +1 -1
- package/serviceendpointPermissions.d.ts +24 -24
- package/serviceendpointSnyk.d.ts +1 -1
- package/serviceendpointSnyk.js +1 -1
- package/serviceendpointVisualstudiomarketplace.d.ts +2 -3
- package/serviceendpointVisualstudiomarketplace.js +2 -3
- package/serviceendpointVisualstudiomarketplace.js.map +1 -1
- package/servicehookPermissions.d.ts +22 -22
- package/servicehookPermissions.js +1 -1
- package/servicehookStorageQueuePipelines.d.ts +2 -2
- package/servicehookStorageQueuePipelines.js +2 -2
- package/taggingPermissions.d.ts +21 -21
- package/team.d.ts +34 -24
- package/team.js +10 -0
- package/team.js.map +1 -1
- package/teamAdministrators.d.ts +37 -24
- package/teamAdministrators.js +10 -0
- package/teamAdministrators.js.map +1 -1
- package/teamMembers.d.ts +24 -21
- package/teamMembers.js.map +1 -1
- package/types/input.d.ts +40 -39
- package/types/output.d.ts +66 -51
- package/variableGroup.d.ts +2 -1
- package/variableGroup.js +2 -1
- package/variableGroup.js.map +1 -1
- package/variableGroupPermissions.d.ts +33 -33
- package/variableGroupPermissions.js +6 -6
- package/wiki.d.ts +10 -1
- package/wiki.js +1 -1
- package/wiki.js.map +1 -1
- package/wikiPage.d.ts +1 -1
- package/wikiPage.js +1 -1
- package/workItemQueryPermissions.d.ts +3 -3
package/pool.js
CHANGED
|
@@ -25,12 +25,12 @@ const utilities = require("./utilities");
|
|
|
25
25
|
*
|
|
26
26
|
* - [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)
|
|
27
27
|
*
|
|
28
|
-
* ## Import
|
|
28
|
+
* ## Import*
|
|
29
29
|
*
|
|
30
30
|
* Azure DevOps Agent Pools can be imported using the agent pool ID, e.g.
|
|
31
31
|
*
|
|
32
32
|
* ```sh
|
|
33
|
-
*
|
|
33
|
+
* terraform import azuredevops_agent_pool.example 0
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
36
|
class Pool extends pulumi.CustomResource {
|
package/project.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
28
|
* ## PAT Permissions Required
|
|
29
29
|
*
|
|
30
30
|
* - **Project & Team**: Read, Write, & Manage
|
|
31
|
+
* - **Work Items**: Read
|
|
31
32
|
*
|
|
32
33
|
* ## Import
|
|
33
34
|
*
|
|
@@ -61,16 +62,23 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
61
62
|
static isInstance(obj: any): obj is Project;
|
|
62
63
|
/**
|
|
63
64
|
* The Description of the Project.
|
|
65
|
+
* *
|
|
64
66
|
*/
|
|
65
67
|
readonly description: pulumi.Output<string | undefined>;
|
|
66
68
|
/**
|
|
67
|
-
* Defines the status (`enabled`, `disabled`) of the project features.
|
|
68
|
-
* Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
|
69
|
+
* Defines the status (`enabled`, `disabled`) of the project features. Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
|
69
70
|
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
71
|
+
* | Features | Possible Values |
|
|
72
|
+
* |--------------|-------------------|
|
|
73
|
+
* | boards | enabled, disabled |
|
|
74
|
+
* | repositories | enabled, disabled |
|
|
75
|
+
* | pipelines | enabled, disabled |
|
|
76
|
+
* | testplans | enabled, disabled |
|
|
77
|
+
* | artifacts | enabled, disabled |
|
|
78
|
+
*
|
|
79
|
+
* > **NOTE:** It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
|
|
80
|
+
* via the `features` block by using the `azuredevops.Project` resource.
|
|
81
|
+
* However it's not possible to use both methods to manage features, since there'll be conflicts.
|
|
74
82
|
*/
|
|
75
83
|
readonly features: pulumi.Output<{
|
|
76
84
|
[key: string]: string;
|
|
@@ -84,15 +92,15 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
84
92
|
*/
|
|
85
93
|
readonly processTemplateId: pulumi.Output<string>;
|
|
86
94
|
/**
|
|
87
|
-
* Specifies the version control system.
|
|
95
|
+
* Specifies the version control system. Possbile values are: `Git` or `Tfvc`. Defaults to `Git`.
|
|
88
96
|
*/
|
|
89
97
|
readonly versionControl: pulumi.Output<string | undefined>;
|
|
90
98
|
/**
|
|
91
|
-
* Specifies the visibility of the Project.
|
|
99
|
+
* Specifies the visibility of the Project. Possible values are: `private` or `public`. Defaults to `private`.
|
|
92
100
|
*/
|
|
93
101
|
readonly visibility: pulumi.Output<string | undefined>;
|
|
94
102
|
/**
|
|
95
|
-
* Specifies the work item template.
|
|
103
|
+
* Specifies the work item template. Possible values are: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
|
|
96
104
|
*/
|
|
97
105
|
readonly workItemTemplate: pulumi.Output<string | undefined>;
|
|
98
106
|
/**
|
|
@@ -110,16 +118,23 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
110
118
|
export interface ProjectState {
|
|
111
119
|
/**
|
|
112
120
|
* The Description of the Project.
|
|
121
|
+
* *
|
|
113
122
|
*/
|
|
114
123
|
description?: pulumi.Input<string>;
|
|
115
124
|
/**
|
|
116
|
-
* Defines the status (`enabled`, `disabled`) of the project features.
|
|
117
|
-
*
|
|
125
|
+
* Defines the status (`enabled`, `disabled`) of the project features. Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
|
126
|
+
*
|
|
127
|
+
* | Features | Possible Values |
|
|
128
|
+
* |--------------|-------------------|
|
|
129
|
+
* | boards | enabled, disabled |
|
|
130
|
+
* | repositories | enabled, disabled |
|
|
131
|
+
* | pipelines | enabled, disabled |
|
|
132
|
+
* | testplans | enabled, disabled |
|
|
133
|
+
* | artifacts | enabled, disabled |
|
|
118
134
|
*
|
|
119
|
-
* > **NOTE:**
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
* > However it's not possible to use both methods to manage features, since there'll be conflicts.
|
|
135
|
+
* > **NOTE:** It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
|
|
136
|
+
* via the `features` block by using the `azuredevops.Project` resource.
|
|
137
|
+
* However it's not possible to use both methods to manage features, since there'll be conflicts.
|
|
123
138
|
*/
|
|
124
139
|
features?: pulumi.Input<{
|
|
125
140
|
[key: string]: pulumi.Input<string>;
|
|
@@ -133,15 +148,15 @@ export interface ProjectState {
|
|
|
133
148
|
*/
|
|
134
149
|
processTemplateId?: pulumi.Input<string>;
|
|
135
150
|
/**
|
|
136
|
-
* Specifies the version control system.
|
|
151
|
+
* Specifies the version control system. Possbile values are: `Git` or `Tfvc`. Defaults to `Git`.
|
|
137
152
|
*/
|
|
138
153
|
versionControl?: pulumi.Input<string>;
|
|
139
154
|
/**
|
|
140
|
-
* Specifies the visibility of the Project.
|
|
155
|
+
* Specifies the visibility of the Project. Possible values are: `private` or `public`. Defaults to `private`.
|
|
141
156
|
*/
|
|
142
157
|
visibility?: pulumi.Input<string>;
|
|
143
158
|
/**
|
|
144
|
-
* Specifies the work item template.
|
|
159
|
+
* Specifies the work item template. Possible values are: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
|
|
145
160
|
*/
|
|
146
161
|
workItemTemplate?: pulumi.Input<string>;
|
|
147
162
|
}
|
|
@@ -151,16 +166,23 @@ export interface ProjectState {
|
|
|
151
166
|
export interface ProjectArgs {
|
|
152
167
|
/**
|
|
153
168
|
* The Description of the Project.
|
|
169
|
+
* *
|
|
154
170
|
*/
|
|
155
171
|
description?: pulumi.Input<string>;
|
|
156
172
|
/**
|
|
157
|
-
* Defines the status (`enabled`, `disabled`) of the project features.
|
|
158
|
-
*
|
|
173
|
+
* Defines the status (`enabled`, `disabled`) of the project features. Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
|
174
|
+
*
|
|
175
|
+
* | Features | Possible Values |
|
|
176
|
+
* |--------------|-------------------|
|
|
177
|
+
* | boards | enabled, disabled |
|
|
178
|
+
* | repositories | enabled, disabled |
|
|
179
|
+
* | pipelines | enabled, disabled |
|
|
180
|
+
* | testplans | enabled, disabled |
|
|
181
|
+
* | artifacts | enabled, disabled |
|
|
159
182
|
*
|
|
160
|
-
* > **NOTE:**
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
* > However it's not possible to use both methods to manage features, since there'll be conflicts.
|
|
183
|
+
* > **NOTE:** It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
|
|
184
|
+
* via the `features` block by using the `azuredevops.Project` resource.
|
|
185
|
+
* However it's not possible to use both methods to manage features, since there'll be conflicts.
|
|
164
186
|
*/
|
|
165
187
|
features?: pulumi.Input<{
|
|
166
188
|
[key: string]: pulumi.Input<string>;
|
|
@@ -170,15 +192,15 @@ export interface ProjectArgs {
|
|
|
170
192
|
*/
|
|
171
193
|
name?: pulumi.Input<string>;
|
|
172
194
|
/**
|
|
173
|
-
* Specifies the version control system.
|
|
195
|
+
* Specifies the version control system. Possbile values are: `Git` or `Tfvc`. Defaults to `Git`.
|
|
174
196
|
*/
|
|
175
197
|
versionControl?: pulumi.Input<string>;
|
|
176
198
|
/**
|
|
177
|
-
* Specifies the visibility of the Project.
|
|
199
|
+
* Specifies the visibility of the Project. Possible values are: `private` or `public`. Defaults to `private`.
|
|
178
200
|
*/
|
|
179
201
|
visibility?: pulumi.Input<string>;
|
|
180
202
|
/**
|
|
181
|
-
* Specifies the work item template.
|
|
203
|
+
* Specifies the work item template. Possible values are: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
|
|
182
204
|
*/
|
|
183
205
|
workItemTemplate?: pulumi.Input<string>;
|
|
184
206
|
}
|
package/project.js
CHANGED
package/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAoDD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,M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SAAS,CAAC;YAC9E,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAtGL,0BAuGC;AAzFG,gBAAgB;AACO,oBAAY,GAAG,mCAAmC,CAAC"}
|
package/projectFeatures.d.ts
CHANGED
|
@@ -57,13 +57,19 @@ export declare class ProjectFeatures extends pulumi.CustomResource {
|
|
|
57
57
|
*/
|
|
58
58
|
static isInstance(obj: any): obj is ProjectFeatures;
|
|
59
59
|
/**
|
|
60
|
-
* Defines the status (`enabled`, `disabled`) of the project features.
|
|
61
|
-
* Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
|
60
|
+
* Defines the status (`enabled`, `disabled`) of the project features. Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
|
62
61
|
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
62
|
+
* | Features | Possible Values |
|
|
63
|
+
* |--------------|-------------------|
|
|
64
|
+
* | boards | enabled, disabled |
|
|
65
|
+
* | repositories | enabled, disabled |
|
|
66
|
+
* | pipelines | enabled, disabled |
|
|
67
|
+
* | testplans | enabled, disabled |
|
|
68
|
+
* | artifacts | enabled, disabled |
|
|
69
|
+
*
|
|
70
|
+
* > **NOTE:** It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
|
|
71
|
+
* via the `features` block by using the `azuredevops.Project` resource.
|
|
72
|
+
* However it's not possible to use both methods to manage features, since there'll be conflicts.
|
|
67
73
|
*/
|
|
68
74
|
readonly features: pulumi.Output<{
|
|
69
75
|
[key: string]: string;
|
|
@@ -83,13 +89,19 @@ export declare class ProjectFeatures extends pulumi.CustomResource {
|
|
|
83
89
|
*/
|
|
84
90
|
export interface ProjectFeaturesState {
|
|
85
91
|
/**
|
|
86
|
-
* Defines the status (`enabled`, `disabled`) of the project features.
|
|
87
|
-
*
|
|
92
|
+
* Defines the status (`enabled`, `disabled`) of the project features. Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
|
93
|
+
*
|
|
94
|
+
* | Features | Possible Values |
|
|
95
|
+
* |--------------|-------------------|
|
|
96
|
+
* | boards | enabled, disabled |
|
|
97
|
+
* | repositories | enabled, disabled |
|
|
98
|
+
* | pipelines | enabled, disabled |
|
|
99
|
+
* | testplans | enabled, disabled |
|
|
100
|
+
* | artifacts | enabled, disabled |
|
|
88
101
|
*
|
|
89
|
-
* > **NOTE:**
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* > However it's not possible to use both methods to manage features, since there'll be conflicts.
|
|
102
|
+
* > **NOTE:** It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
|
|
103
|
+
* via the `features` block by using the `azuredevops.Project` resource.
|
|
104
|
+
* However it's not possible to use both methods to manage features, since there'll be conflicts.
|
|
93
105
|
*/
|
|
94
106
|
features?: pulumi.Input<{
|
|
95
107
|
[key: string]: pulumi.Input<string>;
|
|
@@ -101,13 +113,19 @@ export interface ProjectFeaturesState {
|
|
|
101
113
|
*/
|
|
102
114
|
export interface ProjectFeaturesArgs {
|
|
103
115
|
/**
|
|
104
|
-
* Defines the status (`enabled`, `disabled`) of the project features.
|
|
105
|
-
*
|
|
116
|
+
* Defines the status (`enabled`, `disabled`) of the project features. Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
|
117
|
+
*
|
|
118
|
+
* | Features | Possible Values |
|
|
119
|
+
* |--------------|-------------------|
|
|
120
|
+
* | boards | enabled, disabled |
|
|
121
|
+
* | repositories | enabled, disabled |
|
|
122
|
+
* | pipelines | enabled, disabled |
|
|
123
|
+
* | testplans | enabled, disabled |
|
|
124
|
+
* | artifacts | enabled, disabled |
|
|
106
125
|
*
|
|
107
|
-
* > **NOTE:**
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
* > However it's not possible to use both methods to manage features, since there'll be conflicts.
|
|
126
|
+
* > **NOTE:** It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
|
|
127
|
+
* via the `features` block by using the `azuredevops.Project` resource.
|
|
128
|
+
* However it's not possible to use both methods to manage features, since there'll be conflicts.
|
|
111
129
|
*/
|
|
112
130
|
features: pulumi.Input<{
|
|
113
131
|
[key: string]: pulumi.Input<string>;
|
package/projectFeatures.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectFeatures.js","sourceRoot":"","sources":["../projectFeatures.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;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,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;
|
|
1
|
+
{"version":3,"file":"projectFeatures.js","sourceRoot":"","sources":["../projectFeatures.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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tD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,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,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA1EL,0CA2EC;AA7DG,gBAAgB;AACO,4BAAY,GAAG,mDAAmD,CAAC"}
|
package/projectPermissions.d.ts
CHANGED
|
@@ -96,7 +96,7 @@ export declare class ProjectPermissions extends pulumi.CustomResource {
|
|
|
96
96
|
[key: string]: string;
|
|
97
97
|
}>;
|
|
98
98
|
/**
|
|
99
|
-
* The
|
|
99
|
+
* The `group` principal to assign the permissions.
|
|
100
100
|
*/
|
|
101
101
|
readonly principal: pulumi.Output<string>;
|
|
102
102
|
/**
|
|
@@ -155,7 +155,7 @@ export interface ProjectPermissionsState {
|
|
|
155
155
|
[key: string]: pulumi.Input<string>;
|
|
156
156
|
}>;
|
|
157
157
|
/**
|
|
158
|
-
* The
|
|
158
|
+
* The `group` principal to assign the permissions.
|
|
159
159
|
*/
|
|
160
160
|
principal?: pulumi.Input<string>;
|
|
161
161
|
/**
|
|
@@ -206,7 +206,7 @@ export interface ProjectPermissionsArgs {
|
|
|
206
206
|
[key: string]: pulumi.Input<string>;
|
|
207
207
|
}>;
|
|
208
208
|
/**
|
|
209
|
-
* The
|
|
209
|
+
* The `group` principal to assign the permissions.
|
|
210
210
|
*/
|
|
211
211
|
principal: pulumi.Input<string>;
|
|
212
212
|
/**
|
|
@@ -64,10 +64,9 @@ export declare class ProjectPipelineSettings extends pulumi.CustomResource {
|
|
|
64
64
|
/**
|
|
65
65
|
* Limit job authorization scope to current project for release pipelines.
|
|
66
66
|
*
|
|
67
|
-
* > **NOTE:**
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
* > In this scenario, the plan will always show that the resource is trying to change `enforceJobScope` from `true` to `false`.
|
|
67
|
+
* > **NOTE:** The settings at the organization will override settings specified on the project.
|
|
68
|
+
* For example, if `enforceJobScope` is true at the organization, the `azuredevops.ProjectPipelineSettings` resource cannot set it to false.
|
|
69
|
+
* In this scenario, the plan will always show that the resource is trying to change `enforceJobScope` from `true` to `false`.
|
|
71
70
|
*/
|
|
72
71
|
readonly enforceJobScopeForRelease: pulumi.Output<boolean>;
|
|
73
72
|
/**
|
|
@@ -79,7 +78,7 @@ export declare class ProjectPipelineSettings extends pulumi.CustomResource {
|
|
|
79
78
|
*/
|
|
80
79
|
readonly enforceSettableVar: pulumi.Output<boolean>;
|
|
81
80
|
/**
|
|
82
|
-
* The
|
|
81
|
+
* The ID of the project for which the project pipeline settings will be managed.
|
|
83
82
|
*/
|
|
84
83
|
readonly projectId: pulumi.Output<string>;
|
|
85
84
|
/**
|
|
@@ -110,10 +109,9 @@ export interface ProjectPipelineSettingsState {
|
|
|
110
109
|
/**
|
|
111
110
|
* Limit job authorization scope to current project for release pipelines.
|
|
112
111
|
*
|
|
113
|
-
* > **NOTE:**
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
* > In this scenario, the plan will always show that the resource is trying to change `enforceJobScope` from `true` to `false`.
|
|
112
|
+
* > **NOTE:** The settings at the organization will override settings specified on the project.
|
|
113
|
+
* For example, if `enforceJobScope` is true at the organization, the `azuredevops.ProjectPipelineSettings` resource cannot set it to false.
|
|
114
|
+
* In this scenario, the plan will always show that the resource is trying to change `enforceJobScope` from `true` to `false`.
|
|
117
115
|
*/
|
|
118
116
|
enforceJobScopeForRelease?: pulumi.Input<boolean>;
|
|
119
117
|
/**
|
|
@@ -125,7 +123,7 @@ export interface ProjectPipelineSettingsState {
|
|
|
125
123
|
*/
|
|
126
124
|
enforceSettableVar?: pulumi.Input<boolean>;
|
|
127
125
|
/**
|
|
128
|
-
* The
|
|
126
|
+
* The ID of the project for which the project pipeline settings will be managed.
|
|
129
127
|
*/
|
|
130
128
|
projectId?: pulumi.Input<string>;
|
|
131
129
|
/**
|
|
@@ -148,10 +146,9 @@ export interface ProjectPipelineSettingsArgs {
|
|
|
148
146
|
/**
|
|
149
147
|
* Limit job authorization scope to current project for release pipelines.
|
|
150
148
|
*
|
|
151
|
-
* > **NOTE:**
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
* > In this scenario, the plan will always show that the resource is trying to change `enforceJobScope` from `true` to `false`.
|
|
149
|
+
* > **NOTE:** The settings at the organization will override settings specified on the project.
|
|
150
|
+
* For example, if `enforceJobScope` is true at the organization, the `azuredevops.ProjectPipelineSettings` resource cannot set it to false.
|
|
151
|
+
* In this scenario, the plan will always show that the resource is trying to change `enforceJobScope` from `true` to `false`.
|
|
155
152
|
*/
|
|
156
153
|
enforceJobScopeForRelease?: pulumi.Input<boolean>;
|
|
157
154
|
/**
|
|
@@ -163,7 +160,7 @@ export interface ProjectPipelineSettingsArgs {
|
|
|
163
160
|
*/
|
|
164
161
|
enforceSettableVar?: pulumi.Input<boolean>;
|
|
165
162
|
/**
|
|
166
|
-
* The
|
|
163
|
+
* The ID of the project for which the project pipeline settings will be managed.
|
|
167
164
|
*/
|
|
168
165
|
projectId: pulumi.Input<string>;
|
|
169
166
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectPipelineSettings.js","sourceRoot":"","sources":["../projectPipelineSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,uBAAwB,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,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,kCAAkC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9G,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAhGL,0DAiGC;AAnFG,gBAAgB;AACO,oCAAY,GAAG,mEAAmE,CAAC"}
|
package/projectTags.d.ts
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages Project Tags within Azure DevOps organization.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
10
|
+
*
|
|
11
|
+
* const example = new azuredevops.Project("example", {
|
|
12
|
+
* name: "Example Project",
|
|
13
|
+
* visibility: "private",
|
|
14
|
+
* versionControl: "Git",
|
|
15
|
+
* workItemTemplate: "Agile",
|
|
16
|
+
* description: "Managed by Pulumi",
|
|
17
|
+
* });
|
|
18
|
+
* const exampleProjectTags = new azuredevops.ProjectTags("example", {
|
|
19
|
+
* projectId: example.id,
|
|
20
|
+
* tags: [
|
|
21
|
+
* "tag1",
|
|
22
|
+
* "tag2",
|
|
23
|
+
* ],
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Relevant Links
|
|
28
|
+
*
|
|
29
|
+
* - [Azure DevOps Service REST API 7.0 - Project Properties](https://learn.microsoft.com/en-us/rest/api/azure/devops/core/projects/get-project-properties?view=azure-devops-rest-7.1&tabs=HTTP)
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* Azure DevOps Project Tags can be imported using the Project ID e.g.:
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import azuredevops:index/projectTags:ProjectTags example 00000000-0000-0000-0000-000000000000
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare class ProjectTags extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing ProjectTags 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: string, id: pulumi.Input<pulumi.ID>, state?: ProjectTagsState, opts?: pulumi.CustomResourceOptions): ProjectTags;
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of ProjectTags. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj: any): obj is ProjectTags;
|
|
55
|
+
/**
|
|
56
|
+
* The ID of the Project. Changing this forces a new resource to be created.
|
|
57
|
+
*/
|
|
58
|
+
readonly projectId: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* A mapping of tags assigned to the Project.
|
|
61
|
+
*/
|
|
62
|
+
readonly tags: pulumi.Output<string[]>;
|
|
63
|
+
/**
|
|
64
|
+
* Create a ProjectTags resource with the given unique name, arguments, and options.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resource.
|
|
67
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
68
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
69
|
+
*/
|
|
70
|
+
constructor(name: string, args: ProjectTagsArgs, opts?: pulumi.CustomResourceOptions);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Input properties used for looking up and filtering ProjectTags resources.
|
|
74
|
+
*/
|
|
75
|
+
export interface ProjectTagsState {
|
|
76
|
+
/**
|
|
77
|
+
* The ID of the Project. Changing this forces a new resource to be created.
|
|
78
|
+
*/
|
|
79
|
+
projectId?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* A mapping of tags assigned to the Project.
|
|
82
|
+
*/
|
|
83
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* The set of arguments for constructing a ProjectTags resource.
|
|
87
|
+
*/
|
|
88
|
+
export interface ProjectTagsArgs {
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the Project. Changing this forces a new resource to be created.
|
|
91
|
+
*/
|
|
92
|
+
projectId: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* A mapping of tags assigned to the Project.
|
|
95
|
+
*/
|
|
96
|
+
tags: pulumi.Input<pulumi.Input<string>[]>;
|
|
97
|
+
}
|
package/projectTags.js
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
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.ProjectTags = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages Project Tags within Azure DevOps organization.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
16
|
+
*
|
|
17
|
+
* const example = new azuredevops.Project("example", {
|
|
18
|
+
* name: "Example Project",
|
|
19
|
+
* visibility: "private",
|
|
20
|
+
* versionControl: "Git",
|
|
21
|
+
* workItemTemplate: "Agile",
|
|
22
|
+
* description: "Managed by Pulumi",
|
|
23
|
+
* });
|
|
24
|
+
* const exampleProjectTags = new azuredevops.ProjectTags("example", {
|
|
25
|
+
* projectId: example.id,
|
|
26
|
+
* tags: [
|
|
27
|
+
* "tag1",
|
|
28
|
+
* "tag2",
|
|
29
|
+
* ],
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Relevant Links
|
|
34
|
+
*
|
|
35
|
+
* - [Azure DevOps Service REST API 7.0 - Project Properties](https://learn.microsoft.com/en-us/rest/api/azure/devops/core/projects/get-project-properties?view=azure-devops-rest-7.1&tabs=HTTP)
|
|
36
|
+
*
|
|
37
|
+
* ## Import
|
|
38
|
+
*
|
|
39
|
+
* Azure DevOps Project Tags can be imported using the Project ID e.g.:
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import azuredevops:index/projectTags:ProjectTags example 00000000-0000-0000-0000-000000000000
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
class ProjectTags extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing ProjectTags resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, state, opts) {
|
|
56
|
+
return new ProjectTags(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of ProjectTags. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === ProjectTags.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
constructor(name, argsOrState, opts) {
|
|
69
|
+
let resourceInputs = {};
|
|
70
|
+
opts = opts || {};
|
|
71
|
+
if (opts.id) {
|
|
72
|
+
const state = argsOrState;
|
|
73
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
74
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
const args = argsOrState;
|
|
78
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'projectId'");
|
|
80
|
+
}
|
|
81
|
+
if ((!args || args.tags === undefined) && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'tags'");
|
|
83
|
+
}
|
|
84
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
85
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
86
|
+
}
|
|
87
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
|
+
super(ProjectTags.__pulumiType, name, resourceInputs, opts);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.ProjectTags = ProjectTags;
|
|
92
|
+
/** @internal */
|
|
93
|
+
ProjectTags.__pulumiType = 'azuredevops:index/projectTags:ProjectTags';
|
|
94
|
+
//# sourceMappingURL=projectTags.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectTags.js","sourceRoot":"","sources":["../projectTags.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAA0C,CAAC;YACxD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAjEL,kCAkEC;AApDG,gBAAgB;AACO,wBAAY,GAAG,2CAA2C,CAAC"}
|
package/queue.d.ts
CHANGED
|
@@ -77,8 +77,7 @@ export declare class Queue extends pulumi.CustomResource {
|
|
|
77
77
|
/**
|
|
78
78
|
* The ID of the organization agent pool. Conflicts with `name`.
|
|
79
79
|
*
|
|
80
|
-
* > **NOTE:**
|
|
81
|
-
* One of `name` or `agentPoolId` must be specified, but not both.
|
|
80
|
+
* > **NOTE:** One of `name` or `agentPoolId` must be specified, but not both.
|
|
82
81
|
* When `agentPoolId` is specified, the agent queue name will be derived from the agent pool name.
|
|
83
82
|
*/
|
|
84
83
|
readonly agentPoolId: pulumi.Output<number>;
|
|
@@ -106,8 +105,7 @@ export interface QueueState {
|
|
|
106
105
|
/**
|
|
107
106
|
* The ID of the organization agent pool. Conflicts with `name`.
|
|
108
107
|
*
|
|
109
|
-
* > **NOTE:**
|
|
110
|
-
* One of `name` or `agentPoolId` must be specified, but not both.
|
|
108
|
+
* > **NOTE:** One of `name` or `agentPoolId` must be specified, but not both.
|
|
111
109
|
* When `agentPoolId` is specified, the agent queue name will be derived from the agent pool name.
|
|
112
110
|
*/
|
|
113
111
|
agentPoolId?: pulumi.Input<number>;
|
|
@@ -127,8 +125,7 @@ export interface QueueArgs {
|
|
|
127
125
|
/**
|
|
128
126
|
* The ID of the organization agent pool. Conflicts with `name`.
|
|
129
127
|
*
|
|
130
|
-
* > **NOTE:**
|
|
131
|
-
* One of `name` or `agentPoolId` must be specified, but not both.
|
|
128
|
+
* > **NOTE:** One of `name` or `agentPoolId` must be specified, but not both.
|
|
132
129
|
* When `agentPoolId` is specified, the agent queue name will be derived from the agent pool name.
|
|
133
130
|
*/
|
|
134
131
|
agentPoolId?: pulumi.Input<number>;
|
package/queue.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../queue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,E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