@pulumi/pulumiservice 0.40.0 → 0.41.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.
Files changed (225) hide show
  1. package/config/vars.js +1 -1
  2. package/config/vars.js.map +1 -1
  3. package/index.d.ts +2 -1
  4. package/index.d.ts.map +1 -1
  5. package/index.js +3 -1
  6. package/index.js.map +1 -1
  7. package/package.json +2 -2
  8. package/provider.js +1 -1
  9. package/provider.js.map +1 -1
  10. package/v1/agents/index.d.ts +7 -0
  11. package/v1/agents/index.d.ts.map +1 -0
  12. package/v1/agents/index.js +49 -0
  13. package/v1/agents/index.js.map +1 -0
  14. package/v1/agents/pool.d.ts +74 -0
  15. package/v1/agents/pool.d.ts.map +1 -0
  16. package/v1/agents/pool.js +101 -0
  17. package/v1/agents/pool.js.map +1 -0
  18. package/v1/agents/task.d.ts +158 -0
  19. package/v1/agents/task.d.ts.map +1 -0
  20. package/v1/agents/task.js +127 -0
  21. package/v1/agents/task.js.map +1 -0
  22. package/v1/auditLogExportConfiguration.d.ts +58 -0
  23. package/v1/auditLogExportConfiguration.d.ts.map +1 -0
  24. package/v1/auditLogExportConfiguration.js +95 -0
  25. package/v1/auditLogExportConfiguration.js.map +1 -0
  26. package/v1/auth/index.d.ts +10 -0
  27. package/v1/auth/index.d.ts.map +1 -0
  28. package/v1/auth/index.js +53 -0
  29. package/v1/auth/index.js.map +1 -0
  30. package/v1/auth/oidcIssuer.d.ts +102 -0
  31. package/v1/auth/oidcIssuer.d.ts.map +1 -0
  32. package/v1/auth/oidcIssuer.js +107 -0
  33. package/v1/auth/oidcIssuer.js.map +1 -0
  34. package/v1/auth/policy.d.ts +81 -0
  35. package/v1/auth/policy.d.ts.map +1 -0
  36. package/v1/auth/policy.js +109 -0
  37. package/v1/auth/policy.js.map +1 -0
  38. package/v1/auth/saml.d.ts +72 -0
  39. package/v1/auth/saml.d.ts.map +1 -0
  40. package/v1/auth/saml.js +96 -0
  41. package/v1/auth/saml.js.map +1 -0
  42. package/v1/defaultOrganization.d.ts +50 -0
  43. package/v1/defaultOrganization.d.ts.map +1 -0
  44. package/v1/defaultOrganization.js +85 -0
  45. package/v1/defaultOrganization.js.map +1 -0
  46. package/v1/deployments/index.d.ts +7 -0
  47. package/v1/deployments/index.d.ts.map +1 -0
  48. package/v1/deployments/index.js +49 -0
  49. package/v1/deployments/index.js.map +1 -0
  50. package/v1/deployments/scheduledDeployment.d.ts +108 -0
  51. package/v1/deployments/scheduledDeployment.d.ts.map +1 -0
  52. package/v1/deployments/scheduledDeployment.js +112 -0
  53. package/v1/deployments/scheduledDeployment.js.map +1 -0
  54. package/v1/deployments/settings.d.ts +118 -0
  55. package/v1/deployments/settings.d.ts.map +1 -0
  56. package/v1/deployments/settings.js +109 -0
  57. package/v1/deployments/settings.js.map +1 -0
  58. package/v1/esc/environment.d.ts +54 -0
  59. package/v1/esc/environment.d.ts.map +1 -0
  60. package/v1/esc/environment.js +93 -0
  61. package/v1/esc/environment.js.map +1 -0
  62. package/v1/esc/environmentDraft.d.ts +62 -0
  63. package/v1/esc/environmentDraft.d.ts.map +1 -0
  64. package/v1/esc/environmentDraft.js +97 -0
  65. package/v1/esc/environmentDraft.js.map +1 -0
  66. package/v1/esc/environmentSchedule.d.ts +108 -0
  67. package/v1/esc/environmentSchedule.d.ts.map +1 -0
  68. package/v1/esc/environmentSchedule.js +112 -0
  69. package/v1/esc/environmentSchedule.js.map +1 -0
  70. package/v1/esc/environmentSettings.d.ts +54 -0
  71. package/v1/esc/environmentSettings.d.ts.map +1 -0
  72. package/v1/esc/environmentSettings.js +91 -0
  73. package/v1/esc/environmentSettings.js.map +1 -0
  74. package/v1/esc/environmentTag.d.ts +78 -0
  75. package/v1/esc/environmentTag.d.ts.map +1 -0
  76. package/v1/esc/environmentTag.js +107 -0
  77. package/v1/esc/environmentTag.js.map +1 -0
  78. package/v1/esc/index.d.ts +25 -0
  79. package/v1/esc/index.d.ts.map +1 -0
  80. package/v1/esc/index.js +73 -0
  81. package/v1/esc/index.js.map +1 -0
  82. package/v1/esc/openEnvironmentRequest.d.ts +66 -0
  83. package/v1/esc/openEnvironmentRequest.d.ts.map +1 -0
  84. package/v1/esc/openEnvironmentRequest.js +100 -0
  85. package/v1/esc/openEnvironmentRequest.js.map +1 -0
  86. package/v1/esc/revisionTag.d.ts +78 -0
  87. package/v1/esc/revisionTag.d.ts.map +1 -0
  88. package/v1/esc/revisionTag.js +104 -0
  89. package/v1/esc/revisionTag.js.map +1 -0
  90. package/v1/esc/webhook.d.ts +140 -0
  91. package/v1/esc/webhook.d.ts.map +1 -0
  92. package/v1/esc/webhook.js +128 -0
  93. package/v1/esc/webhook.js.map +1 -0
  94. package/v1/gate.d.ts +78 -0
  95. package/v1/gate.d.ts.map +1 -0
  96. package/v1/gate.js +103 -0
  97. package/v1/gate.js.map +1 -0
  98. package/v1/index.d.ts +36 -0
  99. package/v1/index.d.ts.map +1 -0
  100. package/v1/index.js +94 -0
  101. package/v1/index.js.map +1 -0
  102. package/v1/insights/account.d.ts +110 -0
  103. package/v1/insights/account.d.ts.map +1 -0
  104. package/v1/insights/account.js +112 -0
  105. package/v1/insights/account.js.map +1 -0
  106. package/v1/insights/index.d.ts +7 -0
  107. package/v1/insights/index.d.ts.map +1 -0
  108. package/v1/insights/index.js +49 -0
  109. package/v1/insights/index.js.map +1 -0
  110. package/v1/insights/scheduledScanSettings.d.ts +90 -0
  111. package/v1/insights/scheduledScanSettings.d.ts.map +1 -0
  112. package/v1/insights/scheduledScanSettings.js +100 -0
  113. package/v1/insights/scheduledScanSettings.js.map +1 -0
  114. package/v1/integrations/azureDevOpsIntegration.d.ts +86 -0
  115. package/v1/integrations/azureDevOpsIntegration.d.ts.map +1 -0
  116. package/v1/integrations/azureDevOpsIntegration.js +101 -0
  117. package/v1/integrations/azureDevOpsIntegration.js.map +1 -0
  118. package/v1/integrations/bitBucketIntegration.d.ts +98 -0
  119. package/v1/integrations/bitBucketIntegration.d.ts.map +1 -0
  120. package/v1/integrations/bitBucketIntegration.js +107 -0
  121. package/v1/integrations/bitBucketIntegration.js.map +1 -0
  122. package/v1/integrations/customVCSIntegration.d.ts +98 -0
  123. package/v1/integrations/customVCSIntegration.d.ts.map +1 -0
  124. package/v1/integrations/customVCSIntegration.js +112 -0
  125. package/v1/integrations/customVCSIntegration.js.map +1 -0
  126. package/v1/integrations/customVCSRepository.d.ts +50 -0
  127. package/v1/integrations/customVCSRepository.d.ts.map +1 -0
  128. package/v1/integrations/customVCSRepository.js +90 -0
  129. package/v1/integrations/customVCSRepository.js.map +1 -0
  130. package/v1/integrations/gitHubEnterpriseIntegration.d.ts +118 -0
  131. package/v1/integrations/gitHubEnterpriseIntegration.d.ts.map +1 -0
  132. package/v1/integrations/gitHubEnterpriseIntegration.js +115 -0
  133. package/v1/integrations/gitHubEnterpriseIntegration.js.map +1 -0
  134. package/v1/integrations/gitHubIntegration.d.ts +118 -0
  135. package/v1/integrations/gitHubIntegration.d.ts.map +1 -0
  136. package/v1/integrations/gitHubIntegration.js +115 -0
  137. package/v1/integrations/gitHubIntegration.js.map +1 -0
  138. package/v1/integrations/gitLabIntegration.d.ts +102 -0
  139. package/v1/integrations/gitLabIntegration.d.ts.map +1 -0
  140. package/v1/integrations/gitLabIntegration.js +111 -0
  141. package/v1/integrations/gitLabIntegration.js.map +1 -0
  142. package/v1/integrations/index.d.ts +22 -0
  143. package/v1/integrations/index.d.ts.map +1 -0
  144. package/v1/integrations/index.js +69 -0
  145. package/v1/integrations/index.js.map +1 -0
  146. package/v1/orgTemplateCollection.d.ts +82 -0
  147. package/v1/orgTemplateCollection.d.ts.map +1 -0
  148. package/v1/orgTemplateCollection.js +101 -0
  149. package/v1/orgTemplateCollection.js.map +1 -0
  150. package/v1/organizationMember.d.ts +79 -0
  151. package/v1/organizationMember.d.ts.map +1 -0
  152. package/v1/organizationMember.js +106 -0
  153. package/v1/organizationMember.js.map +1 -0
  154. package/v1/organizationWebhook.d.ts +146 -0
  155. package/v1/organizationWebhook.d.ts.map +1 -0
  156. package/v1/organizationWebhook.js +128 -0
  157. package/v1/organizationWebhook.js.map +1 -0
  158. package/v1/policyGroup.d.ts +86 -0
  159. package/v1/policyGroup.d.ts.map +1 -0
  160. package/v1/policyGroup.js +103 -0
  161. package/v1/policyGroup.js.map +1 -0
  162. package/v1/role.d.ts +114 -0
  163. package/v1/role.d.ts.map +1 -0
  164. package/v1/role.js +106 -0
  165. package/v1/role.js.map +1 -0
  166. package/v1/services/index.d.ts +7 -0
  167. package/v1/services/index.d.ts.map +1 -0
  168. package/v1/services/index.js +49 -0
  169. package/v1/services/index.js.map +1 -0
  170. package/v1/services/item.d.ts +67 -0
  171. package/v1/services/item.d.ts.map +1 -0
  172. package/v1/services/item.js +102 -0
  173. package/v1/services/item.js.map +1 -0
  174. package/v1/services/service.d.ts +71 -0
  175. package/v1/services/service.d.ts.map +1 -0
  176. package/v1/services/service.js +108 -0
  177. package/v1/services/service.js.map +1 -0
  178. package/v1/stacks/config.d.ts +78 -0
  179. package/v1/stacks/config.d.ts.map +1 -0
  180. package/v1/stacks/config.js +102 -0
  181. package/v1/stacks/config.js.map +1 -0
  182. package/v1/stacks/index.d.ts +13 -0
  183. package/v1/stacks/index.d.ts.map +1 -0
  184. package/v1/stacks/index.js +57 -0
  185. package/v1/stacks/index.js.map +1 -0
  186. package/v1/stacks/stack.d.ts +105 -0
  187. package/v1/stacks/stack.d.ts.map +1 -0
  188. package/v1/stacks/stack.js +110 -0
  189. package/v1/stacks/stack.js.map +1 -0
  190. package/v1/stacks/tag.d.ts +54 -0
  191. package/v1/stacks/tag.d.ts.map +1 -0
  192. package/v1/stacks/tag.js +97 -0
  193. package/v1/stacks/tag.js.map +1 -0
  194. package/v1/stacks/webhook.d.ts +148 -0
  195. package/v1/stacks/webhook.d.ts.map +1 -0
  196. package/v1/stacks/webhook.js +136 -0
  197. package/v1/stacks/webhook.js.map +1 -0
  198. package/v1/teams/index.d.ts +7 -0
  199. package/v1/teams/index.d.ts.map +1 -0
  200. package/v1/teams/index.js +49 -0
  201. package/v1/teams/index.js.map +1 -0
  202. package/v1/teams/role.d.ts +47 -0
  203. package/v1/teams/role.d.ts.map +1 -0
  204. package/v1/teams/role.js +90 -0
  205. package/v1/teams/role.js.map +1 -0
  206. package/v1/teams/team.d.ts +98 -0
  207. package/v1/teams/team.d.ts.map +1 -0
  208. package/v1/teams/team.js +113 -0
  209. package/v1/teams/team.js.map +1 -0
  210. package/v1/tokens/index.d.ts +10 -0
  211. package/v1/tokens/index.d.ts.map +1 -0
  212. package/v1/tokens/index.js +53 -0
  213. package/v1/tokens/index.js.map +1 -0
  214. package/v1/tokens/orgToken.d.ts +74 -0
  215. package/v1/tokens/orgToken.d.ts.map +1 -0
  216. package/v1/tokens/orgToken.js +109 -0
  217. package/v1/tokens/orgToken.js.map +1 -0
  218. package/v1/tokens/personalToken.d.ts +54 -0
  219. package/v1/tokens/personalToken.d.ts.map +1 -0
  220. package/v1/tokens/personalToken.js +92 -0
  221. package/v1/tokens/personalToken.js.map +1 -0
  222. package/v1/tokens/teamToken.d.ts +70 -0
  223. package/v1/tokens/teamToken.d.ts.map +1 -0
  224. package/v1/tokens/teamToken.js +108 -0
  225. package/v1/tokens/teamToken.js.map +1 -0
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.AzureDevOpsIntegration = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ /**
32
+ * Updates an existing Azure DevOps integration's settings. Can modify the Azure DevOps organization, project, or authentication configuration.
33
+ */
34
+ class AzureDevOpsIntegration extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing AzureDevOpsIntegration resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, opts) {
44
+ return new AzureDevOpsIntegration(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'pulumiservice:v1/integrations:AzureDevOpsIntegration';
48
+ /**
49
+ * Returns true if the given object is an instance of AzureDevOpsIntegration. 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) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === AzureDevOpsIntegration.__pulumiType;
57
+ }
58
+ /**
59
+ * Create a AzureDevOpsIntegration resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name, args, opts) {
66
+ let resourceInputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if (args?.integrationId === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'integrationId'");
71
+ }
72
+ if (args?.orgName === undefined && !opts.urn) {
73
+ throw new Error("Missing required property 'orgName'");
74
+ }
75
+ resourceInputs["disableDetailedDiff"] = args?.disableDetailedDiff;
76
+ resourceInputs["disableNeoSummaries"] = args?.disableNeoSummaries;
77
+ resourceInputs["disablePRComments"] = args?.disablePRComments;
78
+ resourceInputs["integrationId"] = args?.integrationId;
79
+ resourceInputs["orgName"] = args?.orgName;
80
+ resourceInputs["authUser"] = undefined /*out*/;
81
+ resourceInputs["installed"] = undefined /*out*/;
82
+ resourceInputs["organization"] = undefined /*out*/;
83
+ resourceInputs["project"] = undefined /*out*/;
84
+ resourceInputs["valid"] = undefined /*out*/;
85
+ }
86
+ else {
87
+ resourceInputs["authUser"] = undefined /*out*/;
88
+ resourceInputs["disableDetailedDiff"] = undefined /*out*/;
89
+ resourceInputs["disableNeoSummaries"] = undefined /*out*/;
90
+ resourceInputs["disablePRComments"] = undefined /*out*/;
91
+ resourceInputs["installed"] = undefined /*out*/;
92
+ resourceInputs["organization"] = undefined /*out*/;
93
+ resourceInputs["project"] = undefined /*out*/;
94
+ resourceInputs["valid"] = undefined /*out*/;
95
+ }
96
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
97
+ super(AzureDevOpsIntegration.__pulumiType, name, resourceInputs, opts);
98
+ }
99
+ }
100
+ exports.AzureDevOpsIntegration = AzureDevOpsIntegration;
101
+ //# sourceMappingURL=azureDevOpsIntegration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureDevOpsIntegration.js","sourceRoot":"","sources":["../../../v1/integrations/azureDevOpsIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2DAA6C;AAE7C;;GAEG;AACH,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aAAa,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;aAAM;YACH,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAnGL,wDAoGC"}
@@ -0,0 +1,98 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Updates an existing BitBucket integration's settings, such as PR comment preferences and AI summary options.
4
+ */
5
+ export declare class BitBucketIntegration extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing BitBucketIntegration resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BitBucketIntegration;
15
+ /**
16
+ * Returns true if the given object is an instance of BitBucketIntegration. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is BitBucketIntegration;
20
+ /**
21
+ * The authentication type used: 'workspace_token', 'user_token', or 'pat'.
22
+ */
23
+ readonly authType: pulumi.Output<string | undefined>;
24
+ /**
25
+ * The user whose BitBucket OAuth token is being used for authentication, if user-based auth is configured.
26
+ */
27
+ readonly authUser: pulumi.Output<any | undefined>;
28
+ /**
29
+ * URL of the BitBucket workspace avatar image.
30
+ */
31
+ readonly avatarUrl: pulumi.Output<string | undefined>;
32
+ /**
33
+ * Whether detailed property-level diffs are disabled for PR comments.
34
+ */
35
+ readonly disableDetailedDiff: pulumi.Output<boolean>;
36
+ /**
37
+ * Whether Neo AI summaries are disabled for this integration.
38
+ */
39
+ readonly disableNeoSummaries: pulumi.Output<boolean>;
40
+ /**
41
+ * Whether PR comments are disabled for this integration.
42
+ */
43
+ readonly disablePRComments: pulumi.Output<boolean>;
44
+ /**
45
+ * Whether this integration is fully installed and operational.
46
+ */
47
+ readonly installed: pulumi.Output<boolean>;
48
+ /**
49
+ * Whether the integration's credentials are currently valid.
50
+ */
51
+ readonly valid: pulumi.Output<boolean>;
52
+ /**
53
+ * Display name of the BitBucket workspace.
54
+ */
55
+ readonly workspaceName: pulumi.Output<string | undefined>;
56
+ /**
57
+ * The slug (URL-friendly name) of the linked BitBucket workspace.
58
+ */
59
+ readonly workspaceSlug: pulumi.Output<string>;
60
+ /**
61
+ * The UUID of the linked BitBucket workspace.
62
+ */
63
+ readonly workspaceUuid: pulumi.Output<string>;
64
+ /**
65
+ * Create a BitBucketIntegration resource with the given unique name, arguments, and options.
66
+ *
67
+ * @param name The _unique_ name of the resource.
68
+ * @param args The arguments to use to populate this resource's properties.
69
+ * @param opts A bag of options that control this resource's behavior.
70
+ */
71
+ constructor(name: string, args: BitBucketIntegrationArgs, opts?: pulumi.CustomResourceOptions);
72
+ }
73
+ /**
74
+ * The set of arguments for constructing a BitBucketIntegration resource.
75
+ */
76
+ export interface BitBucketIntegrationArgs {
77
+ /**
78
+ * If true, disable detailed property-level diffs in PR comments.
79
+ */
80
+ disableDetailedDiff?: pulumi.Input<boolean | undefined>;
81
+ /**
82
+ * If true, disable Neo AI-generated deployment summaries in PR comments.
83
+ */
84
+ disableNeoSummaries?: pulumi.Input<boolean | undefined>;
85
+ /**
86
+ * If true, disable automatic PR comments on deployments.
87
+ */
88
+ disablePRComments?: pulumi.Input<boolean | undefined>;
89
+ /**
90
+ * The BitBucket integration identifier
91
+ */
92
+ integrationId: pulumi.Input<string>;
93
+ /**
94
+ * The organization name
95
+ */
96
+ orgName: pulumi.Input<string>;
97
+ }
98
+ //# sourceMappingURL=bitBucketIntegration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bitBucketIntegration.d.ts","sourceRoot":"","sources":["../../../v1/integrations/bitBucketIntegration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,oBAAoB;IAOvH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,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,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACxD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.BitBucketIntegration = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ /**
32
+ * Updates an existing BitBucket integration's settings, such as PR comment preferences and AI summary options.
33
+ */
34
+ class BitBucketIntegration extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing BitBucketIntegration resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, opts) {
44
+ return new BitBucketIntegration(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'pulumiservice:v1/integrations:BitBucketIntegration';
48
+ /**
49
+ * Returns true if the given object is an instance of BitBucketIntegration. 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) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === BitBucketIntegration.__pulumiType;
57
+ }
58
+ /**
59
+ * Create a BitBucketIntegration resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name, args, opts) {
66
+ let resourceInputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if (args?.integrationId === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'integrationId'");
71
+ }
72
+ if (args?.orgName === undefined && !opts.urn) {
73
+ throw new Error("Missing required property 'orgName'");
74
+ }
75
+ resourceInputs["disableDetailedDiff"] = args?.disableDetailedDiff;
76
+ resourceInputs["disableNeoSummaries"] = args?.disableNeoSummaries;
77
+ resourceInputs["disablePRComments"] = args?.disablePRComments;
78
+ resourceInputs["integrationId"] = args?.integrationId;
79
+ resourceInputs["orgName"] = args?.orgName;
80
+ resourceInputs["authType"] = undefined /*out*/;
81
+ resourceInputs["authUser"] = undefined /*out*/;
82
+ resourceInputs["avatarUrl"] = undefined /*out*/;
83
+ resourceInputs["installed"] = undefined /*out*/;
84
+ resourceInputs["valid"] = undefined /*out*/;
85
+ resourceInputs["workspaceName"] = undefined /*out*/;
86
+ resourceInputs["workspaceSlug"] = undefined /*out*/;
87
+ resourceInputs["workspaceUuid"] = undefined /*out*/;
88
+ }
89
+ else {
90
+ resourceInputs["authType"] = undefined /*out*/;
91
+ resourceInputs["authUser"] = undefined /*out*/;
92
+ resourceInputs["avatarUrl"] = undefined /*out*/;
93
+ resourceInputs["disableDetailedDiff"] = undefined /*out*/;
94
+ resourceInputs["disableNeoSummaries"] = undefined /*out*/;
95
+ resourceInputs["disablePRComments"] = undefined /*out*/;
96
+ resourceInputs["installed"] = undefined /*out*/;
97
+ resourceInputs["valid"] = undefined /*out*/;
98
+ resourceInputs["workspaceName"] = undefined /*out*/;
99
+ resourceInputs["workspaceSlug"] = undefined /*out*/;
100
+ resourceInputs["workspaceUuid"] = undefined /*out*/;
101
+ }
102
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
103
+ super(BitBucketIntegration.__pulumiType, name, resourceInputs, opts);
104
+ }
105
+ }
106
+ exports.BitBucketIntegration = BitBucketIntegration;
107
+ //# sourceMappingURL=bitBucketIntegration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bitBucketIntegration.js","sourceRoot":"","sources":["../../../v1/integrations/bitBucketIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2DAA6C;AAE7C;;GAEG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,oD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VCS integration for an organization. Custom VCS integrations allow connecting self-hosted or third-party version control systems (e.g. Gitea, Forgejo, Bitbucket Server) to Pulumi Deployments. Credentials are managed via ESC environments, and deployments are triggered by inbound webhooks. Returns the created integration including its webhook URL and HMAC secret for signature verification.
4
+ */
5
+ export declare class CustomVCSIntegration extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing CustomVCSIntegration resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CustomVCSIntegration;
15
+ /**
16
+ * Returns true if the given object is an instance of CustomVCSIntegration. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is CustomVCSIntegration;
20
+ /**
21
+ * URL prefix for repositories covered by this integration
22
+ */
23
+ readonly baseUrl: pulumi.Output<string>;
24
+ /**
25
+ * ISO 8601 timestamp of when the integration was created
26
+ */
27
+ readonly created: pulumi.Output<string>;
28
+ /**
29
+ * ESC environment reference in 'project/envName' format containing VCS credentials
30
+ */
31
+ readonly environment: pulumi.Output<string>;
32
+ /**
33
+ * Unique identifier (UUID) for this integration
34
+ */
35
+ readonly integrationId: pulumi.Output<string>;
36
+ /**
37
+ * ISO 8601 timestamp of when the integration was last modified
38
+ */
39
+ readonly modified: pulumi.Output<string>;
40
+ /**
41
+ * Human-readable name for the integration
42
+ */
43
+ readonly name: pulumi.Output<string>;
44
+ /**
45
+ * List of repositories configured on this integration
46
+ */
47
+ readonly repositories: pulumi.Output<any[] | undefined>;
48
+ /**
49
+ * Version control system type
50
+ */
51
+ readonly vcsType: pulumi.Output<string>;
52
+ /**
53
+ * HMAC secret for webhook signature verification. Only returned on integration creation; subsequent GET requests omit this field.
54
+ */
55
+ readonly webhookSecret: pulumi.Output<string | undefined>;
56
+ /**
57
+ * Full webhook endpoint URL that the external VCS should POST events to. This URL is generated by the service and includes the integration ID.
58
+ */
59
+ readonly webhookUrl: pulumi.Output<string | undefined>;
60
+ /**
61
+ * Create a CustomVCSIntegration resource with the given unique name, arguments, and options.
62
+ *
63
+ * @param name The _unique_ name of the resource.
64
+ * @param args The arguments to use to populate this resource's properties.
65
+ * @param opts A bag of options that control this resource's behavior.
66
+ */
67
+ constructor(name: string, args: CustomVCSIntegrationArgs, opts?: pulumi.CustomResourceOptions);
68
+ }
69
+ /**
70
+ * The set of arguments for constructing a CustomVCSIntegration resource.
71
+ */
72
+ export interface CustomVCSIntegrationArgs {
73
+ /**
74
+ * URL prefix for repositories covered by this integration (e.g. 'https://gitea.example.com/myorg'). Used to match repositories to integrations.
75
+ */
76
+ baseUrl: pulumi.Input<string>;
77
+ /**
78
+ * ESC environment reference in 'project/envName' format containing VCS credentials (e.g. SSH keys, access tokens) used for repository operations
79
+ */
80
+ environment: pulumi.Input<string>;
81
+ /**
82
+ * The custom VCS integration identifier
83
+ */
84
+ integrationId?: pulumi.Input<string | undefined>;
85
+ /**
86
+ * Human-readable name for the integration, unique within the organization (e.g. 'Gitea Production')
87
+ */
88
+ name: pulumi.Input<string>;
89
+ /**
90
+ * The organization name
91
+ */
92
+ orgName: pulumi.Input<string>;
93
+ /**
94
+ * Version control system type. Defaults to 'git' if not specified.
95
+ */
96
+ vcsType?: pulumi.Input<string | undefined>;
97
+ }
98
+ //# sourceMappingURL=customVCSIntegration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customVCSIntegration.d.ts","sourceRoot":"","sources":["../../../v1/integrations/customVCSIntegration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAA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MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC9C"}
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.CustomVCSIntegration = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ /**
32
+ * Creates a new custom VCS integration for an organization. Custom VCS integrations allow connecting self-hosted or third-party version control systems (e.g. Gitea, Forgejo, Bitbucket Server) to Pulumi Deployments. Credentials are managed via ESC environments, and deployments are triggered by inbound webhooks. Returns the created integration including its webhook URL and HMAC secret for signature verification.
33
+ */
34
+ class CustomVCSIntegration extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing CustomVCSIntegration resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, opts) {
44
+ return new CustomVCSIntegration(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'pulumiservice:v1/integrations:CustomVCSIntegration';
48
+ /**
49
+ * Returns true if the given object is an instance of CustomVCSIntegration. 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) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === CustomVCSIntegration.__pulumiType;
57
+ }
58
+ /**
59
+ * Create a CustomVCSIntegration resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name, args, opts) {
66
+ let resourceInputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if (args?.baseUrl === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'baseUrl'");
71
+ }
72
+ if (args?.environment === undefined && !opts.urn) {
73
+ throw new Error("Missing required property 'environment'");
74
+ }
75
+ if (args?.name === undefined && !opts.urn) {
76
+ throw new Error("Missing required property 'name'");
77
+ }
78
+ if (args?.orgName === undefined && !opts.urn) {
79
+ throw new Error("Missing required property 'orgName'");
80
+ }
81
+ resourceInputs["baseUrl"] = args?.baseUrl;
82
+ resourceInputs["environment"] = args?.environment;
83
+ resourceInputs["integrationId"] = args?.integrationId;
84
+ resourceInputs["name"] = args?.name;
85
+ resourceInputs["orgName"] = args?.orgName;
86
+ resourceInputs["vcsType"] = args?.vcsType;
87
+ resourceInputs["created"] = undefined /*out*/;
88
+ resourceInputs["modified"] = undefined /*out*/;
89
+ resourceInputs["repositories"] = undefined /*out*/;
90
+ resourceInputs["webhookSecret"] = undefined /*out*/;
91
+ resourceInputs["webhookUrl"] = undefined /*out*/;
92
+ }
93
+ else {
94
+ resourceInputs["baseUrl"] = undefined /*out*/;
95
+ resourceInputs["created"] = undefined /*out*/;
96
+ resourceInputs["environment"] = undefined /*out*/;
97
+ resourceInputs["integrationId"] = undefined /*out*/;
98
+ resourceInputs["modified"] = undefined /*out*/;
99
+ resourceInputs["name"] = undefined /*out*/;
100
+ resourceInputs["repositories"] = undefined /*out*/;
101
+ resourceInputs["vcsType"] = undefined /*out*/;
102
+ resourceInputs["webhookSecret"] = undefined /*out*/;
103
+ resourceInputs["webhookUrl"] = undefined /*out*/;
104
+ }
105
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
106
+ const secretOpts = { additionalSecretOutputs: ["webhookSecret"] };
107
+ opts = pulumi.mergeOptions(opts, secretOpts);
108
+ super(CustomVCSIntegration.__pulumiType, name, resourceInputs, opts);
109
+ }
110
+ }
111
+ exports.CustomVCSIntegration = CustomVCSIntegration;
112
+ //# sourceMappingURL=customVCSIntegration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customVCSIntegration.js","sourceRoot":"","sources":["../../../v1/integrations/customVCSIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2D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CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC;QAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAtHL,oDAuHC"}
@@ -0,0 +1,50 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Adds a repository to a custom VCS integration. The repository name must be unique within the integration. Returns 409 Conflict if a repository with the same name is already configured.
4
+ */
5
+ export declare class CustomVCSRepository extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing CustomVCSRepository resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CustomVCSRepository;
15
+ /**
16
+ * Returns true if the given object is an instance of CustomVCSRepository. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is CustomVCSRepository;
20
+ /**
21
+ * Create a CustomVCSRepository resource with the given unique name, arguments, and options.
22
+ *
23
+ * @param name The _unique_ name of the resource.
24
+ * @param args The arguments to use to populate this resource's properties.
25
+ * @param opts A bag of options that control this resource's behavior.
26
+ */
27
+ constructor(name: string, args: CustomVCSRepositoryArgs, opts?: pulumi.CustomResourceOptions);
28
+ }
29
+ /**
30
+ * The set of arguments for constructing a CustomVCSRepository resource.
31
+ */
32
+ export interface CustomVCSRepositoryArgs {
33
+ /**
34
+ * Human-readable display name for the repository. If not provided, the name is used for display purposes.
35
+ */
36
+ displayName?: pulumi.Input<string | undefined>;
37
+ /**
38
+ * The custom VCS integration identifier
39
+ */
40
+ integrationId: pulumi.Input<string>;
41
+ /**
42
+ * Repository name or path, joined with the integration's base URL to form the clone URL (e.g. 'myrepo' or 'subgroup/myrepo')
43
+ */
44
+ name: pulumi.Input<string>;
45
+ /**
46
+ * The organization name
47
+ */
48
+ orgName: pulumi.Input<string>;
49
+ }
50
+ //# sourceMappingURL=customVCSRepository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customVCSRepository.d.ts","sourceRoot":"","sources":["../../../v1/integrations/customVCSRepository.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mBAAmB;IAOtH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mBAAmB;IAQ9D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsB/F;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}