@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/core/getClientConfig.js
DELETED
|
@@ -1,50 +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.getClientConfigOutput = exports.getClientConfig = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to access information about the Azure DevOps organization configured for the provider.
|
|
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.getClientConfig({});
|
|
19
|
-
* export const orgUrl = example.then(example => example.organizationUrl);
|
|
20
|
-
* ```
|
|
21
|
-
* <!--End PulumiCodeChooser -->
|
|
22
|
-
*/
|
|
23
|
-
/** @deprecated azuredevops.core.getClientConfig has been deprecated in favor of azuredevops.getClientConfig */
|
|
24
|
-
function getClientConfig(opts) {
|
|
25
|
-
pulumi.log.warn("getClientConfig is deprecated: azuredevops.core.getClientConfig has been deprecated in favor of azuredevops.getClientConfig");
|
|
26
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
27
|
-
return pulumi.runtime.invoke("azuredevops:Core/getClientConfig:getClientConfig", {}, opts);
|
|
28
|
-
}
|
|
29
|
-
exports.getClientConfig = getClientConfig;
|
|
30
|
-
/**
|
|
31
|
-
* Use this data source to access information about the Azure DevOps organization configured for the provider.
|
|
32
|
-
*
|
|
33
|
-
* ## Example Usage
|
|
34
|
-
*
|
|
35
|
-
* <!--Start PulumiCodeChooser -->
|
|
36
|
-
* ```typescript
|
|
37
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
39
|
-
*
|
|
40
|
-
* const example = azuredevops.getClientConfig({});
|
|
41
|
-
* export const orgUrl = example.then(example => example.organizationUrl);
|
|
42
|
-
* ```
|
|
43
|
-
* <!--End PulumiCodeChooser -->
|
|
44
|
-
*/
|
|
45
|
-
/** @deprecated azuredevops.core.getClientConfig has been deprecated in favor of azuredevops.getClientConfig */
|
|
46
|
-
function getClientConfigOutput(opts) {
|
|
47
|
-
return pulumi.output(getClientConfig(opts));
|
|
48
|
-
}
|
|
49
|
-
exports.getClientConfigOutput = getClientConfigOutput;
|
|
50
|
-
//# sourceMappingURL=getClientConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getClientConfig.js","sourceRoot":"","sources":["../../core/getClientConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,+GAA+G;AAC/G,SAAgB,eAAe,CAAC,IAA2B;IACvD,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6HAA6H,CAAC,CAAA;IAE9I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAYD;;;;;;;;;;;;;;GAcG;AACH,+GAA+G;AAC/G,SAAgB,qBAAqB,CAAC,IAA2B;IAC7D,OAAO,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAA;AAC/C,CAAC;AAFD,sDAEC"}
|
package/core/getProject.d.ts
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Use this data source to access information about an existing Project 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.getProject({
|
|
13
|
-
* name: "Example Project",
|
|
14
|
-
* });
|
|
15
|
-
* export const project = example;
|
|
16
|
-
* ```
|
|
17
|
-
* <!--End PulumiCodeChooser -->
|
|
18
|
-
*
|
|
19
|
-
* ## Relevant Links
|
|
20
|
-
*
|
|
21
|
-
* - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
|
|
22
|
-
*/
|
|
23
|
-
/** @deprecated azuredevops.core.getProject has been deprecated in favor of azuredevops.getProject */
|
|
24
|
-
export declare function getProject(args?: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult>;
|
|
25
|
-
/**
|
|
26
|
-
* A collection of arguments for invoking getProject.
|
|
27
|
-
*/
|
|
28
|
-
export interface GetProjectArgs {
|
|
29
|
-
/**
|
|
30
|
-
* Name of the Project.
|
|
31
|
-
*/
|
|
32
|
-
name?: string;
|
|
33
|
-
/**
|
|
34
|
-
* ID of the Project.
|
|
35
|
-
*/
|
|
36
|
-
projectId?: string;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* A collection of values returned by getProject.
|
|
40
|
-
*/
|
|
41
|
-
export interface GetProjectResult {
|
|
42
|
-
readonly description: string;
|
|
43
|
-
readonly features: {
|
|
44
|
-
[key: string]: any;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* The provider-assigned unique ID for this managed resource.
|
|
48
|
-
*/
|
|
49
|
-
readonly id: string;
|
|
50
|
-
readonly name?: string;
|
|
51
|
-
readonly processTemplateId: string;
|
|
52
|
-
readonly projectId?: string;
|
|
53
|
-
readonly versionControl: string;
|
|
54
|
-
readonly visibility: string;
|
|
55
|
-
readonly workItemTemplate: string;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Use this data source to access information about an existing Project within Azure DevOps.
|
|
59
|
-
*
|
|
60
|
-
* ## Example Usage
|
|
61
|
-
*
|
|
62
|
-
* <!--Start PulumiCodeChooser -->
|
|
63
|
-
* ```typescript
|
|
64
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
65
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
66
|
-
*
|
|
67
|
-
* const example = azuredevops.getProject({
|
|
68
|
-
* name: "Example Project",
|
|
69
|
-
* });
|
|
70
|
-
* export const project = example;
|
|
71
|
-
* ```
|
|
72
|
-
* <!--End PulumiCodeChooser -->
|
|
73
|
-
*
|
|
74
|
-
* ## Relevant Links
|
|
75
|
-
*
|
|
76
|
-
* - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
|
|
77
|
-
*/
|
|
78
|
-
/** @deprecated azuredevops.core.getProject has been deprecated in favor of azuredevops.getProject */
|
|
79
|
-
export declare function getProjectOutput(args?: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectResult>;
|
|
80
|
-
/**
|
|
81
|
-
* A collection of arguments for invoking getProject.
|
|
82
|
-
*/
|
|
83
|
-
export interface GetProjectOutputArgs {
|
|
84
|
-
/**
|
|
85
|
-
* Name of the Project.
|
|
86
|
-
*/
|
|
87
|
-
name?: pulumi.Input<string>;
|
|
88
|
-
/**
|
|
89
|
-
* ID of the Project.
|
|
90
|
-
*/
|
|
91
|
-
projectId?: pulumi.Input<string>;
|
|
92
|
-
}
|
package/core/getProject.js
DELETED
|
@@ -1,66 +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.getProjectOutput = exports.getProject = 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 Project 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.getProject({
|
|
19
|
-
* name: "Example Project",
|
|
20
|
-
* });
|
|
21
|
-
* export const project = example;
|
|
22
|
-
* ```
|
|
23
|
-
* <!--End PulumiCodeChooser -->
|
|
24
|
-
*
|
|
25
|
-
* ## Relevant Links
|
|
26
|
-
*
|
|
27
|
-
* - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
|
|
28
|
-
*/
|
|
29
|
-
/** @deprecated azuredevops.core.getProject has been deprecated in favor of azuredevops.getProject */
|
|
30
|
-
function getProject(args, opts) {
|
|
31
|
-
pulumi.log.warn("getProject is deprecated: azuredevops.core.getProject has been deprecated in favor of azuredevops.getProject");
|
|
32
|
-
args = args || {};
|
|
33
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
34
|
-
return pulumi.runtime.invoke("azuredevops:Core/getProject:getProject", {
|
|
35
|
-
"name": args.name,
|
|
36
|
-
"projectId": args.projectId,
|
|
37
|
-
}, opts);
|
|
38
|
-
}
|
|
39
|
-
exports.getProject = getProject;
|
|
40
|
-
/**
|
|
41
|
-
* Use this data source to access information about an existing Project 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.getProject({
|
|
51
|
-
* name: "Example Project",
|
|
52
|
-
* });
|
|
53
|
-
* export const project = example;
|
|
54
|
-
* ```
|
|
55
|
-
* <!--End PulumiCodeChooser -->
|
|
56
|
-
*
|
|
57
|
-
* ## Relevant Links
|
|
58
|
-
*
|
|
59
|
-
* - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
|
|
60
|
-
*/
|
|
61
|
-
/** @deprecated azuredevops.core.getProject has been deprecated in favor of azuredevops.getProject */
|
|
62
|
-
function getProjectOutput(args, opts) {
|
|
63
|
-
return pulumi.output(args).apply((a) => getProject(a, opts));
|
|
64
|
-
}
|
|
65
|
-
exports.getProjectOutput = getProjectOutput;
|
|
66
|
-
//# sourceMappingURL=getProject.js.map
|
package/core/getProject.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../../core/getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qGAAqG;AACrG,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,8GAA8G,CAAC,CAAA;IAC/H,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gCASC;AAiCD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qGAAqG;AACrG,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
package/core/getProjects.d.ts
DELETED
|
@@ -1,107 +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 Projects 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.getProjects({
|
|
14
|
-
* name: "Example Project",
|
|
15
|
-
* state: "wellFormed",
|
|
16
|
-
* });
|
|
17
|
-
* export const projectId = example.then(example => example.projects.map(__item => __item.projectId));
|
|
18
|
-
* export const name = example.then(example => example.projects.map(__item => __item.name));
|
|
19
|
-
* export const projectUrl = example.then(example => example.projects.map(__item => __item.projectUrl));
|
|
20
|
-
* export const state = example.then(example => example.projects.map(__item => __item.state));
|
|
21
|
-
* ```
|
|
22
|
-
* <!--End PulumiCodeChooser -->
|
|
23
|
-
*
|
|
24
|
-
* ## Relevant Links
|
|
25
|
-
*
|
|
26
|
-
* - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
|
|
27
|
-
*/
|
|
28
|
-
/** @deprecated azuredevops.core.getProjects has been deprecated in favor of azuredevops.getProjects */
|
|
29
|
-
export declare function getProjects(args?: GetProjectsArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectsResult>;
|
|
30
|
-
/**
|
|
31
|
-
* A collection of arguments for invoking getProjects.
|
|
32
|
-
*/
|
|
33
|
-
export interface GetProjectsArgs {
|
|
34
|
-
/**
|
|
35
|
-
* Name of the Project, if not specified all projects will be returned.
|
|
36
|
-
*/
|
|
37
|
-
name?: string;
|
|
38
|
-
/**
|
|
39
|
-
* State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`.
|
|
40
|
-
*
|
|
41
|
-
* DataSource without specifying any arguments will return all projects.
|
|
42
|
-
*/
|
|
43
|
-
state?: string;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* A collection of values returned by getProjects.
|
|
47
|
-
*/
|
|
48
|
-
export interface GetProjectsResult {
|
|
49
|
-
/**
|
|
50
|
-
* The provider-assigned unique ID for this managed resource.
|
|
51
|
-
*/
|
|
52
|
-
readonly id: string;
|
|
53
|
-
/**
|
|
54
|
-
* The name of the Project.
|
|
55
|
-
*/
|
|
56
|
-
readonly name?: string;
|
|
57
|
-
/**
|
|
58
|
-
* A list of existing projects in your Azure DevOps Organization with details about every project which includes:
|
|
59
|
-
*/
|
|
60
|
-
readonly projects: outputs.Core.GetProjectsProject[];
|
|
61
|
-
/**
|
|
62
|
-
* Project state.
|
|
63
|
-
*/
|
|
64
|
-
readonly state?: string;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Use this data source to access information about existing Projects within Azure DevOps.
|
|
68
|
-
*
|
|
69
|
-
* ## Example Usage
|
|
70
|
-
*
|
|
71
|
-
* <!--Start PulumiCodeChooser -->
|
|
72
|
-
* ```typescript
|
|
73
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
75
|
-
*
|
|
76
|
-
* const example = azuredevops.getProjects({
|
|
77
|
-
* name: "Example Project",
|
|
78
|
-
* state: "wellFormed",
|
|
79
|
-
* });
|
|
80
|
-
* export const projectId = example.then(example => example.projects.map(__item => __item.projectId));
|
|
81
|
-
* export const name = example.then(example => example.projects.map(__item => __item.name));
|
|
82
|
-
* export const projectUrl = example.then(example => example.projects.map(__item => __item.projectUrl));
|
|
83
|
-
* export const state = example.then(example => example.projects.map(__item => __item.state));
|
|
84
|
-
* ```
|
|
85
|
-
* <!--End PulumiCodeChooser -->
|
|
86
|
-
*
|
|
87
|
-
* ## Relevant Links
|
|
88
|
-
*
|
|
89
|
-
* - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
|
|
90
|
-
*/
|
|
91
|
-
/** @deprecated azuredevops.core.getProjects has been deprecated in favor of azuredevops.getProjects */
|
|
92
|
-
export declare function getProjectsOutput(args?: GetProjectsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectsResult>;
|
|
93
|
-
/**
|
|
94
|
-
* A collection of arguments for invoking getProjects.
|
|
95
|
-
*/
|
|
96
|
-
export interface GetProjectsOutputArgs {
|
|
97
|
-
/**
|
|
98
|
-
* Name of the Project, if not specified all projects will be returned.
|
|
99
|
-
*/
|
|
100
|
-
name?: pulumi.Input<string>;
|
|
101
|
-
/**
|
|
102
|
-
* State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`.
|
|
103
|
-
*
|
|
104
|
-
* DataSource without specifying any arguments will return all projects.
|
|
105
|
-
*/
|
|
106
|
-
state?: pulumi.Input<string>;
|
|
107
|
-
}
|
package/core/getProjects.js
DELETED
|
@@ -1,74 +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.getProjectsOutput = exports.getProjects = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to access information about existing Projects 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.getProjects({
|
|
19
|
-
* name: "Example Project",
|
|
20
|
-
* state: "wellFormed",
|
|
21
|
-
* });
|
|
22
|
-
* export const projectId = example.then(example => example.projects.map(__item => __item.projectId));
|
|
23
|
-
* export const name = example.then(example => example.projects.map(__item => __item.name));
|
|
24
|
-
* export const projectUrl = example.then(example => example.projects.map(__item => __item.projectUrl));
|
|
25
|
-
* export const state = example.then(example => example.projects.map(__item => __item.state));
|
|
26
|
-
* ```
|
|
27
|
-
* <!--End PulumiCodeChooser -->
|
|
28
|
-
*
|
|
29
|
-
* ## Relevant Links
|
|
30
|
-
*
|
|
31
|
-
* - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
|
|
32
|
-
*/
|
|
33
|
-
/** @deprecated azuredevops.core.getProjects has been deprecated in favor of azuredevops.getProjects */
|
|
34
|
-
function getProjects(args, opts) {
|
|
35
|
-
pulumi.log.warn("getProjects is deprecated: azuredevops.core.getProjects has been deprecated in favor of azuredevops.getProjects");
|
|
36
|
-
args = args || {};
|
|
37
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
38
|
-
return pulumi.runtime.invoke("azuredevops:Core/getProjects:getProjects", {
|
|
39
|
-
"name": args.name,
|
|
40
|
-
"state": args.state,
|
|
41
|
-
}, opts);
|
|
42
|
-
}
|
|
43
|
-
exports.getProjects = getProjects;
|
|
44
|
-
/**
|
|
45
|
-
* Use this data source to access information about existing Projects within Azure DevOps.
|
|
46
|
-
*
|
|
47
|
-
* ## Example Usage
|
|
48
|
-
*
|
|
49
|
-
* <!--Start PulumiCodeChooser -->
|
|
50
|
-
* ```typescript
|
|
51
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
53
|
-
*
|
|
54
|
-
* const example = azuredevops.getProjects({
|
|
55
|
-
* name: "Example Project",
|
|
56
|
-
* state: "wellFormed",
|
|
57
|
-
* });
|
|
58
|
-
* export const projectId = example.then(example => example.projects.map(__item => __item.projectId));
|
|
59
|
-
* export const name = example.then(example => example.projects.map(__item => __item.name));
|
|
60
|
-
* export const projectUrl = example.then(example => example.projects.map(__item => __item.projectUrl));
|
|
61
|
-
* export const state = example.then(example => example.projects.map(__item => __item.state));
|
|
62
|
-
* ```
|
|
63
|
-
* <!--End PulumiCodeChooser -->
|
|
64
|
-
*
|
|
65
|
-
* ## Relevant Links
|
|
66
|
-
*
|
|
67
|
-
* - [Azure DevOps Service REST API 7.0 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.0)
|
|
68
|
-
*/
|
|
69
|
-
/** @deprecated azuredevops.core.getProjects has been deprecated in favor of azuredevops.getProjects */
|
|
70
|
-
function getProjectsOutput(args, opts) {
|
|
71
|
-
return pulumi.output(args).apply((a) => getProjects(a, opts));
|
|
72
|
-
}
|
|
73
|
-
exports.getProjectsOutput = getProjectsOutput;
|
|
74
|
-
//# sourceMappingURL=getProjects.js.map
|
package/core/getProjects.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../../core/getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,uGAAuG;AACvG,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,iHAAiH,CAAC,CAAA;IAClI,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kCASC;AAuCD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,uGAAuG;AACvG,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/core/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export { GetClientConfigResult } from "./getClientConfig";
|
|
2
|
-
export declare const getClientConfig: typeof import("./getClientConfig").getClientConfig;
|
|
3
|
-
export declare const getClientConfigOutput: typeof import("./getClientConfig").getClientConfigOutput;
|
|
4
|
-
export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject";
|
|
5
|
-
export declare const getProject: typeof import("./getProject").getProject;
|
|
6
|
-
export declare const getProjectOutput: typeof import("./getProject").getProjectOutput;
|
|
7
|
-
export { GetProjectsArgs, GetProjectsResult, GetProjectsOutputArgs } from "./getProjects";
|
|
8
|
-
export declare const getProjects: typeof import("./getProjects").getProjects;
|
|
9
|
-
export declare const getProjectsOutput: typeof import("./getProjects").getProjectsOutput;
|
|
10
|
-
export { ProjectArgs, ProjectState } from "./project";
|
|
11
|
-
export type Project = import("./project").Project;
|
|
12
|
-
export declare const Project: typeof import("./project").Project;
|
|
13
|
-
export { ProjectFeaturesArgs, ProjectFeaturesState } from "./projectFeatures";
|
|
14
|
-
export type ProjectFeatures = import("./projectFeatures").ProjectFeatures;
|
|
15
|
-
export declare const ProjectFeatures: typeof import("./projectFeatures").ProjectFeatures;
|
package/core/index.js
DELETED
|
@@ -1,36 +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.ProjectFeatures = exports.Project = exports.getProjectsOutput = exports.getProjects = exports.getProjectOutput = exports.getProject = exports.getClientConfigOutput = exports.getClientConfig = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
exports.getClientConfig = null;
|
|
9
|
-
exports.getClientConfigOutput = null;
|
|
10
|
-
utilities.lazyLoad(exports, ["getClientConfig", "getClientConfigOutput"], () => require("./getClientConfig"));
|
|
11
|
-
exports.getProject = null;
|
|
12
|
-
exports.getProjectOutput = null;
|
|
13
|
-
utilities.lazyLoad(exports, ["getProject", "getProjectOutput"], () => require("./getProject"));
|
|
14
|
-
exports.getProjects = null;
|
|
15
|
-
exports.getProjectsOutput = null;
|
|
16
|
-
utilities.lazyLoad(exports, ["getProjects", "getProjectsOutput"], () => require("./getProjects"));
|
|
17
|
-
exports.Project = null;
|
|
18
|
-
utilities.lazyLoad(exports, ["Project"], () => require("./project"));
|
|
19
|
-
exports.ProjectFeatures = null;
|
|
20
|
-
utilities.lazyLoad(exports, ["ProjectFeatures"], () => require("./projectFeatures"));
|
|
21
|
-
const _module = {
|
|
22
|
-
version: utilities.getVersion(),
|
|
23
|
-
construct: (name, type, urn) => {
|
|
24
|
-
switch (type) {
|
|
25
|
-
case "azuredevops:Core/project:Project":
|
|
26
|
-
return new exports.Project(name, undefined, { urn });
|
|
27
|
-
case "azuredevops:Core/projectFeatures:ProjectFeatures":
|
|
28
|
-
return new exports.ProjectFeatures(name, undefined, { urn });
|
|
29
|
-
default:
|
|
30
|
-
throw new Error(`unknown resource type ${type}`);
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
pulumi.runtime.registerResourceModule("azuredevops", "Core/project", _module);
|
|
35
|
-
pulumi.runtime.registerResourceModule("azuredevops", "Core/projectFeatures", _module);
|
|
36
|
-
//# sourceMappingURL=index.js.map
|
package/core/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../core/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,eAAe,GAAuD,IAAW,CAAC;AAClF,QAAA,qBAAqB,GAA6D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,EAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGhG,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAGjF,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAIpF,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGrF,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,kCAAkC;gBACnC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,kDAAkD;gBACnD,OAAO,IAAI,uBAAe,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC7D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA"}
|
package/core/project.d.ts
DELETED
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Manages a project 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.Project("example", {
|
|
13
|
-
* description: "Managed by Terraform",
|
|
14
|
-
* features: {
|
|
15
|
-
* artifacts: "disabled",
|
|
16
|
-
* testplans: "disabled",
|
|
17
|
-
* },
|
|
18
|
-
* versionControl: "Git",
|
|
19
|
-
* visibility: "private",
|
|
20
|
-
* workItemTemplate: "Agile",
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
* <!--End PulumiCodeChooser -->
|
|
24
|
-
*
|
|
25
|
-
* ## Relevant Links
|
|
26
|
-
*
|
|
27
|
-
* - [Azure DevOps Service REST API 7.0 - Projects](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects?view=azure-devops-rest-7.0)
|
|
28
|
-
*
|
|
29
|
-
* ## PAT Permissions Required
|
|
30
|
-
*
|
|
31
|
-
* - **Project & Team**: Read, Write, & Manage
|
|
32
|
-
*
|
|
33
|
-
* ## Import
|
|
34
|
-
*
|
|
35
|
-
* Azure DevOps Projects can be imported using the project name or by the project Guid, e.g.
|
|
36
|
-
*
|
|
37
|
-
* ```sh
|
|
38
|
-
* $ pulumi import azuredevops:Core/project:Project example "Example Project"
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* or
|
|
42
|
-
*
|
|
43
|
-
* ```sh
|
|
44
|
-
* $ pulumi import azuredevops:Core/project:Project example 00000000-0000-0000-0000-000000000000
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @deprecated azuredevops.core.Project has been deprecated in favor of azuredevops.Project
|
|
48
|
-
*/
|
|
49
|
-
export declare class Project extends pulumi.CustomResource {
|
|
50
|
-
/**
|
|
51
|
-
* Get an existing Project resource's state with the given name, ID, and optional extra
|
|
52
|
-
* properties used to qualify the lookup.
|
|
53
|
-
*
|
|
54
|
-
* @param name The _unique_ name of the resulting resource.
|
|
55
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
56
|
-
* @param state Any extra arguments used during the lookup.
|
|
57
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
-
*/
|
|
59
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectState, opts?: pulumi.CustomResourceOptions): Project;
|
|
60
|
-
/**
|
|
61
|
-
* Returns true if the given object is an instance of Project. This is designed to work even
|
|
62
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
-
*/
|
|
64
|
-
static isInstance(obj: any): obj is Project;
|
|
65
|
-
/**
|
|
66
|
-
* The Description of the Project.
|
|
67
|
-
*/
|
|
68
|
-
readonly description: pulumi.Output<string | undefined>;
|
|
69
|
-
/**
|
|
70
|
-
* Defines the status (`enabled`, `disabled`) of the project features.
|
|
71
|
-
* Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
|
72
|
-
*
|
|
73
|
-
* > **NOTE:**
|
|
74
|
-
* > It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
|
|
75
|
-
* > via the `features` block by using the `azuredevops.Project` resource.
|
|
76
|
-
* > However it's not possible to use both methods to manage features, since there'll be conflicts.
|
|
77
|
-
*/
|
|
78
|
-
readonly features: pulumi.Output<{
|
|
79
|
-
[key: string]: string;
|
|
80
|
-
} | undefined>;
|
|
81
|
-
/**
|
|
82
|
-
* The Project Name.
|
|
83
|
-
*/
|
|
84
|
-
readonly name: pulumi.Output<string>;
|
|
85
|
-
/**
|
|
86
|
-
* The Process Template ID used by the Project.
|
|
87
|
-
*/
|
|
88
|
-
readonly processTemplateId: pulumi.Output<string>;
|
|
89
|
-
/**
|
|
90
|
-
* Specifies the version control system. Valid values: `Git` or `Tfvc`. Defaults to `Git`.
|
|
91
|
-
*/
|
|
92
|
-
readonly versionControl: pulumi.Output<string | undefined>;
|
|
93
|
-
/**
|
|
94
|
-
* Specifies the visibility of the Project. Valid values: `private` or `public`. Defaults to `private`.
|
|
95
|
-
*/
|
|
96
|
-
readonly visibility: pulumi.Output<string | undefined>;
|
|
97
|
-
/**
|
|
98
|
-
* Specifies the work item template. Valid values: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
|
|
99
|
-
*/
|
|
100
|
-
readonly workItemTemplate: pulumi.Output<string | undefined>;
|
|
101
|
-
/**
|
|
102
|
-
* Create a Project resource with the given unique name, arguments, and options.
|
|
103
|
-
*
|
|
104
|
-
* @param name The _unique_ name of the resource.
|
|
105
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
106
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
107
|
-
*/
|
|
108
|
-
/** @deprecated azuredevops.core.Project has been deprecated in favor of azuredevops.Project */
|
|
109
|
-
constructor(name: string, args?: ProjectArgs, opts?: pulumi.CustomResourceOptions);
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Input properties used for looking up and filtering Project resources.
|
|
113
|
-
*/
|
|
114
|
-
export interface ProjectState {
|
|
115
|
-
/**
|
|
116
|
-
* The Description of the Project.
|
|
117
|
-
*/
|
|
118
|
-
description?: pulumi.Input<string>;
|
|
119
|
-
/**
|
|
120
|
-
* Defines the status (`enabled`, `disabled`) of the project features.
|
|
121
|
-
* Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
|
122
|
-
*
|
|
123
|
-
* > **NOTE:**
|
|
124
|
-
* > It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
|
|
125
|
-
* > via the `features` block by using the `azuredevops.Project` resource.
|
|
126
|
-
* > However it's not possible to use both methods to manage features, since there'll be conflicts.
|
|
127
|
-
*/
|
|
128
|
-
features?: pulumi.Input<{
|
|
129
|
-
[key: string]: pulumi.Input<string>;
|
|
130
|
-
}>;
|
|
131
|
-
/**
|
|
132
|
-
* The Project Name.
|
|
133
|
-
*/
|
|
134
|
-
name?: pulumi.Input<string>;
|
|
135
|
-
/**
|
|
136
|
-
* The Process Template ID used by the Project.
|
|
137
|
-
*/
|
|
138
|
-
processTemplateId?: pulumi.Input<string>;
|
|
139
|
-
/**
|
|
140
|
-
* Specifies the version control system. Valid values: `Git` or `Tfvc`. Defaults to `Git`.
|
|
141
|
-
*/
|
|
142
|
-
versionControl?: pulumi.Input<string>;
|
|
143
|
-
/**
|
|
144
|
-
* Specifies the visibility of the Project. Valid values: `private` or `public`. Defaults to `private`.
|
|
145
|
-
*/
|
|
146
|
-
visibility?: pulumi.Input<string>;
|
|
147
|
-
/**
|
|
148
|
-
* Specifies the work item template. Valid values: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
|
|
149
|
-
*/
|
|
150
|
-
workItemTemplate?: pulumi.Input<string>;
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* The set of arguments for constructing a Project resource.
|
|
154
|
-
*/
|
|
155
|
-
export interface ProjectArgs {
|
|
156
|
-
/**
|
|
157
|
-
* The Description of the Project.
|
|
158
|
-
*/
|
|
159
|
-
description?: pulumi.Input<string>;
|
|
160
|
-
/**
|
|
161
|
-
* Defines the status (`enabled`, `disabled`) of the project features.
|
|
162
|
-
* Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
|
163
|
-
*
|
|
164
|
-
* > **NOTE:**
|
|
165
|
-
* > It's possible to define project features both within the `azuredevops.ProjectFeatures` resource and
|
|
166
|
-
* > via the `features` block by using the `azuredevops.Project` resource.
|
|
167
|
-
* > However it's not possible to use both methods to manage features, since there'll be conflicts.
|
|
168
|
-
*/
|
|
169
|
-
features?: pulumi.Input<{
|
|
170
|
-
[key: string]: pulumi.Input<string>;
|
|
171
|
-
}>;
|
|
172
|
-
/**
|
|
173
|
-
* The Project Name.
|
|
174
|
-
*/
|
|
175
|
-
name?: pulumi.Input<string>;
|
|
176
|
-
/**
|
|
177
|
-
* Specifies the version control system. Valid values: `Git` or `Tfvc`. Defaults to `Git`.
|
|
178
|
-
*/
|
|
179
|
-
versionControl?: pulumi.Input<string>;
|
|
180
|
-
/**
|
|
181
|
-
* Specifies the visibility of the Project. Valid values: `private` or `public`. Defaults to `private`.
|
|
182
|
-
*/
|
|
183
|
-
visibility?: pulumi.Input<string>;
|
|
184
|
-
/**
|
|
185
|
-
* Specifies the work item template. Valid values: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
|
|
186
|
-
*/
|
|
187
|
-
workItemTemplate?: pulumi.Input<string>;
|
|
188
|
-
}
|