@pulumi/azuredevops 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/serviceEndpointNpm.js
CHANGED
|
@@ -43,6 +43,28 @@ const utilities = require("./utilities");
|
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
45
|
class ServiceEndpointNpm extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing ServiceEndpointNpm resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, state, opts) {
|
|
56
|
+
return new ServiceEndpointNpm(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of ServiceEndpointNpm. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === ServiceEndpointNpm.__pulumiType;
|
|
67
|
+
}
|
|
46
68
|
constructor(name, argsOrState, opts) {
|
|
47
69
|
let resourceInputs = {};
|
|
48
70
|
opts = opts || {};
|
|
@@ -70,7 +92,7 @@ class ServiceEndpointNpm extends pulumi.CustomResource {
|
|
|
70
92
|
if ((!args || args.url === undefined) && !opts.urn) {
|
|
71
93
|
throw new Error("Missing required property 'url'");
|
|
72
94
|
}
|
|
73
|
-
resourceInputs["accessToken"] = args ? args.accessToken : undefined;
|
|
95
|
+
resourceInputs["accessToken"] = (args === null || args === void 0 ? void 0 : args.accessToken) ? pulumi.secret(args.accessToken) : undefined;
|
|
74
96
|
resourceInputs["authorization"] = args ? args.authorization : undefined;
|
|
75
97
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
76
98
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
@@ -79,30 +101,10 @@ class ServiceEndpointNpm extends pulumi.CustomResource {
|
|
|
79
101
|
resourceInputs["accessTokenHash"] = undefined /*out*/;
|
|
80
102
|
}
|
|
81
103
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
|
+
const secretOpts = { additionalSecretOutputs: ["accessToken", "accessTokenHash"] };
|
|
105
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
82
106
|
super(ServiceEndpointNpm.__pulumiType, name, resourceInputs, opts);
|
|
83
107
|
}
|
|
84
|
-
/**
|
|
85
|
-
* Get an existing ServiceEndpointNpm resource's state with the given name, ID, and optional extra
|
|
86
|
-
* properties used to qualify the lookup.
|
|
87
|
-
*
|
|
88
|
-
* @param name The _unique_ name of the resulting resource.
|
|
89
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
90
|
-
* @param state Any extra arguments used during the lookup.
|
|
91
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
92
|
-
*/
|
|
93
|
-
static get(name, id, state, opts) {
|
|
94
|
-
return new ServiceEndpointNpm(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Returns true if the given object is an instance of ServiceEndpointNpm. This is designed to work even
|
|
98
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
99
|
-
*/
|
|
100
|
-
static isInstance(obj) {
|
|
101
|
-
if (obj === undefined || obj === null) {
|
|
102
|
-
return false;
|
|
103
|
-
}
|
|
104
|
-
return obj['__pulumiType'] === ServiceEndpointNpm.__pulumiType;
|
|
105
|
-
}
|
|
106
108
|
}
|
|
107
109
|
exports.ServiceEndpointNpm = ServiceEndpointNpm;
|
|
108
110
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceEndpointNpm.js","sourceRoot":"","sources":["../serviceEndpointNpm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"serviceEndpointNpm.js","sourceRoot":"","sources":["../serviceEndpointNpm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;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AI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,EAAE,iBAAiB,CAAC,EAAE,CAAC;QACnF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AApGL,gDAqGC;AAvFG,gBAAgB;AACO,+BAAY,GAAG,yDAAyD,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* Manages a Azure DevOps Service Connection service endpoint within Azure DevOps. Allows to run downstream pipelines, monitoring their execution, collecting and consolidating artefacts produced in the delegate pipelines (yaml block `task: RunPipelines@1`). More details on Marketplace page: [RunPipelines](https://marketplace.visualstudio.com/items?itemName=CSE-DevOps.RunPipelines)
|
|
5
6
|
*
|
|
@@ -43,6 +43,28 @@ const utilities = require("./utilities");
|
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
45
|
class ServiceEndpointPipeline extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing ServiceEndpointPipeline resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, state, opts) {
|
|
56
|
+
return new ServiceEndpointPipeline(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of ServiceEndpointPipeline. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === ServiceEndpointPipeline.__pulumiType;
|
|
67
|
+
}
|
|
46
68
|
constructor(name, argsOrState, opts) {
|
|
47
69
|
let resourceInputs = {};
|
|
48
70
|
opts = opts || {};
|
|
@@ -79,28 +101,6 @@ class ServiceEndpointPipeline extends pulumi.CustomResource {
|
|
|
79
101
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
102
|
super(ServiceEndpointPipeline.__pulumiType, name, resourceInputs, opts);
|
|
81
103
|
}
|
|
82
|
-
/**
|
|
83
|
-
* Get an existing ServiceEndpointPipeline resource's state with the given name, ID, and optional extra
|
|
84
|
-
* properties used to qualify the lookup.
|
|
85
|
-
*
|
|
86
|
-
* @param name The _unique_ name of the resulting resource.
|
|
87
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
88
|
-
* @param state Any extra arguments used during the lookup.
|
|
89
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
90
|
-
*/
|
|
91
|
-
static get(name, id, state, opts) {
|
|
92
|
-
return new ServiceEndpointPipeline(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Returns true if the given object is an instance of ServiceEndpointPipeline. This is designed to work even
|
|
96
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
97
|
-
*/
|
|
98
|
-
static isInstance(obj) {
|
|
99
|
-
if (obj === undefined || obj === null) {
|
|
100
|
-
return false;
|
|
101
|
-
}
|
|
102
|
-
return obj['__pulumiType'] === ServiceEndpointPipeline.__pulumiType;
|
|
103
|
-
}
|
|
104
104
|
}
|
|
105
105
|
exports.ServiceEndpointPipeline = ServiceEndpointPipeline;
|
|
106
106
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceEndpointPipeline.js","sourceRoot":"","sources":["../serviceEndpointPipeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"serviceEndpointPipeline.js","sourceRoot":"","sources":["../serviceEndpointPipeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IA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qB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;SACvF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAzFL,0DA0FC;AA5EG,gBAAgB;AACO,oCAAY,GAAG,mEAAmE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* Manages a Service Fabric service endpoint within Azure DevOps.
|
|
5
6
|
*
|
|
@@ -94,6 +94,28 @@ const utilities = require("./utilities");
|
|
|
94
94
|
* ```
|
|
95
95
|
*/
|
|
96
96
|
class ServiceEndpointServiceFabric extends pulumi.CustomResource {
|
|
97
|
+
/**
|
|
98
|
+
* Get an existing ServiceEndpointServiceFabric resource's state with the given name, ID, and optional extra
|
|
99
|
+
* properties used to qualify the lookup.
|
|
100
|
+
*
|
|
101
|
+
* @param name The _unique_ name of the resulting resource.
|
|
102
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
103
|
+
* @param state Any extra arguments used during the lookup.
|
|
104
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
105
|
+
*/
|
|
106
|
+
static get(name, id, state, opts) {
|
|
107
|
+
return new ServiceEndpointServiceFabric(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Returns true if the given object is an instance of ServiceEndpointServiceFabric. This is designed to work even
|
|
111
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
112
|
+
*/
|
|
113
|
+
static isInstance(obj) {
|
|
114
|
+
if (obj === undefined || obj === null) {
|
|
115
|
+
return false;
|
|
116
|
+
}
|
|
117
|
+
return obj['__pulumiType'] === ServiceEndpointServiceFabric.__pulumiType;
|
|
118
|
+
}
|
|
97
119
|
constructor(name, argsOrState, opts) {
|
|
98
120
|
let resourceInputs = {};
|
|
99
121
|
opts = opts || {};
|
|
@@ -131,28 +153,6 @@ class ServiceEndpointServiceFabric extends pulumi.CustomResource {
|
|
|
131
153
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
132
154
|
super(ServiceEndpointServiceFabric.__pulumiType, name, resourceInputs, opts);
|
|
133
155
|
}
|
|
134
|
-
/**
|
|
135
|
-
* Get an existing ServiceEndpointServiceFabric resource's state with the given name, ID, and optional extra
|
|
136
|
-
* properties used to qualify the lookup.
|
|
137
|
-
*
|
|
138
|
-
* @param name The _unique_ name of the resulting resource.
|
|
139
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
140
|
-
* @param state Any extra arguments used during the lookup.
|
|
141
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
142
|
-
*/
|
|
143
|
-
static get(name, id, state, opts) {
|
|
144
|
-
return new ServiceEndpointServiceFabric(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* Returns true if the given object is an instance of ServiceEndpointServiceFabric. This is designed to work even
|
|
148
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
149
|
-
*/
|
|
150
|
-
static isInstance(obj) {
|
|
151
|
-
if (obj === undefined || obj === null) {
|
|
152
|
-
return false;
|
|
153
|
-
}
|
|
154
|
-
return obj['__pulumiType'] === ServiceEndpointServiceFabric.__pulumiType;
|
|
155
|
-
}
|
|
156
156
|
}
|
|
157
157
|
exports.ServiceEndpointServiceFabric = ServiceEndpointServiceFabric;
|
|
158
158
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceEndpointServiceFabric.js","sourceRoot":"","sources":["../serviceEndpointServiceFabric.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"serviceEndpointServiceFabric.js","sourceRoot":"","sources":["../serviceEndpointServiceFabric.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuFG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnF,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,4BAA4B,CAAC,YAAY,CAAC;IAC7E,CAAC;IA4BD,YAAY,IAAY,EAAE,WAAkF,EAAE,IAAmC;QAC7I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4D,CAAC;YAC3E,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,C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i";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a SonarCloud service endpoint within Azure DevOps.
|
|
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
|
+
* description: "Managed by Terraform",
|
|
16
|
+
* });
|
|
17
|
+
* const exampleServiceEndpointSonarCloud = new azuredevops.ServiceEndpointSonarCloud("exampleServiceEndpointSonarCloud", {
|
|
18
|
+
* projectId: exampleProject.id,
|
|
19
|
+
* serviceEndpointName: "Example SonarCloud",
|
|
20
|
+
* token: "0000000000000000000000000000000000000000",
|
|
21
|
+
* description: "Managed by Terraform",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
* ## Relevant Links
|
|
25
|
+
*
|
|
26
|
+
* - [Azure DevOps Service REST API 6.0 - Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-6.0)
|
|
27
|
+
* - [Azure DevOps Service Connections](https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml)
|
|
28
|
+
* - [SonarCloud User Token](https://docs.sonarcloud.io/advanced-setup/user-accounts/)
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* Azure DevOps Service Endpoint SonarCloud can be imported using the **projectID/serviceEndpointID**, e.g.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import azuredevops:index/serviceEndpointSonarCloud:ServiceEndpointSonarCloud example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class ServiceEndpointSonarCloud extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing ServiceEndpointSonarCloud resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceEndpointSonarCloudState, opts?: pulumi.CustomResourceOptions): ServiceEndpointSonarCloud;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of ServiceEndpointSonarCloud. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj: any): obj is ServiceEndpointSonarCloud;
|
|
54
|
+
readonly authorization: pulumi.Output<{
|
|
55
|
+
[key: string]: string;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* The Service Endpoint description.
|
|
59
|
+
*/
|
|
60
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the project.
|
|
63
|
+
*/
|
|
64
|
+
readonly projectId: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The Service Endpoint name.
|
|
67
|
+
*/
|
|
68
|
+
readonly serviceEndpointName: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Authentication Token generated through SonarCloud (go to `My Account > Security > Generate Tokens`).
|
|
71
|
+
*/
|
|
72
|
+
readonly token: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Create a ServiceEndpointSonarCloud resource with the given unique name, arguments, and options.
|
|
75
|
+
*
|
|
76
|
+
* @param name The _unique_ name of the resource.
|
|
77
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
78
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
79
|
+
*/
|
|
80
|
+
constructor(name: string, args: ServiceEndpointSonarCloudArgs, opts?: pulumi.CustomResourceOptions);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Input properties used for looking up and filtering ServiceEndpointSonarCloud resources.
|
|
84
|
+
*/
|
|
85
|
+
export interface ServiceEndpointSonarCloudState {
|
|
86
|
+
authorization?: pulumi.Input<{
|
|
87
|
+
[key: string]: pulumi.Input<string>;
|
|
88
|
+
}>;
|
|
89
|
+
/**
|
|
90
|
+
* The Service Endpoint description.
|
|
91
|
+
*/
|
|
92
|
+
description?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The ID of the project.
|
|
95
|
+
*/
|
|
96
|
+
projectId?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The Service Endpoint name.
|
|
99
|
+
*/
|
|
100
|
+
serviceEndpointName?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Authentication Token generated through SonarCloud (go to `My Account > Security > Generate Tokens`).
|
|
103
|
+
*/
|
|
104
|
+
token?: pulumi.Input<string>;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The set of arguments for constructing a ServiceEndpointSonarCloud resource.
|
|
108
|
+
*/
|
|
109
|
+
export interface ServiceEndpointSonarCloudArgs {
|
|
110
|
+
authorization?: pulumi.Input<{
|
|
111
|
+
[key: string]: pulumi.Input<string>;
|
|
112
|
+
}>;
|
|
113
|
+
/**
|
|
114
|
+
* The Service Endpoint description.
|
|
115
|
+
*/
|
|
116
|
+
description?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The ID of the project.
|
|
119
|
+
*/
|
|
120
|
+
projectId: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The Service Endpoint name.
|
|
123
|
+
*/
|
|
124
|
+
serviceEndpointName: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Authentication Token generated through SonarCloud (go to `My Account > Security > Generate Tokens`).
|
|
127
|
+
*/
|
|
128
|
+
token: pulumi.Input<string>;
|
|
129
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
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.ServiceEndpointSonarCloud = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a SonarCloud service endpoint within Azure DevOps.
|
|
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
|
+
* description: "Managed by Terraform",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleServiceEndpointSonarCloud = new azuredevops.ServiceEndpointSonarCloud("exampleServiceEndpointSonarCloud", {
|
|
24
|
+
* projectId: exampleProject.id,
|
|
25
|
+
* serviceEndpointName: "Example SonarCloud",
|
|
26
|
+
* token: "0000000000000000000000000000000000000000",
|
|
27
|
+
* description: "Managed by Terraform",
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
* ## Relevant Links
|
|
31
|
+
*
|
|
32
|
+
* - [Azure DevOps Service REST API 6.0 - Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-6.0)
|
|
33
|
+
* - [Azure DevOps Service Connections](https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml)
|
|
34
|
+
* - [SonarCloud User Token](https://docs.sonarcloud.io/advanced-setup/user-accounts/)
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* Azure DevOps Service Endpoint SonarCloud can be imported using the **projectID/serviceEndpointID**, e.g.
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import azuredevops:index/serviceEndpointSonarCloud:ServiceEndpointSonarCloud example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
class ServiceEndpointSonarCloud extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing ServiceEndpointSonarCloud resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param state Any extra arguments used during the lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name, id, state, opts) {
|
|
55
|
+
return new ServiceEndpointSonarCloud(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of ServiceEndpointSonarCloud. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj) {
|
|
62
|
+
if (obj === undefined || obj === null) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return obj['__pulumiType'] === ServiceEndpointSonarCloud.__pulumiType;
|
|
66
|
+
}
|
|
67
|
+
constructor(name, argsOrState, opts) {
|
|
68
|
+
let resourceInputs = {};
|
|
69
|
+
opts = opts || {};
|
|
70
|
+
if (opts.id) {
|
|
71
|
+
const state = argsOrState;
|
|
72
|
+
resourceInputs["authorization"] = state ? state.authorization : undefined;
|
|
73
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
74
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
75
|
+
resourceInputs["serviceEndpointName"] = state ? state.serviceEndpointName : undefined;
|
|
76
|
+
resourceInputs["token"] = state ? state.token : undefined;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
const args = argsOrState;
|
|
80
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'projectId'");
|
|
82
|
+
}
|
|
83
|
+
if ((!args || args.serviceEndpointName === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'serviceEndpointName'");
|
|
85
|
+
}
|
|
86
|
+
if ((!args || args.token === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'token'");
|
|
88
|
+
}
|
|
89
|
+
resourceInputs["authorization"] = args ? args.authorization : undefined;
|
|
90
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
91
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
92
|
+
resourceInputs["serviceEndpointName"] = args ? args.serviceEndpointName : undefined;
|
|
93
|
+
resourceInputs["token"] = (args === null || args === void 0 ? void 0 : args.token) ? pulumi.secret(args.token) : undefined;
|
|
94
|
+
}
|
|
95
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
96
|
+
const secretOpts = { additionalSecretOutputs: ["token"] };
|
|
97
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
98
|
+
super(ServiceEndpointSonarCloud.__pulumiType, name, resourceInputs, opts);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.ServiceEndpointSonarCloud = ServiceEndpointSonarCloud;
|
|
102
|
+
/** @internal */
|
|
103
|
+
ServiceEndpointSonarCloud.__pulumiType = 'azuredevops:index/serviceEndpointSonarCloud:ServiceEndpointSonarCloud';
|
|
104
|
+
//# sourceMappingURL=serviceEndpointSonarCloud.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceEndpointSonarCloud.js","sourceRoot":"","sources":["../serviceEndpointSonarCloud.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IA4BD,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAA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AqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,OAAO,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AArFL,8DAsFC;AAxEG,gBAAgB;AACO,sCAAY,GAAG,uEAAuE,CAAC"}
|
|
@@ -43,6 +43,28 @@ const utilities = require("./utilities");
|
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
45
|
class ServiceEndpointSonarQube extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing ServiceEndpointSonarQube resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, state, opts) {
|
|
56
|
+
return new ServiceEndpointSonarQube(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of ServiceEndpointSonarQube. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === ServiceEndpointSonarQube.__pulumiType;
|
|
67
|
+
}
|
|
46
68
|
constructor(name, argsOrState, opts) {
|
|
47
69
|
let resourceInputs = {};
|
|
48
70
|
opts = opts || {};
|
|
@@ -74,35 +96,15 @@ class ServiceEndpointSonarQube extends pulumi.CustomResource {
|
|
|
74
96
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
75
97
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
76
98
|
resourceInputs["serviceEndpointName"] = args ? args.serviceEndpointName : undefined;
|
|
77
|
-
resourceInputs["token"] = args ? args.token : undefined;
|
|
99
|
+
resourceInputs["token"] = (args === null || args === void 0 ? void 0 : args.token) ? pulumi.secret(args.token) : undefined;
|
|
78
100
|
resourceInputs["url"] = args ? args.url : undefined;
|
|
79
101
|
resourceInputs["tokenHash"] = undefined /*out*/;
|
|
80
102
|
}
|
|
81
103
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
|
+
const secretOpts = { additionalSecretOutputs: ["token", "tokenHash"] };
|
|
105
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
82
106
|
super(ServiceEndpointSonarQube.__pulumiType, name, resourceInputs, opts);
|
|
83
107
|
}
|
|
84
|
-
/**
|
|
85
|
-
* Get an existing ServiceEndpointSonarQube resource's state with the given name, ID, and optional extra
|
|
86
|
-
* properties used to qualify the lookup.
|
|
87
|
-
*
|
|
88
|
-
* @param name The _unique_ name of the resulting resource.
|
|
89
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
90
|
-
* @param state Any extra arguments used during the lookup.
|
|
91
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
92
|
-
*/
|
|
93
|
-
static get(name, id, state, opts) {
|
|
94
|
-
return new ServiceEndpointSonarQube(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Returns true if the given object is an instance of ServiceEndpointSonarQube. This is designed to work even
|
|
98
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
99
|
-
*/
|
|
100
|
-
static isInstance(obj) {
|
|
101
|
-
if (obj === undefined || obj === null) {
|
|
102
|
-
return false;
|
|
103
|
-
}
|
|
104
|
-
return obj['__pulumiType'] === ServiceEndpointSonarQube.__pulumiType;
|
|
105
|
-
}
|
|
106
108
|
}
|
|
107
109
|
exports.ServiceEndpointSonarQube = ServiceEndpointSonarQube;
|
|
108
110
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceEndpointSonarQube.js","sourceRoot":"","sources":["../serviceEndpointSonarQube.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"serviceEndpointSonarQube.js","sourceRoot":"","sources":["../serviceEndpointSonarQube.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAA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