@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getRepositories.js","sourceRoot":"","sources":["../../repository/getRepositories.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qHAAqH;AACrH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,mIAAmI,CAAC,CAAA;IACpJ,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,wDAAwD,EAAE;QACnF,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0CAUC;AA0CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qHAAqH;AACrH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
package/repository/git.d.ts
DELETED
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "../types/input";
|
|
3
|
-
import * as outputs from "../types/output";
|
|
4
|
-
/**
|
|
5
|
-
* ## Import
|
|
6
|
-
*
|
|
7
|
-
* Azure DevOps Repositories can be imported using the repo name or by the repo Guid e.g.
|
|
8
|
-
*
|
|
9
|
-
* ```sh
|
|
10
|
-
* $ pulumi import azuredevops:Repository/git:Git example projectName/repoName
|
|
11
|
-
* ```
|
|
12
|
-
*
|
|
13
|
-
* or
|
|
14
|
-
*
|
|
15
|
-
* ```sh
|
|
16
|
-
* $ pulumi import azuredevops:Repository/git:Git example projectName/00000000-0000-0000-0000-000000000000
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* hcl
|
|
20
|
-
*
|
|
21
|
-
* resource "azuredevops_project" "example" {
|
|
22
|
-
*
|
|
23
|
-
* name = "Example Project"
|
|
24
|
-
*
|
|
25
|
-
* visibility = "private"
|
|
26
|
-
*
|
|
27
|
-
* version_control = "Git"
|
|
28
|
-
*
|
|
29
|
-
* work_item_template = "Agile"
|
|
30
|
-
*
|
|
31
|
-
* }
|
|
32
|
-
*
|
|
33
|
-
* resource "azuredevops_git_repository" "example" {
|
|
34
|
-
*
|
|
35
|
-
* project_id = azuredevops_project.example.id
|
|
36
|
-
*
|
|
37
|
-
* name = "Example Git Repository"
|
|
38
|
-
*
|
|
39
|
-
* default_branch = "refs/heads/main"
|
|
40
|
-
*
|
|
41
|
-
* initialization {
|
|
42
|
-
*
|
|
43
|
-
* init_type = "Clean"
|
|
44
|
-
*
|
|
45
|
-
* }
|
|
46
|
-
*
|
|
47
|
-
* lifecycle {
|
|
48
|
-
*
|
|
49
|
-
* ignore_changes = [
|
|
50
|
-
*
|
|
51
|
-
* # Ignore changes to initialization to support importing existing repositories
|
|
52
|
-
*
|
|
53
|
-
* # Given that a repo now exists, either imported into terraform state or created by terraform,
|
|
54
|
-
*
|
|
55
|
-
* # we don't care for the configuration of initialization against the existing resource
|
|
56
|
-
*
|
|
57
|
-
* initialization,
|
|
58
|
-
*
|
|
59
|
-
* ]
|
|
60
|
-
*
|
|
61
|
-
* }
|
|
62
|
-
*
|
|
63
|
-
* }
|
|
64
|
-
*
|
|
65
|
-
* @deprecated azuredevops.repository.Git has been deprecated in favor of azuredevops.Git
|
|
66
|
-
*/
|
|
67
|
-
export declare class Git extends pulumi.CustomResource {
|
|
68
|
-
/**
|
|
69
|
-
* Get an existing Git resource's state with the given name, ID, and optional extra
|
|
70
|
-
* properties used to qualify the lookup.
|
|
71
|
-
*
|
|
72
|
-
* @param name The _unique_ name of the resulting resource.
|
|
73
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
-
* @param state Any extra arguments used during the lookup.
|
|
75
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
-
*/
|
|
77
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GitState, opts?: pulumi.CustomResourceOptions): Git;
|
|
78
|
-
/**
|
|
79
|
-
* Returns true if the given object is an instance of Git. This is designed to work even
|
|
80
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
81
|
-
*/
|
|
82
|
-
static isInstance(obj: any): obj is Git;
|
|
83
|
-
/**
|
|
84
|
-
* The ref of the default branch. Will be used as the branch name for initialized repositories.
|
|
85
|
-
*/
|
|
86
|
-
readonly defaultBranch: pulumi.Output<string>;
|
|
87
|
-
/**
|
|
88
|
-
* An `initialization` block as documented below.
|
|
89
|
-
*/
|
|
90
|
-
readonly initialization: pulumi.Output<outputs.Repository.GitInitialization>;
|
|
91
|
-
/**
|
|
92
|
-
* True if the repository was created as a fork.
|
|
93
|
-
*/
|
|
94
|
-
readonly isFork: pulumi.Output<boolean>;
|
|
95
|
-
/**
|
|
96
|
-
* The name of the git repository.
|
|
97
|
-
*/
|
|
98
|
-
readonly name: pulumi.Output<string>;
|
|
99
|
-
/**
|
|
100
|
-
* The ID of a Git project from which a fork is to be created.
|
|
101
|
-
*/
|
|
102
|
-
readonly parentRepositoryId: pulumi.Output<string | undefined>;
|
|
103
|
-
/**
|
|
104
|
-
* The project ID or project name.
|
|
105
|
-
*/
|
|
106
|
-
readonly projectId: pulumi.Output<string>;
|
|
107
|
-
/**
|
|
108
|
-
* Git HTTPS URL of the repository
|
|
109
|
-
*/
|
|
110
|
-
readonly remoteUrl: pulumi.Output<string>;
|
|
111
|
-
/**
|
|
112
|
-
* Size in bytes.
|
|
113
|
-
*/
|
|
114
|
-
readonly size: pulumi.Output<number>;
|
|
115
|
-
/**
|
|
116
|
-
* Git SSH URL of the repository.
|
|
117
|
-
*/
|
|
118
|
-
readonly sshUrl: pulumi.Output<string>;
|
|
119
|
-
/**
|
|
120
|
-
* REST API URL of the repository.
|
|
121
|
-
*/
|
|
122
|
-
readonly url: pulumi.Output<string>;
|
|
123
|
-
/**
|
|
124
|
-
* Web link to the repository.
|
|
125
|
-
*/
|
|
126
|
-
readonly webUrl: pulumi.Output<string>;
|
|
127
|
-
/**
|
|
128
|
-
* Create a Git resource with the given unique name, arguments, and options.
|
|
129
|
-
*
|
|
130
|
-
* @param name The _unique_ name of the resource.
|
|
131
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
132
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
133
|
-
*/
|
|
134
|
-
/** @deprecated azuredevops.repository.Git has been deprecated in favor of azuredevops.Git */
|
|
135
|
-
constructor(name: string, args: GitArgs, opts?: pulumi.CustomResourceOptions);
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Input properties used for looking up and filtering Git resources.
|
|
139
|
-
*/
|
|
140
|
-
export interface GitState {
|
|
141
|
-
/**
|
|
142
|
-
* The ref of the default branch. Will be used as the branch name for initialized repositories.
|
|
143
|
-
*/
|
|
144
|
-
defaultBranch?: pulumi.Input<string>;
|
|
145
|
-
/**
|
|
146
|
-
* An `initialization` block as documented below.
|
|
147
|
-
*/
|
|
148
|
-
initialization?: pulumi.Input<inputs.Repository.GitInitialization>;
|
|
149
|
-
/**
|
|
150
|
-
* True if the repository was created as a fork.
|
|
151
|
-
*/
|
|
152
|
-
isFork?: pulumi.Input<boolean>;
|
|
153
|
-
/**
|
|
154
|
-
* The name of the git repository.
|
|
155
|
-
*/
|
|
156
|
-
name?: pulumi.Input<string>;
|
|
157
|
-
/**
|
|
158
|
-
* The ID of a Git project from which a fork is to be created.
|
|
159
|
-
*/
|
|
160
|
-
parentRepositoryId?: pulumi.Input<string>;
|
|
161
|
-
/**
|
|
162
|
-
* The project ID or project name.
|
|
163
|
-
*/
|
|
164
|
-
projectId?: pulumi.Input<string>;
|
|
165
|
-
/**
|
|
166
|
-
* Git HTTPS URL of the repository
|
|
167
|
-
*/
|
|
168
|
-
remoteUrl?: pulumi.Input<string>;
|
|
169
|
-
/**
|
|
170
|
-
* Size in bytes.
|
|
171
|
-
*/
|
|
172
|
-
size?: pulumi.Input<number>;
|
|
173
|
-
/**
|
|
174
|
-
* Git SSH URL of the repository.
|
|
175
|
-
*/
|
|
176
|
-
sshUrl?: pulumi.Input<string>;
|
|
177
|
-
/**
|
|
178
|
-
* REST API URL of the repository.
|
|
179
|
-
*/
|
|
180
|
-
url?: pulumi.Input<string>;
|
|
181
|
-
/**
|
|
182
|
-
* Web link to the repository.
|
|
183
|
-
*/
|
|
184
|
-
webUrl?: pulumi.Input<string>;
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* The set of arguments for constructing a Git resource.
|
|
188
|
-
*/
|
|
189
|
-
export interface GitArgs {
|
|
190
|
-
/**
|
|
191
|
-
* The ref of the default branch. Will be used as the branch name for initialized repositories.
|
|
192
|
-
*/
|
|
193
|
-
defaultBranch?: pulumi.Input<string>;
|
|
194
|
-
/**
|
|
195
|
-
* An `initialization` block as documented below.
|
|
196
|
-
*/
|
|
197
|
-
initialization: pulumi.Input<inputs.Repository.GitInitialization>;
|
|
198
|
-
/**
|
|
199
|
-
* The name of the git repository.
|
|
200
|
-
*/
|
|
201
|
-
name?: pulumi.Input<string>;
|
|
202
|
-
/**
|
|
203
|
-
* The ID of a Git project from which a fork is to be created.
|
|
204
|
-
*/
|
|
205
|
-
parentRepositoryId?: pulumi.Input<string>;
|
|
206
|
-
/**
|
|
207
|
-
* The project ID or project name.
|
|
208
|
-
*/
|
|
209
|
-
projectId: pulumi.Input<string>;
|
|
210
|
-
}
|
package/repository/git.js
DELETED
|
@@ -1,141 +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.Git = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* ## Import
|
|
10
|
-
*
|
|
11
|
-
* Azure DevOps Repositories can be imported using the repo name or by the repo Guid e.g.
|
|
12
|
-
*
|
|
13
|
-
* ```sh
|
|
14
|
-
* $ pulumi import azuredevops:Repository/git:Git example projectName/repoName
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* or
|
|
18
|
-
*
|
|
19
|
-
* ```sh
|
|
20
|
-
* $ pulumi import azuredevops:Repository/git:Git example projectName/00000000-0000-0000-0000-000000000000
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* hcl
|
|
24
|
-
*
|
|
25
|
-
* resource "azuredevops_project" "example" {
|
|
26
|
-
*
|
|
27
|
-
* name = "Example Project"
|
|
28
|
-
*
|
|
29
|
-
* visibility = "private"
|
|
30
|
-
*
|
|
31
|
-
* version_control = "Git"
|
|
32
|
-
*
|
|
33
|
-
* work_item_template = "Agile"
|
|
34
|
-
*
|
|
35
|
-
* }
|
|
36
|
-
*
|
|
37
|
-
* resource "azuredevops_git_repository" "example" {
|
|
38
|
-
*
|
|
39
|
-
* project_id = azuredevops_project.example.id
|
|
40
|
-
*
|
|
41
|
-
* name = "Example Git Repository"
|
|
42
|
-
*
|
|
43
|
-
* default_branch = "refs/heads/main"
|
|
44
|
-
*
|
|
45
|
-
* initialization {
|
|
46
|
-
*
|
|
47
|
-
* init_type = "Clean"
|
|
48
|
-
*
|
|
49
|
-
* }
|
|
50
|
-
*
|
|
51
|
-
* lifecycle {
|
|
52
|
-
*
|
|
53
|
-
* ignore_changes = [
|
|
54
|
-
*
|
|
55
|
-
* # Ignore changes to initialization to support importing existing repositories
|
|
56
|
-
*
|
|
57
|
-
* # Given that a repo now exists, either imported into terraform state or created by terraform,
|
|
58
|
-
*
|
|
59
|
-
* # we don't care for the configuration of initialization against the existing resource
|
|
60
|
-
*
|
|
61
|
-
* initialization,
|
|
62
|
-
*
|
|
63
|
-
* ]
|
|
64
|
-
*
|
|
65
|
-
* }
|
|
66
|
-
*
|
|
67
|
-
* }
|
|
68
|
-
*
|
|
69
|
-
* @deprecated azuredevops.repository.Git has been deprecated in favor of azuredevops.Git
|
|
70
|
-
*/
|
|
71
|
-
class Git extends pulumi.CustomResource {
|
|
72
|
-
/**
|
|
73
|
-
* Get an existing Git resource's state with the given name, ID, and optional extra
|
|
74
|
-
* properties used to qualify the lookup.
|
|
75
|
-
*
|
|
76
|
-
* @param name The _unique_ name of the resulting resource.
|
|
77
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
78
|
-
* @param state Any extra arguments used during the lookup.
|
|
79
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
80
|
-
*/
|
|
81
|
-
static get(name, id, state, opts) {
|
|
82
|
-
pulumi.log.warn("Git is deprecated: azuredevops.repository.Git has been deprecated in favor of azuredevops.Git");
|
|
83
|
-
return new Git(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Returns true if the given object is an instance of Git. This is designed to work even
|
|
87
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
88
|
-
*/
|
|
89
|
-
static isInstance(obj) {
|
|
90
|
-
if (obj === undefined || obj === null) {
|
|
91
|
-
return false;
|
|
92
|
-
}
|
|
93
|
-
return obj['__pulumiType'] === Git.__pulumiType;
|
|
94
|
-
}
|
|
95
|
-
/** @deprecated azuredevops.repository.Git has been deprecated in favor of azuredevops.Git */
|
|
96
|
-
constructor(name, argsOrState, opts) {
|
|
97
|
-
pulumi.log.warn("Git is deprecated: azuredevops.repository.Git has been deprecated in favor of azuredevops.Git");
|
|
98
|
-
let resourceInputs = {};
|
|
99
|
-
opts = opts || {};
|
|
100
|
-
if (opts.id) {
|
|
101
|
-
const state = argsOrState;
|
|
102
|
-
resourceInputs["defaultBranch"] = state ? state.defaultBranch : undefined;
|
|
103
|
-
resourceInputs["initialization"] = state ? state.initialization : undefined;
|
|
104
|
-
resourceInputs["isFork"] = state ? state.isFork : undefined;
|
|
105
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
106
|
-
resourceInputs["parentRepositoryId"] = state ? state.parentRepositoryId : undefined;
|
|
107
|
-
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
108
|
-
resourceInputs["remoteUrl"] = state ? state.remoteUrl : undefined;
|
|
109
|
-
resourceInputs["size"] = state ? state.size : undefined;
|
|
110
|
-
resourceInputs["sshUrl"] = state ? state.sshUrl : undefined;
|
|
111
|
-
resourceInputs["url"] = state ? state.url : undefined;
|
|
112
|
-
resourceInputs["webUrl"] = state ? state.webUrl : undefined;
|
|
113
|
-
}
|
|
114
|
-
else {
|
|
115
|
-
const args = argsOrState;
|
|
116
|
-
if ((!args || args.initialization === undefined) && !opts.urn) {
|
|
117
|
-
throw new Error("Missing required property 'initialization'");
|
|
118
|
-
}
|
|
119
|
-
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
120
|
-
throw new Error("Missing required property 'projectId'");
|
|
121
|
-
}
|
|
122
|
-
resourceInputs["defaultBranch"] = args ? args.defaultBranch : undefined;
|
|
123
|
-
resourceInputs["initialization"] = args ? args.initialization : undefined;
|
|
124
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
125
|
-
resourceInputs["parentRepositoryId"] = args ? args.parentRepositoryId : undefined;
|
|
126
|
-
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
127
|
-
resourceInputs["isFork"] = undefined /*out*/;
|
|
128
|
-
resourceInputs["remoteUrl"] = undefined /*out*/;
|
|
129
|
-
resourceInputs["size"] = undefined /*out*/;
|
|
130
|
-
resourceInputs["sshUrl"] = undefined /*out*/;
|
|
131
|
-
resourceInputs["url"] = undefined /*out*/;
|
|
132
|
-
resourceInputs["webUrl"] = undefined /*out*/;
|
|
133
|
-
}
|
|
134
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
135
|
-
super(Git.__pulumiType, name, resourceInputs, opts);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
exports.Git = Git;
|
|
139
|
-
/** @internal */
|
|
140
|
-
Git.__pulumiType = 'azuredevops:Repository/git:Git';
|
|
141
|
-
//# sourceMappingURL=git.js.map
|
package/repository/git.js.map
DELET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AAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AA3HL,kBA4HC;AA7GG,gBAAgB;AACO,gBAAY,GAAG,gCAAgC,CAAC"}
|
package/repository/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { GetRepositoriesArgs, GetRepositoriesResult, GetRepositoriesOutputArgs } from "./getRepositories";
|
|
2
|
-
export declare const getRepositories: typeof import("./getRepositories").getRepositories;
|
|
3
|
-
export declare const getRepositoriesOutput: typeof import("./getRepositories").getRepositoriesOutput;
|
|
4
|
-
export { GitArgs, GitState } from "./git";
|
|
5
|
-
export type Git = import("./git").Git;
|
|
6
|
-
export declare const Git: typeof import("./git").Git;
|
package/repository/index.js
DELETED
|
@@ -1,25 +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.Git = exports.getRepositoriesOutput = exports.getRepositories = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
exports.getRepositories = null;
|
|
9
|
-
exports.getRepositoriesOutput = null;
|
|
10
|
-
utilities.lazyLoad(exports, ["getRepositories", "getRepositoriesOutput"], () => require("./getRepositories"));
|
|
11
|
-
exports.Git = null;
|
|
12
|
-
utilities.lazyLoad(exports, ["Git"], () => require("./git"));
|
|
13
|
-
const _module = {
|
|
14
|
-
version: utilities.getVersion(),
|
|
15
|
-
construct: (name, type, urn) => {
|
|
16
|
-
switch (type) {
|
|
17
|
-
case "azuredevops:Repository/git:Git":
|
|
18
|
-
return new exports.Git(name, undefined, { urn });
|
|
19
|
-
default:
|
|
20
|
-
throw new Error(`unknown resource type ${type}`);
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
pulumi.runtime.registerResourceModule("azuredevops", "Repository/git", _module);
|
|
25
|
-
//# sourceMappingURL=index.js.map
|
package/repository/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../repository/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;AAIhG,QAAA,GAAG,GAA+B,IAAW,CAAC;AAC3D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AAG7D,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,gCAAgC;gBACjC,OAAO,IAAI,WAAG,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA"}
|
package/security/index.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { ResourceAuthorizationArgs, ResourceAuthorizationState } from "./resourceAuthorization";
|
|
2
|
-
export type ResourceAuthorization = import("./resourceAuthorization").ResourceAuthorization;
|
|
3
|
-
export declare const ResourceAuthorization: typeof import("./resourceAuthorization").ResourceAuthorization;
|
package/security/index.js
DELETED
|
@@ -1,22 +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.ResourceAuthorization = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
exports.ResourceAuthorization = null;
|
|
9
|
-
utilities.lazyLoad(exports, ["ResourceAuthorization"], () => require("./resourceAuthorization"));
|
|
10
|
-
const _module = {
|
|
11
|
-
version: utilities.getVersion(),
|
|
12
|
-
construct: (name, type, urn) => {
|
|
13
|
-
switch (type) {
|
|
14
|
-
case "azuredevops:Security/resourceAuthorization:ResourceAuthorization":
|
|
15
|
-
return new exports.ResourceAuthorization(name, undefined, { urn });
|
|
16
|
-
default:
|
|
17
|
-
throw new Error(`unknown resource type ${type}`);
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
pulumi.runtime.registerResourceModule("azuredevops", "Security/resourceAuthorization", _module);
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
package/security/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../security/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAGjG,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,kEAAkE;gBACnE,OAAO,IAAI,6BAAqB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Manages authorization of resources, e.g. for access in build pipelines.
|
|
4
|
-
*
|
|
5
|
-
* Currently supported resources: service endpoint (aka service connection, endpoint).
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* <!--Start PulumiCodeChooser -->
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as azuredevops from "@pulumi/azuredevops";
|
|
13
|
-
*
|
|
14
|
-
* const exampleProject = new azuredevops.Project("exampleProject", {
|
|
15
|
-
* visibility: "private",
|
|
16
|
-
* versionControl: "Git",
|
|
17
|
-
* workItemTemplate: "Agile",
|
|
18
|
-
* description: "Managed by Terraform",
|
|
19
|
-
* });
|
|
20
|
-
* const exampleServiceEndpointBitBucket = new azuredevops.ServiceEndpointBitBucket("exampleServiceEndpointBitBucket", {
|
|
21
|
-
* projectId: exampleProject.id,
|
|
22
|
-
* username: "username",
|
|
23
|
-
* password: "password",
|
|
24
|
-
* serviceEndpointName: "example-bitbucket",
|
|
25
|
-
* description: "Managed by Terraform",
|
|
26
|
-
* });
|
|
27
|
-
* const exampleResourceAuthorization = new azuredevops.ResourceAuthorization("exampleResourceAuthorization", {
|
|
28
|
-
* projectId: exampleProject.id,
|
|
29
|
-
* resourceId: exampleServiceEndpointBitBucket.id,
|
|
30
|
-
* authorized: true,
|
|
31
|
-
* });
|
|
32
|
-
* ```
|
|
33
|
-
* <!--End PulumiCodeChooser -->
|
|
34
|
-
*
|
|
35
|
-
* ## Relevant Links
|
|
36
|
-
*
|
|
37
|
-
* - [Azure DevOps Service REST API 7.0 - Authorize Definition Resource](<https://docs.microsoft.com/en-us/rest/api/azure/devops/build/resources/authorize%!d(MISSING)efinition%!r(MISSING)esources?view=azure-devops-rest-7.0>)
|
|
38
|
-
*
|
|
39
|
-
* @deprecated azuredevops.security/resourceauthorization.ResourceAuthorization has been deprecated in favor of azuredevops.index/resourceauthorization.ResourceAuthorization
|
|
40
|
-
*/
|
|
41
|
-
export declare class ResourceAuthorization extends pulumi.CustomResource {
|
|
42
|
-
/**
|
|
43
|
-
* Get an existing ResourceAuthorization resource's state with the given name, ID, and optional extra
|
|
44
|
-
* properties used to qualify the lookup.
|
|
45
|
-
*
|
|
46
|
-
* @param name The _unique_ name of the resulting resource.
|
|
47
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
-
* @param state Any extra arguments used during the lookup.
|
|
49
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
-
*/
|
|
51
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ResourceAuthorizationState, opts?: pulumi.CustomResourceOptions): ResourceAuthorization;
|
|
52
|
-
/**
|
|
53
|
-
* Returns true if the given object is an instance of ResourceAuthorization. This is designed to work even
|
|
54
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
-
*/
|
|
56
|
-
static isInstance(obj: any): obj is ResourceAuthorization;
|
|
57
|
-
/**
|
|
58
|
-
* Set to true to allow public access in the project. Type: boolean.
|
|
59
|
-
*/
|
|
60
|
-
readonly authorized: pulumi.Output<boolean>;
|
|
61
|
-
/**
|
|
62
|
-
* The ID of the build definition to authorize. Type: string.
|
|
63
|
-
*/
|
|
64
|
-
readonly definitionId: pulumi.Output<number | undefined>;
|
|
65
|
-
/**
|
|
66
|
-
* The project ID or project name. Type: string.
|
|
67
|
-
*/
|
|
68
|
-
readonly projectId: pulumi.Output<string>;
|
|
69
|
-
/**
|
|
70
|
-
* The ID of the resource to authorize. Type: string.
|
|
71
|
-
*/
|
|
72
|
-
readonly resourceId: pulumi.Output<string>;
|
|
73
|
-
/**
|
|
74
|
-
* The type of the resource to authorize. Type: string. Valid values: `endpoint`, `queue`, `variablegroup`. Default value: `endpoint`.
|
|
75
|
-
*/
|
|
76
|
-
readonly type: pulumi.Output<string | undefined>;
|
|
77
|
-
/**
|
|
78
|
-
* Create a ResourceAuthorization resource with the given unique name, arguments, and options.
|
|
79
|
-
*
|
|
80
|
-
* @param name The _unique_ name of the resource.
|
|
81
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
82
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
83
|
-
*/
|
|
84
|
-
/** @deprecated azuredevops.security/resourceauthorization.ResourceAuthorization has been deprecated in favor of azuredevops.index/resourceauthorization.ResourceAuthorization */
|
|
85
|
-
constructor(name: string, args: ResourceAuthorizationArgs, opts?: pulumi.CustomResourceOptions);
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Input properties used for looking up and filtering ResourceAuthorization resources.
|
|
89
|
-
*/
|
|
90
|
-
export interface ResourceAuthorizationState {
|
|
91
|
-
/**
|
|
92
|
-
* Set to true to allow public access in the project. Type: boolean.
|
|
93
|
-
*/
|
|
94
|
-
authorized?: pulumi.Input<boolean>;
|
|
95
|
-
/**
|
|
96
|
-
* The ID of the build definition to authorize. Type: string.
|
|
97
|
-
*/
|
|
98
|
-
definitionId?: pulumi.Input<number>;
|
|
99
|
-
/**
|
|
100
|
-
* The project ID or project name. Type: string.
|
|
101
|
-
*/
|
|
102
|
-
projectId?: pulumi.Input<string>;
|
|
103
|
-
/**
|
|
104
|
-
* The ID of the resource to authorize. Type: string.
|
|
105
|
-
*/
|
|
106
|
-
resourceId?: pulumi.Input<string>;
|
|
107
|
-
/**
|
|
108
|
-
* The type of the resource to authorize. Type: string. Valid values: `endpoint`, `queue`, `variablegroup`. Default value: `endpoint`.
|
|
109
|
-
*/
|
|
110
|
-
type?: pulumi.Input<string>;
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* The set of arguments for constructing a ResourceAuthorization resource.
|
|
114
|
-
*/
|
|
115
|
-
export interface ResourceAuthorizationArgs {
|
|
116
|
-
/**
|
|
117
|
-
* Set to true to allow public access in the project. Type: boolean.
|
|
118
|
-
*/
|
|
119
|
-
authorized: pulumi.Input<boolean>;
|
|
120
|
-
/**
|
|
121
|
-
* The ID of the build definition to authorize. Type: string.
|
|
122
|
-
*/
|
|
123
|
-
definitionId?: pulumi.Input<number>;
|
|
124
|
-
/**
|
|
125
|
-
* The project ID or project name. Type: string.
|
|
126
|
-
*/
|
|
127
|
-
projectId: pulumi.Input<string>;
|
|
128
|
-
/**
|
|
129
|
-
* The ID of the resource to authorize. Type: string.
|
|
130
|
-
*/
|
|
131
|
-
resourceId: pulumi.Input<string>;
|
|
132
|
-
/**
|
|
133
|
-
* The type of the resource to authorize. Type: string. Valid values: `endpoint`, `queue`, `variablegroup`. Default value: `endpoint`.
|
|
134
|
-
*/
|
|
135
|
-
type?: pulumi.Input<string>;
|
|
136
|
-
}
|