@pulumi/azuredevops 2.5.0 → 2.6.0-alpha.1674742452
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agent/getPools.d.ts +1 -12
- package/agent/getPools.js +0 -11
- package/agent/getPools.js.map +1 -1
- package/agent/index.d.ts +11 -4
- package/agent/index.js +12 -24
- package/agent/index.js.map +1 -1
- package/agent/pool.js +20 -20
- package/agent/pool.js.map +1 -1
- package/agent/queue.js +23 -23
- package/agent/queue.js.map +1 -1
- package/areaPermissions.js +22 -22
- package/areaPermissions.js.map +1 -1
- package/branchPolicyAutoReviewers.d.ts +2 -1
- package/branchPolicyAutoReviewers.js +22 -22
- package/branchPolicyAutoReviewers.js.map +1 -1
- package/branchPolicyBuildValidation.d.ts +2 -1
- package/branchPolicyBuildValidation.js +22 -22
- package/branchPolicyBuildValidation.js.map +1 -1
- package/branchPolicyCommentResolution.d.ts +2 -1
- package/branchPolicyCommentResolution.js +22 -22
- package/branchPolicyCommentResolution.js.map +1 -1
- package/branchPolicyMergeTypes.d.ts +2 -1
- package/branchPolicyMergeTypes.js +22 -22
- package/branchPolicyMergeTypes.js.map +1 -1
- package/branchPolicyMinReviewers.d.ts +2 -1
- package/branchPolicyMinReviewers.js +22 -22
- package/branchPolicyMinReviewers.js.map +1 -1
- package/branchPolicyStatusCheck.d.ts +2 -1
- package/branchPolicyStatusCheck.js +22 -22
- package/branchPolicyStatusCheck.js.map +1 -1
- package/branchPolicyWorkItemLinking.d.ts +2 -1
- package/branchPolicyWorkItemLinking.js +22 -22
- package/branchPolicyWorkItemLinking.js.map +1 -1
- package/build/buildDefinition.d.ts +2 -1
- package/build/buildDefinition.js +23 -23
- package/build/buildDefinition.js.map +1 -1
- package/build/index.d.ts +3 -1
- package/build/index.js +4 -19
- package/build/index.js.map +1 -1
- package/buildDefinition.d.ts +2 -1
- package/buildDefinition.js +22 -22
- package/buildDefinition.js.map +1 -1
- package/buildDefinitionPermissions.js +22 -22
- package/buildDefinitionPermissions.js.map +1 -1
- package/buildFolder.d.ts +107 -0
- package/buildFolder.js +94 -0
- package/buildFolder.js.map +1 -0
- package/buildFolderPermissions.d.ts +162 -0
- package/buildFolderPermissions.js +129 -0
- package/buildFolderPermissions.js.map +1 -0
- package/core/getClientConfig.d.ts +0 -10
- package/core/getClientConfig.js +0 -10
- package/core/getClientConfig.js.map +1 -1
- package/core/getProjects.d.ts +1 -1
- package/core/getProjects.js.map +1 -1
- package/core/index.d.ts +14 -5
- package/core/index.js +15 -25
- package/core/index.js.map +1 -1
- package/core/project.d.ts +3 -3
- package/core/project.js +23 -23
- package/core/project.js.map +1 -1
- package/core/projectFeatures.js +23 -23
- package/core/projectFeatures.js.map +1 -1
- package/entitlement/index.d.ts +3 -1
- package/entitlement/index.js +4 -19
- package/entitlement/index.js.map +1 -1
- package/entitlement/user.js +23 -23
- package/entitlement/user.js.map +1 -1
- package/environment.js +21 -21
- package/environment.js.map +1 -1
- package/getArea.d.ts +1 -1
- package/getArea.js.map +1 -1
- package/getBuildDefinition.d.ts +1 -1
- package/getBuildDefinition.js.map +1 -1
- package/getClientConfig.d.ts +0 -10
- package/getClientConfig.js +0 -10
- package/getClientConfig.js.map +1 -1
- package/getGroups.d.ts +1 -1
- package/getGroups.js.map +1 -1
- package/getIteration.d.ts +1 -1
- package/getIteration.js.map +1 -1
- package/getPools.d.ts +1 -12
- package/getPools.js +0 -11
- package/getPools.js.map +1 -1
- package/getProjects.d.ts +1 -1
- package/getProjects.js.map +1 -1
- package/getRepositories.d.ts +1 -1
- package/getRepositories.js.map +1 -1
- package/getServiceEndpointAzureRM.d.ts +118 -0
- package/getServiceEndpointAzureRM.js +59 -0
- package/getServiceEndpointAzureRM.js.map +1 -0
- package/getServiceEndpointGithub.d.ts +94 -0
- package/getServiceEndpointGithub.js +59 -0
- package/getServiceEndpointGithub.js.map +1 -0
- package/getTeams.d.ts +1 -1
- package/getTeams.js.map +1 -1
- package/getUsers.d.ts +1 -1
- package/getUsers.js.map +1 -1
- package/getVariableGroup.d.ts +3 -1
- package/getVariableGroup.js +2 -0
- package/getVariableGroup.js.map +1 -1
- package/git.d.ts +2 -1
- package/git.js +22 -22
- package/git.js.map +1 -1
- package/gitPermissions.js +22 -22
- package/gitPermissions.js.map +1 -1
- package/gitRepositoryFile.js +22 -22
- package/gitRepositoryFile.js.map +1 -1
- package/group.js +22 -22
- package/group.js.map +1 -1
- package/groupMembership.js +22 -22
- package/groupMembership.js.map +1 -1
- package/identities/getUsers.d.ts +1 -1
- package/identities/getUsers.js.map +1 -1
- package/identities/group.js +23 -23
- package/identities/group.js.map +1 -1
- package/identities/groupMembership.js +23 -23
- package/identities/groupMembership.js.map +1 -1
- package/identities/index.d.ts +12 -4
- package/identities/index.js +13 -24
- package/identities/index.js.map +1 -1
- package/index.d.ts +247 -78
- package/index.js +255 -216
- package/index.js.map +1 -1
- package/iterativePermissions.js +22 -22
- package/iterativePermissions.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pipeline/index.d.ts +3 -1
- package/pipeline/index.js +4 -19
- package/pipeline/index.js.map +1 -1
- package/pipeline/variableGroup.d.ts +11 -1
- package/pipeline/variableGroup.js +23 -23
- package/pipeline/variableGroup.js.map +1 -1
- package/policy/branchPolicyBuildValidation.d.ts +2 -1
- package/policy/branchPolicyBuildValidation.js +23 -23
- package/policy/branchPolicyBuildValidation.js.map +1 -1
- package/policy/branchPolicyMinReviewers.d.ts +2 -1
- package/policy/branchPolicyMinReviewers.js +23 -23
- package/policy/branchPolicyMinReviewers.js.map +1 -1
- package/policy/index.d.ts +6 -2
- package/policy/index.js +7 -22
- package/policy/index.js.map +1 -1
- package/pool.js +20 -20
- package/pool.js.map +1 -1
- package/project.d.ts +3 -3
- package/project.js +22 -22
- package/project.js.map +1 -1
- package/projectFeatures.js +22 -22
- package/projectFeatures.js.map +1 -1
- package/projectPermissions.js +22 -22
- package/projectPermissions.js.map +1 -1
- package/projectPipelineSettings.js +22 -22
- package/projectPipelineSettings.js.map +1 -1
- package/provider.js +13 -11
- package/provider.js.map +1 -1
- package/queue.js +22 -22
- package/queue.js.map +1 -1
- package/repository/getRepositories.d.ts +1 -1
- package/repository/getRepositories.js.map +1 -1
- package/repository/git.d.ts +2 -1
- package/repository/git.js +23 -23
- package/repository/git.js.map +1 -1
- package/repository/index.d.ts +6 -2
- package/repository/index.js +7 -20
- package/repository/index.js.map +1 -1
- package/repositoryPolicyAuthorEmailPattern.js +22 -22
- package/repositoryPolicyAuthorEmailPattern.js.map +1 -1
- package/repositoryPolicyCaseEnforcement.js +22 -22
- package/repositoryPolicyCaseEnforcement.js.map +1 -1
- package/repositoryPolicyCheckCredentials.js +22 -22
- package/repositoryPolicyCheckCredentials.js.map +1 -1
- package/repositoryPolicyFilePathPattern.js +22 -22
- package/repositoryPolicyFilePathPattern.js.map +1 -1
- package/repositoryPolicyMaxFileSize.js +22 -22
- package/repositoryPolicyMaxFileSize.js.map +1 -1
- package/repositoryPolicyMaxPathLength.js +22 -22
- package/repositoryPolicyMaxPathLength.js.map +1 -1
- package/repositoryPolicyReservedNames.js +22 -22
- package/repositoryPolicyReservedNames.js.map +1 -1
- package/resourceAuthorization.js +22 -22
- package/resourceAuthorization.js.map +1 -1
- package/security/index.d.ts +3 -1
- package/security/index.js +4 -19
- package/security/index.js.map +1 -1
- package/security/resourceAuthorization.js +23 -23
- package/security/resourceAuthorization.js.map +1 -1
- package/serviceEndpointArtifactory.d.ts +2 -1
- package/serviceEndpointArtifactory.js +22 -22
- package/serviceEndpointArtifactory.js.map +1 -1
- package/serviceEndpointAws.js +26 -24
- package/serviceEndpointAws.js.map +1 -1
- package/serviceEndpointAzureDevOps.js +25 -23
- package/serviceEndpointAzureDevOps.js.map +1 -1
- package/serviceEndpointAzureEcr.js +22 -22
- package/serviceEndpointAzureEcr.js.map +1 -1
- package/serviceEndpointAzureRM.d.ts +2 -1
- package/serviceEndpointAzureRM.js +22 -22
- package/serviceEndpointAzureRM.js.map +1 -1
- package/serviceEndpointBitBucket.js +25 -23
- package/serviceEndpointBitBucket.js.map +1 -1
- package/serviceEndpointDockerRegistry.js +25 -23
- package/serviceEndpointDockerRegistry.js.map +1 -1
- package/serviceEndpointGeneric.js +25 -23
- package/serviceEndpointGeneric.js.map +1 -1
- package/serviceEndpointGenericGit.js +25 -23
- package/serviceEndpointGenericGit.js.map +1 -1
- package/serviceEndpointGitHub.d.ts +2 -1
- package/serviceEndpointGitHub.js +22 -22
- package/serviceEndpointGitHub.js.map +1 -1
- package/serviceEndpointGitHubEnterprise.d.ts +2 -1
- package/serviceEndpointGitHubEnterprise.js +22 -22
- package/serviceEndpointGitHubEnterprise.js.map +1 -1
- package/serviceEndpointKubernetes.d.ts +5 -4
- package/serviceEndpointKubernetes.js +24 -24
- package/serviceEndpointKubernetes.js.map +1 -1
- package/serviceEndpointNpm.js +25 -23
- package/serviceEndpointNpm.js.map +1 -1
- package/serviceEndpointPipeline.d.ts +2 -1
- package/serviceEndpointPipeline.js +22 -22
- package/serviceEndpointPipeline.js.map +1 -1
- package/serviceEndpointServiceFabric.d.ts +2 -1
- package/serviceEndpointServiceFabric.js +22 -22
- package/serviceEndpointServiceFabric.js.map +1 -1
- package/serviceEndpointSonarCloud.d.ts +129 -0
- package/serviceEndpointSonarCloud.js +104 -0
- package/serviceEndpointSonarCloud.js.map +1 -0
- package/serviceEndpointSonarQube.js +25 -23
- package/serviceEndpointSonarQube.js.map +1 -1
- package/serviceEndpointSsh.js +26 -24
- package/serviceEndpointSsh.js.map +1 -1
- package/serviceendpoint/azureRM.d.ts +2 -1
- package/serviceendpoint/azureRM.js +23 -23
- package/serviceendpoint/azureRM.js.map +1 -1
- package/serviceendpoint/bitBucket.js +26 -24
- package/serviceendpoint/bitBucket.js.map +1 -1
- package/serviceendpoint/dockerRegistry.js +26 -24
- package/serviceendpoint/dockerRegistry.js.map +1 -1
- package/serviceendpoint/gitHub.d.ts +2 -1
- package/serviceendpoint/gitHub.js +23 -23
- package/serviceendpoint/gitHub.js.map +1 -1
- package/serviceendpoint/index.d.ts +15 -5
- package/serviceendpoint/index.js +16 -31
- package/serviceendpoint/index.js.map +1 -1
- package/serviceendpoint/kubernetes.d.ts +5 -4
- package/serviceendpoint/kubernetes.js +25 -25
- package/serviceendpoint/kubernetes.js.map +1 -1
- package/serviceendpointArgocd.d.ts +2 -1
- package/serviceendpointArgocd.js +22 -22
- package/serviceendpointArgocd.js.map +1 -1
- package/serviceendpointIncomingwebhook.js +25 -23
- package/serviceendpointIncomingwebhook.js.map +1 -1
- package/serviceendpointOctopusdeploy.js +22 -22
- package/serviceendpointOctopusdeploy.js.map +1 -1
- package/serviceendpointPermissions.js +22 -22
- package/serviceendpointPermissions.js.map +1 -1
- package/servicehookPermissions.js +22 -22
- package/servicehookPermissions.js.map +1 -1
- package/taggingPermissions.js +22 -22
- package/taggingPermissions.js.map +1 -1
- package/team.d.ts +8 -0
- package/team.js +24 -22
- package/team.js.map +1 -1
- package/teamAdministrators.js +22 -22
- package/teamAdministrators.js.map +1 -1
- package/teamMembers.js +22 -22
- package/teamMembers.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +17 -5
- package/types/output.d.ts +19 -7
- package/user.js +22 -22
- package/user.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
- package/variableGroup.d.ts +11 -1
- package/variableGroup.js +22 -22
- package/variableGroup.js.map +1 -1
- package/workItemQueryPermissions.js +22 -22
- package/workItemQueryPermissions.js.map +1 -1
package/buildFolder.d.ts
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a Build Folder.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
10
|
+
*
|
|
11
|
+
* const exampleProject = new azuredevops.Project("exampleProject", {
|
|
12
|
+
* visibility: "private",
|
|
13
|
+
* versionControl: "Git",
|
|
14
|
+
* workItemTemplate: "Agile",
|
|
15
|
+
* });
|
|
16
|
+
* const exampleBuildFolder = new azuredevops.BuildFolder("exampleBuildFolder", {
|
|
17
|
+
* projectId: exampleProject.id,
|
|
18
|
+
* path: "\\ExampleFolder",
|
|
19
|
+
* description: "ExampleFolder description",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* Build Folders can be imported using the `project name/path` or `project id/path`, e.g.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import azuredevops:index/buildFolder:BuildFolder example "Example Project/\\ExampleFolder"
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* or
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import azuredevops:index/buildFolder:BuildFolder example 00000000-0000-0000-0000-000000000000/\\ExampleFolder
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class BuildFolder extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing BuildFolder resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BuildFolderState, opts?: pulumi.CustomResourceOptions): BuildFolder;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of BuildFolder. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj: any): obj is BuildFolder;
|
|
53
|
+
/**
|
|
54
|
+
* Folder Description.
|
|
55
|
+
*/
|
|
56
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* The folder path.
|
|
59
|
+
*/
|
|
60
|
+
readonly path: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the project in which the folder will be created.
|
|
63
|
+
*/
|
|
64
|
+
readonly projectId: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a BuildFolder resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: BuildFolderArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering BuildFolder resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface BuildFolderState {
|
|
78
|
+
/**
|
|
79
|
+
* Folder Description.
|
|
80
|
+
*/
|
|
81
|
+
description?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The folder path.
|
|
84
|
+
*/
|
|
85
|
+
path?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The ID of the project in which the folder will be created.
|
|
88
|
+
*/
|
|
89
|
+
projectId?: pulumi.Input<string>;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* The set of arguments for constructing a BuildFolder resource.
|
|
93
|
+
*/
|
|
94
|
+
export interface BuildFolderArgs {
|
|
95
|
+
/**
|
|
96
|
+
* Folder Description.
|
|
97
|
+
*/
|
|
98
|
+
description?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The folder path.
|
|
101
|
+
*/
|
|
102
|
+
path: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The ID of the project in which the folder will be created.
|
|
105
|
+
*/
|
|
106
|
+
projectId: pulumi.Input<string>;
|
|
107
|
+
}
|
package/buildFolder.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.BuildFolder = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Build Folder.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
16
|
+
*
|
|
17
|
+
* const exampleProject = new azuredevops.Project("exampleProject", {
|
|
18
|
+
* visibility: "private",
|
|
19
|
+
* versionControl: "Git",
|
|
20
|
+
* workItemTemplate: "Agile",
|
|
21
|
+
* });
|
|
22
|
+
* const exampleBuildFolder = new azuredevops.BuildFolder("exampleBuildFolder", {
|
|
23
|
+
* projectId: exampleProject.id,
|
|
24
|
+
* path: "\\ExampleFolder",
|
|
25
|
+
* description: "ExampleFolder description",
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* Build Folders can be imported using the `project name/path` or `project id/path`, e.g.
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import azuredevops:index/buildFolder:BuildFolder example "Example Project/\\ExampleFolder"
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* or
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import azuredevops:index/buildFolder:BuildFolder example 00000000-0000-0000-0000-000000000000/\\ExampleFolder
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
class BuildFolder extends pulumi.CustomResource {
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing BuildFolder resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, state, opts) {
|
|
54
|
+
return new BuildFolder(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of BuildFolder. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj) {
|
|
61
|
+
if (obj === undefined || obj === null) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
return obj['__pulumiType'] === BuildFolder.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
constructor(name, argsOrState, opts) {
|
|
67
|
+
let resourceInputs = {};
|
|
68
|
+
opts = opts || {};
|
|
69
|
+
if (opts.id) {
|
|
70
|
+
const state = argsOrState;
|
|
71
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
72
|
+
resourceInputs["path"] = state ? state.path : undefined;
|
|
73
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
const args = argsOrState;
|
|
77
|
+
if ((!args || args.path === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'path'");
|
|
79
|
+
}
|
|
80
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'projectId'");
|
|
82
|
+
}
|
|
83
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
84
|
+
resourceInputs["path"] = args ? args.path : undefined;
|
|
85
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
86
|
+
}
|
|
87
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
|
+
super(BuildFolder.__pulumiType, name, resourceInputs, opts);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.BuildFolder = BuildFolder;
|
|
92
|
+
/** @internal */
|
|
93
|
+
BuildFolder.__pulumiType = 'azuredevops:index/buildFolder:BuildFolder';
|
|
94
|
+
//# sourceMappingURL=buildFolder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildFolder.js","sourceRoot":"","sources":["../buildFolder.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;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;IAuBD,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,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAA0C,CAAC;YACxD,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,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,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,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;SACnE;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;;AAvEL,kCAwEC;AA1DG,gBAAgB;AACO,wBAAY,GAAG,2CAA2C,CAAC"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages permissions for a Build Folder
|
|
4
|
+
*
|
|
5
|
+
* > **Note** Permissions can be assigned to group principals and not to single user principals.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
12
|
+
*
|
|
13
|
+
* const exampleProject = new azuredevops.Project("exampleProject", {
|
|
14
|
+
* workItemTemplate: "Agile",
|
|
15
|
+
* versionControl: "Git",
|
|
16
|
+
* visibility: "private",
|
|
17
|
+
* description: "Managed by Terraform",
|
|
18
|
+
* });
|
|
19
|
+
* const example-readers = azuredevops.getGroupOutput({
|
|
20
|
+
* projectId: exampleProject.id,
|
|
21
|
+
* name: "Readers",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleBuildFolder = new azuredevops.BuildFolder("exampleBuildFolder", {
|
|
24
|
+
* projectId: exampleProject.id,
|
|
25
|
+
* path: "\\ExampleFolder",
|
|
26
|
+
* description: "ExampleFolder description",
|
|
27
|
+
* });
|
|
28
|
+
* const exampleBuildFolderPermissions = new azuredevops.BuildFolderPermissions("exampleBuildFolderPermissions", {
|
|
29
|
+
* projectId: exampleProject.id,
|
|
30
|
+
* path: "\\ExampleFolder",
|
|
31
|
+
* principal: example_readers.apply(example_readers => example_readers.id),
|
|
32
|
+
* permissions: {
|
|
33
|
+
* ViewBuilds: "Allow",
|
|
34
|
+
* EditBuildQuality: "Allow",
|
|
35
|
+
* RetainIndefinitely: "Allow",
|
|
36
|
+
* DeleteBuilds: "Deny",
|
|
37
|
+
* ManageBuildQualities: "Deny",
|
|
38
|
+
* DestroyBuilds: "Deny",
|
|
39
|
+
* UpdateBuildInformation: "Deny",
|
|
40
|
+
* QueueBuilds: "Allow",
|
|
41
|
+
* ManageBuildQueue: "Deny",
|
|
42
|
+
* StopBuilds: "Allow",
|
|
43
|
+
* ViewBuildDefinition: "Allow",
|
|
44
|
+
* EditBuildDefinition: "Deny",
|
|
45
|
+
* DeleteBuildDefinition: "Deny",
|
|
46
|
+
* AdministerBuildPermissions: "NotSet",
|
|
47
|
+
* },
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
* ## Relevant Links
|
|
51
|
+
*
|
|
52
|
+
* * [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)
|
|
53
|
+
*
|
|
54
|
+
* ## PAT Permissions Required
|
|
55
|
+
*
|
|
56
|
+
* - **Project & Team**: vso.security_manage - Grants the ability to read, write, and manage security permissions.
|
|
57
|
+
*
|
|
58
|
+
* ## Import
|
|
59
|
+
*
|
|
60
|
+
* The resource does not support import.
|
|
61
|
+
*/
|
|
62
|
+
export declare class BuildFolderPermissions extends pulumi.CustomResource {
|
|
63
|
+
/**
|
|
64
|
+
* Get an existing BuildFolderPermissions resource's state with the given name, ID, and optional extra
|
|
65
|
+
* properties used to qualify the lookup.
|
|
66
|
+
*
|
|
67
|
+
* @param name The _unique_ name of the resulting resource.
|
|
68
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
69
|
+
* @param state Any extra arguments used during the lookup.
|
|
70
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
71
|
+
*/
|
|
72
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BuildFolderPermissionsState, opts?: pulumi.CustomResourceOptions): BuildFolderPermissions;
|
|
73
|
+
/**
|
|
74
|
+
* Returns true if the given object is an instance of BuildFolderPermissions. This is designed to work even
|
|
75
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
76
|
+
*/
|
|
77
|
+
static isInstance(obj: any): obj is BuildFolderPermissions;
|
|
78
|
+
/**
|
|
79
|
+
* The folder path to assign the permissions.
|
|
80
|
+
*/
|
|
81
|
+
readonly path: pulumi.Output<string>;
|
|
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 to assign the permissions.
|
|
94
|
+
*/
|
|
95
|
+
readonly projectId: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Replace (`true`) or merge (`false`) the permissions. Default: `true`.
|
|
98
|
+
*/
|
|
99
|
+
readonly replace: pulumi.Output<boolean | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* Create a BuildFolderPermissions resource with the given unique name, arguments, and options.
|
|
102
|
+
*
|
|
103
|
+
* @param name The _unique_ name of the resource.
|
|
104
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
105
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
106
|
+
*/
|
|
107
|
+
constructor(name: string, args: BuildFolderPermissionsArgs, opts?: pulumi.CustomResourceOptions);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Input properties used for looking up and filtering BuildFolderPermissions resources.
|
|
111
|
+
*/
|
|
112
|
+
export interface BuildFolderPermissionsState {
|
|
113
|
+
/**
|
|
114
|
+
* The folder path to assign the permissions.
|
|
115
|
+
*/
|
|
116
|
+
path?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* the permissions to assign. The following permissions are available.
|
|
119
|
+
*/
|
|
120
|
+
permissions?: pulumi.Input<{
|
|
121
|
+
[key: string]: pulumi.Input<string>;
|
|
122
|
+
}>;
|
|
123
|
+
/**
|
|
124
|
+
* The **group** principal to assign the permissions.
|
|
125
|
+
*/
|
|
126
|
+
principal?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The ID of the project to assign the permissions.
|
|
129
|
+
*/
|
|
130
|
+
projectId?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Replace (`true`) or merge (`false`) the permissions. Default: `true`.
|
|
133
|
+
*/
|
|
134
|
+
replace?: pulumi.Input<boolean>;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* The set of arguments for constructing a BuildFolderPermissions resource.
|
|
138
|
+
*/
|
|
139
|
+
export interface BuildFolderPermissionsArgs {
|
|
140
|
+
/**
|
|
141
|
+
* The folder path to assign the permissions.
|
|
142
|
+
*/
|
|
143
|
+
path: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* the permissions to assign. The following permissions are available.
|
|
146
|
+
*/
|
|
147
|
+
permissions: pulumi.Input<{
|
|
148
|
+
[key: string]: pulumi.Input<string>;
|
|
149
|
+
}>;
|
|
150
|
+
/**
|
|
151
|
+
* The **group** principal to assign the permissions.
|
|
152
|
+
*/
|
|
153
|
+
principal: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* The ID of the project to assign the permissions.
|
|
156
|
+
*/
|
|
157
|
+
projectId: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Replace (`true`) or merge (`false`) the permissions. Default: `true`.
|
|
160
|
+
*/
|
|
161
|
+
replace?: pulumi.Input<boolean>;
|
|
162
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
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.BuildFolderPermissions = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages permissions for a Build Folder
|
|
10
|
+
*
|
|
11
|
+
* > **Note** Permissions can be assigned to group principals and not to single user principals.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
18
|
+
*
|
|
19
|
+
* const exampleProject = new azuredevops.Project("exampleProject", {
|
|
20
|
+
* workItemTemplate: "Agile",
|
|
21
|
+
* versionControl: "Git",
|
|
22
|
+
* visibility: "private",
|
|
23
|
+
* description: "Managed by Terraform",
|
|
24
|
+
* });
|
|
25
|
+
* const example-readers = azuredevops.getGroupOutput({
|
|
26
|
+
* projectId: exampleProject.id,
|
|
27
|
+
* name: "Readers",
|
|
28
|
+
* });
|
|
29
|
+
* const exampleBuildFolder = new azuredevops.BuildFolder("exampleBuildFolder", {
|
|
30
|
+
* projectId: exampleProject.id,
|
|
31
|
+
* path: "\\ExampleFolder",
|
|
32
|
+
* description: "ExampleFolder description",
|
|
33
|
+
* });
|
|
34
|
+
* const exampleBuildFolderPermissions = new azuredevops.BuildFolderPermissions("exampleBuildFolderPermissions", {
|
|
35
|
+
* projectId: exampleProject.id,
|
|
36
|
+
* path: "\\ExampleFolder",
|
|
37
|
+
* principal: example_readers.apply(example_readers => example_readers.id),
|
|
38
|
+
* permissions: {
|
|
39
|
+
* ViewBuilds: "Allow",
|
|
40
|
+
* EditBuildQuality: "Allow",
|
|
41
|
+
* RetainIndefinitely: "Allow",
|
|
42
|
+
* DeleteBuilds: "Deny",
|
|
43
|
+
* ManageBuildQualities: "Deny",
|
|
44
|
+
* DestroyBuilds: "Deny",
|
|
45
|
+
* UpdateBuildInformation: "Deny",
|
|
46
|
+
* QueueBuilds: "Allow",
|
|
47
|
+
* ManageBuildQueue: "Deny",
|
|
48
|
+
* StopBuilds: "Allow",
|
|
49
|
+
* ViewBuildDefinition: "Allow",
|
|
50
|
+
* EditBuildDefinition: "Deny",
|
|
51
|
+
* DeleteBuildDefinition: "Deny",
|
|
52
|
+
* AdministerBuildPermissions: "NotSet",
|
|
53
|
+
* },
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
* ## Relevant Links
|
|
57
|
+
*
|
|
58
|
+
* * [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)
|
|
59
|
+
*
|
|
60
|
+
* ## PAT Permissions Required
|
|
61
|
+
*
|
|
62
|
+
* - **Project & Team**: vso.security_manage - Grants the ability to read, write, and manage security permissions.
|
|
63
|
+
*
|
|
64
|
+
* ## Import
|
|
65
|
+
*
|
|
66
|
+
* The resource does not support import.
|
|
67
|
+
*/
|
|
68
|
+
class BuildFolderPermissions extends pulumi.CustomResource {
|
|
69
|
+
/**
|
|
70
|
+
* Get an existing BuildFolderPermissions resource's state with the given name, ID, and optional extra
|
|
71
|
+
* properties used to qualify the lookup.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resulting resource.
|
|
74
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
75
|
+
* @param state Any extra arguments used during the lookup.
|
|
76
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
77
|
+
*/
|
|
78
|
+
static get(name, id, state, opts) {
|
|
79
|
+
return new BuildFolderPermissions(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Returns true if the given object is an instance of BuildFolderPermissions. This is designed to work even
|
|
83
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
84
|
+
*/
|
|
85
|
+
static isInstance(obj) {
|
|
86
|
+
if (obj === undefined || obj === null) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
return obj['__pulumiType'] === BuildFolderPermissions.__pulumiType;
|
|
90
|
+
}
|
|
91
|
+
constructor(name, argsOrState, opts) {
|
|
92
|
+
let resourceInputs = {};
|
|
93
|
+
opts = opts || {};
|
|
94
|
+
if (opts.id) {
|
|
95
|
+
const state = argsOrState;
|
|
96
|
+
resourceInputs["path"] = state ? state.path : undefined;
|
|
97
|
+
resourceInputs["permissions"] = state ? state.permissions : undefined;
|
|
98
|
+
resourceInputs["principal"] = state ? state.principal : undefined;
|
|
99
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
100
|
+
resourceInputs["replace"] = state ? state.replace : undefined;
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
const args = argsOrState;
|
|
104
|
+
if ((!args || args.path === undefined) && !opts.urn) {
|
|
105
|
+
throw new Error("Missing required property 'path'");
|
|
106
|
+
}
|
|
107
|
+
if ((!args || args.permissions === undefined) && !opts.urn) {
|
|
108
|
+
throw new Error("Missing required property 'permissions'");
|
|
109
|
+
}
|
|
110
|
+
if ((!args || args.principal === undefined) && !opts.urn) {
|
|
111
|
+
throw new Error("Missing required property 'principal'");
|
|
112
|
+
}
|
|
113
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
114
|
+
throw new Error("Missing required property 'projectId'");
|
|
115
|
+
}
|
|
116
|
+
resourceInputs["path"] = args ? args.path : undefined;
|
|
117
|
+
resourceInputs["permissions"] = args ? args.permissions : undefined;
|
|
118
|
+
resourceInputs["principal"] = args ? args.principal : undefined;
|
|
119
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
120
|
+
resourceInputs["replace"] = args ? args.replace : undefined;
|
|
121
|
+
}
|
|
122
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
123
|
+
super(BuildFolderPermissions.__pulumiType, name, resourceInputs, opts);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.BuildFolderPermissions = BuildFolderPermissions;
|
|
127
|
+
/** @internal */
|
|
128
|
+
BuildFolderPermissions.__pulumiType = 'azuredevops:index/buildFolderPermissions:BuildFolderPermissions';
|
|
129
|
+
//# sourceMappingURL=buildFolderPermissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildFolderPermissions.js","sourceRoot":"","sources":["../buildFolderPermissions.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Use this data source to access information about the Azure DevOps organization configured for the provider.
|
|
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 = azuredevops.getClientConfig({});
|
|
12
|
-
* export const orgUrl = example.then(example => example.organizationUrl);
|
|
13
|
-
* ```
|
|
14
4
|
*/
|
|
15
5
|
/** @deprecated azuredevops.core.getClientConfig has been deprecated in favor of azuredevops.getClientConfig */
|
|
16
6
|
export declare function getClientConfig(opts?: pulumi.InvokeOptions): Promise<GetClientConfigResult>;
|
package/core/getClientConfig.js
CHANGED
|
@@ -7,16 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to access information about the Azure DevOps organization configured for the provider.
|
|
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 = azuredevops.getClientConfig({});
|
|
18
|
-
* export const orgUrl = example.then(example => example.organizationUrl);
|
|
19
|
-
* ```
|
|
20
10
|
*/
|
|
21
11
|
/** @deprecated azuredevops.core.getClientConfig has been deprecated in favor of azuredevops.getClientConfig */
|
|
22
12
|
function getClientConfig(opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClientConfig.js","sourceRoot":"","sources":["../../core/getClientConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getClientConfig.js","sourceRoot":"","sources":["../../core/getClientConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,+GAA+G;AAC/G,SAAgB,eAAe,CAAC,IAA2B;IACvD,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6HAA6H,CAAC,CAAA;IAC9I,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0CASC"}
|
package/core/getProjects.d.ts
CHANGED
package/core/getProjects.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../../core/getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../../core/getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;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;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,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;AAZD,kCAYC;AAsCD,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
package/core/index.d.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
1
|
+
export { GetClientConfigResult } from "./getClientConfig";
|
|
2
|
+
export declare const getClientConfig: typeof import("./getClientConfig").getClientConfig;
|
|
3
|
+
export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject";
|
|
4
|
+
export declare const getProject: typeof import("./getProject").getProject;
|
|
5
|
+
export declare const getProjectOutput: typeof import("./getProject").getProjectOutput;
|
|
6
|
+
export { GetProjectsArgs, GetProjectsResult, GetProjectsOutputArgs } from "./getProjects";
|
|
7
|
+
export declare const getProjects: typeof import("./getProjects").getProjects;
|
|
8
|
+
export declare const getProjectsOutput: typeof import("./getProjects").getProjectsOutput;
|
|
9
|
+
export { ProjectArgs, ProjectState } from "./project";
|
|
10
|
+
export type Project = import("./project").Project;
|
|
11
|
+
export declare const Project: typeof import("./project").Project;
|
|
12
|
+
export { ProjectFeaturesArgs, ProjectFeaturesState } from "./projectFeatures";
|
|
13
|
+
export type ProjectFeatures = import("./projectFeatures").ProjectFeatures;
|
|
14
|
+
export declare const ProjectFeatures: typeof import("./projectFeatures").ProjectFeatures;
|
package/core/index.js
CHANGED
|
@@ -1,40 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
-
};
|
|
18
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ProjectFeatures = exports.Project = exports.getProjectsOutput = exports.getProjects = exports.getProjectOutput = exports.getProject = exports.getClientConfig = void 0;
|
|
19
6
|
const pulumi = require("@pulumi/pulumi");
|
|
20
7
|
const utilities = require("../utilities");
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
8
|
+
exports.getClientConfig = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["getClientConfig"], () => require("./getClientConfig"));
|
|
10
|
+
exports.getProject = null;
|
|
11
|
+
exports.getProjectOutput = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["getProject", "getProjectOutput"], () => require("./getProject"));
|
|
13
|
+
exports.getProjects = null;
|
|
14
|
+
exports.getProjectsOutput = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["getProjects", "getProjectsOutput"], () => require("./getProjects"));
|
|
16
|
+
exports.Project = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["Project"], () => require("./project"));
|
|
18
|
+
exports.ProjectFeatures = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["ProjectFeatures"], () => require("./projectFeatures"));
|
|
30
20
|
const _module = {
|
|
31
21
|
version: utilities.getVersion(),
|
|
32
22
|
construct: (name, type, urn) => {
|
|
33
23
|
switch (type) {
|
|
34
24
|
case "azuredevops:Core/project:Project":
|
|
35
|
-
return new
|
|
25
|
+
return new exports.Project(name, undefined, { urn });
|
|
36
26
|
case "azuredevops:Core/projectFeatures:ProjectFeatures":
|
|
37
|
-
return new
|
|
27
|
+
return new exports.ProjectFeatures(name, undefined, { urn });
|
|
38
28
|
default:
|
|
39
29
|
throw new Error(`unknown resource type ${type}`);
|
|
40
30
|
}
|
package/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../core/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
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;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGxE,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"}
|