@pulumi/artifactory 0.4.0 → 0.5.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 (220) hide show
  1. package/alpineRepository.d.ts +27 -0
  2. package/alpineRepository.js +4 -0
  3. package/alpineRepository.js.map +1 -1
  4. package/artifactPropertyWebhook.d.ts +189 -0
  5. package/artifactPropertyWebhook.js +115 -0
  6. package/artifactPropertyWebhook.js.map +1 -0
  7. package/artifactWebhook.d.ts +191 -0
  8. package/artifactWebhook.js +117 -0
  9. package/artifactWebhook.js.map +1 -0
  10. package/artifactoryReleaseBundleWebhook.d.ts +186 -0
  11. package/artifactoryReleaseBundleWebhook.js +112 -0
  12. package/artifactoryReleaseBundleWebhook.js.map +1 -0
  13. package/buildWebhook.d.ts +186 -0
  14. package/buildWebhook.js +112 -0
  15. package/buildWebhook.js.map +1 -0
  16. package/debianRepository.d.ts +27 -0
  17. package/debianRepository.js +4 -0
  18. package/debianRepository.js.map +1 -1
  19. package/distributionWebhook.d.ts +190 -0
  20. package/distributionWebhook.js +116 -0
  21. package/distributionWebhook.js.map +1 -0
  22. package/dockerV1Repository.d.ts +27 -0
  23. package/dockerV1Repository.js +4 -0
  24. package/dockerV1Repository.js.map +1 -1
  25. package/dockerV2Repository.d.ts +27 -0
  26. package/dockerV2Repository.js +4 -0
  27. package/dockerV2Repository.js.map +1 -1
  28. package/dockerWebhook.d.ts +190 -0
  29. package/dockerWebhook.js +116 -0
  30. package/dockerWebhook.js.map +1 -0
  31. package/federatedAlpineRepository.d.ts +27 -0
  32. package/federatedAlpineRepository.js +4 -0
  33. package/federatedAlpineRepository.js.map +1 -1
  34. package/federatedBowerRepository.d.ts +27 -0
  35. package/federatedBowerRepository.js +4 -0
  36. package/federatedBowerRepository.js.map +1 -1
  37. package/federatedCargoRepository.d.ts +27 -0
  38. package/federatedCargoRepository.js +4 -0
  39. package/federatedCargoRepository.js.map +1 -1
  40. package/federatedChefRepository.d.ts +27 -0
  41. package/federatedChefRepository.js +4 -0
  42. package/federatedChefRepository.js.map +1 -1
  43. package/federatedCocoapodsRepository.d.ts +27 -0
  44. package/federatedCocoapodsRepository.js +4 -0
  45. package/federatedCocoapodsRepository.js.map +1 -1
  46. package/federatedComposerRepository.d.ts +27 -0
  47. package/federatedComposerRepository.js +4 -0
  48. package/federatedComposerRepository.js.map +1 -1
  49. package/federatedConanRepository.d.ts +27 -0
  50. package/federatedConanRepository.js +4 -0
  51. package/federatedConanRepository.js.map +1 -1
  52. package/federatedCondaRepository.d.ts +27 -0
  53. package/federatedCondaRepository.js +4 -0
  54. package/federatedCondaRepository.js.map +1 -1
  55. package/federatedCranRepository.d.ts +27 -0
  56. package/federatedCranRepository.js +4 -0
  57. package/federatedCranRepository.js.map +1 -1
  58. package/federatedDebianRepository.d.ts +27 -0
  59. package/federatedDebianRepository.js +4 -0
  60. package/federatedDebianRepository.js.map +1 -1
  61. package/federatedDockerRepository.d.ts +27 -0
  62. package/federatedDockerRepository.js +4 -0
  63. package/federatedDockerRepository.js.map +1 -1
  64. package/federatedGemsRepository.d.ts +27 -0
  65. package/federatedGemsRepository.js +4 -0
  66. package/federatedGemsRepository.js.map +1 -1
  67. package/federatedGenericRepository.d.ts +24 -0
  68. package/federatedGenericRepository.js +4 -0
  69. package/federatedGenericRepository.js.map +1 -1
  70. package/federatedGitltfsRepository.d.ts +27 -0
  71. package/federatedGitltfsRepository.js +4 -0
  72. package/federatedGitltfsRepository.js.map +1 -1
  73. package/federatedGoRepository.d.ts +27 -0
  74. package/federatedGoRepository.js +4 -0
  75. package/federatedGoRepository.js.map +1 -1
  76. package/federatedGradleRepository.d.ts +27 -0
  77. package/federatedGradleRepository.js +4 -0
  78. package/federatedGradleRepository.js.map +1 -1
  79. package/federatedHelmRepository.d.ts +27 -0
  80. package/federatedHelmRepository.js +4 -0
  81. package/federatedHelmRepository.js.map +1 -1
  82. package/federatedIvyRepository.d.ts +27 -0
  83. package/federatedIvyRepository.js +4 -0
  84. package/federatedIvyRepository.js.map +1 -1
  85. package/federatedMavenRepository.d.ts +27 -0
  86. package/federatedMavenRepository.js +4 -0
  87. package/federatedMavenRepository.js.map +1 -1
  88. package/federatedNpmRepository.d.ts +27 -0
  89. package/federatedNpmRepository.js +4 -0
  90. package/federatedNpmRepository.js.map +1 -1
  91. package/federatedNugetRepository.d.ts +27 -0
  92. package/federatedNugetRepository.js +4 -0
  93. package/federatedNugetRepository.js.map +1 -1
  94. package/federatedOpkgRepository.d.ts +27 -0
  95. package/federatedOpkgRepository.js +4 -0
  96. package/federatedOpkgRepository.js.map +1 -1
  97. package/federatedPuppetRepository.d.ts +27 -0
  98. package/federatedPuppetRepository.js +4 -0
  99. package/federatedPuppetRepository.js.map +1 -1
  100. package/federatedPypiRepository.d.ts +27 -0
  101. package/federatedPypiRepository.js +4 -0
  102. package/federatedPypiRepository.js.map +1 -1
  103. package/federatedRpmRepository.d.ts +27 -0
  104. package/federatedRpmRepository.js +4 -0
  105. package/federatedRpmRepository.js.map +1 -1
  106. package/federatedSbtRepository.d.ts +27 -0
  107. package/federatedSbtRepository.js +4 -0
  108. package/federatedSbtRepository.js.map +1 -1
  109. package/federatedVagrantRepository.d.ts +27 -0
  110. package/federatedVagrantRepository.js +4 -0
  111. package/federatedVagrantRepository.js.map +1 -1
  112. package/goRepository.d.ts +27 -0
  113. package/goRepository.js +4 -0
  114. package/goRepository.js.map +1 -1
  115. package/index.d.ts +8 -0
  116. package/index.js +40 -0
  117. package/index.js.map +1 -1
  118. package/localBowerRepository.d.ts +27 -0
  119. package/localBowerRepository.js +4 -0
  120. package/localBowerRepository.js.map +1 -1
  121. package/localChefRepository.d.ts +27 -0
  122. package/localChefRepository.js +4 -0
  123. package/localChefRepository.js.map +1 -1
  124. package/localCocoapodsRepository.d.ts +27 -0
  125. package/localCocoapodsRepository.js +4 -0
  126. package/localCocoapodsRepository.js.map +1 -1
  127. package/localComposerRepository.d.ts +27 -0
  128. package/localComposerRepository.js +4 -0
  129. package/localComposerRepository.js.map +1 -1
  130. package/localConanRepository.d.ts +27 -0
  131. package/localConanRepository.js +4 -0
  132. package/localConanRepository.js.map +1 -1
  133. package/localCranRepository.d.ts +27 -0
  134. package/localCranRepository.js +4 -0
  135. package/localCranRepository.js.map +1 -1
  136. package/localGemsRepository.d.ts +27 -0
  137. package/localGemsRepository.js +4 -0
  138. package/localGemsRepository.js.map +1 -1
  139. package/localGenericRepository.d.ts +24 -0
  140. package/localGenericRepository.js +4 -0
  141. package/localGenericRepository.js.map +1 -1
  142. package/localGitltfsRepository.d.ts +27 -0
  143. package/localGitltfsRepository.js +4 -0
  144. package/localGitltfsRepository.js.map +1 -1
  145. package/localGoRepository.d.ts +27 -0
  146. package/localGoRepository.js +4 -0
  147. package/localGoRepository.js.map +1 -1
  148. package/localGradleRepository.d.ts +27 -0
  149. package/localGradleRepository.js +4 -0
  150. package/localGradleRepository.js.map +1 -1
  151. package/localHelmRepository.d.ts +27 -0
  152. package/localHelmRepository.js +4 -0
  153. package/localHelmRepository.js.map +1 -1
  154. package/localIvyRepository.d.ts +27 -0
  155. package/localIvyRepository.js +4 -0
  156. package/localIvyRepository.js.map +1 -1
  157. package/localMavenRepository.d.ts +27 -0
  158. package/localMavenRepository.js +4 -0
  159. package/localMavenRepository.js.map +1 -1
  160. package/localNpmRepository.d.ts +27 -0
  161. package/localNpmRepository.js +4 -0
  162. package/localNpmRepository.js.map +1 -1
  163. package/localNugetRepository.d.ts +27 -0
  164. package/localNugetRepository.js +4 -0
  165. package/localNugetRepository.js.map +1 -1
  166. package/localOpkgRepository.d.ts +27 -0
  167. package/localOpkgRepository.js +4 -0
  168. package/localOpkgRepository.js.map +1 -1
  169. package/localPuppetRepository.d.ts +27 -0
  170. package/localPuppetRepository.js +4 -0
  171. package/localPuppetRepository.js.map +1 -1
  172. package/localPypiRepository.d.ts +27 -0
  173. package/localPypiRepository.js +4 -0
  174. package/localPypiRepository.js.map +1 -1
  175. package/localRpmRepository.d.ts +27 -0
  176. package/localRpmRepository.js +4 -0
  177. package/localRpmRepository.js.map +1 -1
  178. package/localSbtRepository.d.ts +27 -0
  179. package/localSbtRepository.js +4 -0
  180. package/localSbtRepository.js.map +1 -1
  181. package/localVagrantRepository.d.ts +27 -0
  182. package/localVagrantRepository.js +4 -0
  183. package/localVagrantRepository.js.map +1 -1
  184. package/mavenRepository.d.ts +27 -0
  185. package/mavenRepository.js +4 -0
  186. package/mavenRepository.js.map +1 -1
  187. package/package.json +2 -2
  188. package/package.json.dev +2 -2
  189. package/releaseBundleWebhook.d.ts +186 -0
  190. package/releaseBundleWebhook.js +112 -0
  191. package/releaseBundleWebhook.js.map +1 -0
  192. package/remoteCargoRepository.d.ts +24 -0
  193. package/remoteCargoRepository.js +4 -0
  194. package/remoteCargoRepository.js.map +1 -1
  195. package/remoteDockerRepository.d.ts +24 -0
  196. package/remoteDockerRepository.js +4 -0
  197. package/remoteDockerRepository.js.map +1 -1
  198. package/remoteHelmRepository.d.ts +24 -0
  199. package/remoteHelmRepository.js +4 -0
  200. package/remoteHelmRepository.js.map +1 -1
  201. package/remoteNpmRepository.d.ts +24 -0
  202. package/remoteNpmRepository.js +4 -0
  203. package/remoteNpmRepository.js.map +1 -1
  204. package/remotePypiRepository.d.ts +24 -0
  205. package/remotePypiRepository.js +4 -0
  206. package/remotePypiRepository.js.map +1 -1
  207. package/types/input.d.ts +138 -0
  208. package/types/output.d.ts +138 -0
  209. package/virtualConanRepository.d.ts +27 -0
  210. package/virtualConanRepository.js +4 -0
  211. package/virtualConanRepository.js.map +1 -1
  212. package/virtualGenericRepository.d.ts +24 -0
  213. package/virtualGenericRepository.js +4 -0
  214. package/virtualGenericRepository.js.map +1 -1
  215. package/virtualHelmRepository.d.ts +252 -0
  216. package/virtualHelmRepository.js +103 -0
  217. package/virtualHelmRepository.js.map +1 -0
  218. package/virtualRpmRepository.d.ts +27 -0
  219. package/virtualRpmRepository.js +4 -0
  220. package/virtualRpmRepository.js.map +1 -1
@@ -68,6 +68,15 @@ export declare class AlpineRepository extends pulumi.CustomResource {
68
68
  * Setting repositories with priority will cause metadata to be merged only from repositories set with this field
69
69
  */
70
70
  readonly priorityResolution: pulumi.Output<boolean | undefined>;
71
+ /**
72
+ * Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
73
+ */
74
+ readonly projectEnvironments: pulumi.Output<string[] | undefined>;
75
+ /**
76
+ * Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
77
+ * with project key, separated by a dash.
78
+ */
79
+ readonly projectKey: pulumi.Output<string | undefined>;
71
80
  readonly propertySets: pulumi.Output<string[] | undefined>;
72
81
  readonly repoLayoutRef: pulumi.Output<string>;
73
82
  readonly xrayIndex: pulumi.Output<boolean>;
@@ -110,6 +119,15 @@ export interface AlpineRepositoryState {
110
119
  * Setting repositories with priority will cause metadata to be merged only from repositories set with this field
111
120
  */
112
121
  priorityResolution?: pulumi.Input<boolean>;
122
+ /**
123
+ * Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
124
+ */
125
+ projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
126
+ /**
127
+ * Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
128
+ * with project key, separated by a dash.
129
+ */
130
+ projectKey?: pulumi.Input<string>;
113
131
  propertySets?: pulumi.Input<pulumi.Input<string>[]>;
114
132
  repoLayoutRef?: pulumi.Input<string>;
115
133
  xrayIndex?: pulumi.Input<boolean>;
@@ -143,6 +161,15 @@ export interface AlpineRepositoryArgs {
143
161
  * Setting repositories with priority will cause metadata to be merged only from repositories set with this field
144
162
  */
145
163
  priorityResolution?: pulumi.Input<boolean>;
164
+ /**
165
+ * Project environment for assigning this repository to. Allow values: "DEV" or "PROD"
166
+ */
167
+ projectEnvironments?: pulumi.Input<pulumi.Input<string>[]>;
168
+ /**
169
+ * Project key for assigning this repository to. When assigning repository to a project, repository key must be prefixed
170
+ * with project key, separated by a dash.
171
+ */
172
+ projectKey?: pulumi.Input<string>;
146
173
  propertySets?: pulumi.Input<pulumi.Input<string>[]>;
147
174
  repoLayoutRef?: pulumi.Input<string>;
148
175
  xrayIndex?: pulumi.Input<boolean>;
@@ -50,6 +50,8 @@ class AlpineRepository extends pulumi.CustomResource {
50
50
  resourceInputs["packageType"] = state ? state.packageType : undefined;
51
51
  resourceInputs["primaryKeypairRef"] = state ? state.primaryKeypairRef : undefined;
52
52
  resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined;
53
+ resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined;
54
+ resourceInputs["projectKey"] = state ? state.projectKey : undefined;
53
55
  resourceInputs["propertySets"] = state ? state.propertySets : undefined;
54
56
  resourceInputs["repoLayoutRef"] = state ? state.repoLayoutRef : undefined;
55
57
  resourceInputs["xrayIndex"] = state ? state.xrayIndex : undefined;
@@ -70,6 +72,8 @@ class AlpineRepository extends pulumi.CustomResource {
70
72
  resourceInputs["notes"] = args ? args.notes : undefined;
71
73
  resourceInputs["primaryKeypairRef"] = args ? args.primaryKeypairRef : undefined;
72
74
  resourceInputs["priorityResolution"] = args ? args.priorityResolution : undefined;
75
+ resourceInputs["projectEnvironments"] = args ? args.projectEnvironments : undefined;
76
+ resourceInputs["projectKey"] = args ? args.projectKey : undefined;
73
77
  resourceInputs["propertySets"] = args ? args.propertySets : undefined;
74
78
  resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined;
75
79
  resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"alpineRepository.js","sourceRoot":"","sources":["../alpineRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAkEvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,I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AAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;IAzHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CA2HC;AA7GG,gBAAgB;AACO,6BAAY,GAAG,qDAAqD,CAAC"}
@@ -0,0 +1,189 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ /**
4
+ * ## # Artifactory Artifact Property Webhook Resource
5
+ *
6
+ * Provides an Artifactory webhook resource. This can be used to register and manage Artifactory webhook subscription which enables you to be notified or notify other users when such events take place in Artifactory.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * .
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as artifactory from "@pulumi/artifactory";
14
+ *
15
+ * const my_generic_local = new artifactory.LocalGenericRepository("my-generic-local", {key: "my-generic-local"});
16
+ * const artifact_webhook = new artifactory.ArtifactPropertyWebhook("artifact-webhook", {
17
+ * key: "artifact-property-webhook",
18
+ * eventTypes: [
19
+ * "added",
20
+ * "deleted",
21
+ * ],
22
+ * criteria: {
23
+ * anyLocal: true,
24
+ * anyRemote: false,
25
+ * repoKeys: [my_generic_local.key],
26
+ * includePatterns: ["foo/**"],
27
+ * excludePatterns: ["bar/**"],
28
+ * },
29
+ * url: "http://tempurl.org/webhook",
30
+ * secret: "some-secret",
31
+ * proxy: "proxy-key",
32
+ * customHttpHeaders: {
33
+ * "header-1": "value-1",
34
+ * "header-2": "value-2",
35
+ * },
36
+ * }, {
37
+ * dependsOn: [my_generic_local],
38
+ * });
39
+ * ```
40
+ */
41
+ export declare class ArtifactPropertyWebhook extends pulumi.CustomResource {
42
+ /**
43
+ * Get an existing ArtifactPropertyWebhook 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?: ArtifactPropertyWebhookState, opts?: pulumi.CustomResourceOptions): ArtifactPropertyWebhook;
52
+ /**
53
+ * Returns true if the given object is an instance of ArtifactPropertyWebhook. 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 ArtifactPropertyWebhook;
57
+ /**
58
+ * Specifies where the webhook will be applied on which repositories.
59
+ */
60
+ readonly criteria: pulumi.Output<outputs.ArtifactPropertyWebhookCriteria>;
61
+ /**
62
+ * Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
63
+ */
64
+ readonly customHttpHeaders: pulumi.Output<{
65
+ [key: string]: string;
66
+ } | undefined>;
67
+ /**
68
+ * Webhook description. Max length 1000 characters.
69
+ */
70
+ readonly description: pulumi.Output<string | undefined>;
71
+ /**
72
+ * Status of webhook. Default to 'true'
73
+ */
74
+ readonly enabled: pulumi.Output<boolean | undefined>;
75
+ /**
76
+ * List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "added", "deleted"
77
+ */
78
+ readonly eventTypes: pulumi.Output<string[]>;
79
+ /**
80
+ * The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
81
+ */
82
+ readonly key: pulumi.Output<string>;
83
+ /**
84
+ * Proxy key from Artifactory Proxies setting
85
+ */
86
+ readonly proxy: pulumi.Output<string | undefined>;
87
+ /**
88
+ * Secret authentication token that will be sent to the configured URL
89
+ */
90
+ readonly secret: pulumi.Output<string | undefined>;
91
+ /**
92
+ * Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
93
+ */
94
+ readonly url: pulumi.Output<string>;
95
+ /**
96
+ * Create a ArtifactPropertyWebhook resource with the given unique name, arguments, and options.
97
+ *
98
+ * @param name The _unique_ name of the resource.
99
+ * @param args The arguments to use to populate this resource's properties.
100
+ * @param opts A bag of options that control this resource's behavior.
101
+ */
102
+ constructor(name: string, args: ArtifactPropertyWebhookArgs, opts?: pulumi.CustomResourceOptions);
103
+ }
104
+ /**
105
+ * Input properties used for looking up and filtering ArtifactPropertyWebhook resources.
106
+ */
107
+ export interface ArtifactPropertyWebhookState {
108
+ /**
109
+ * Specifies where the webhook will be applied on which repositories.
110
+ */
111
+ criteria?: pulumi.Input<inputs.ArtifactPropertyWebhookCriteria>;
112
+ /**
113
+ * Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
114
+ */
115
+ customHttpHeaders?: pulumi.Input<{
116
+ [key: string]: pulumi.Input<string>;
117
+ }>;
118
+ /**
119
+ * Webhook description. Max length 1000 characters.
120
+ */
121
+ description?: pulumi.Input<string>;
122
+ /**
123
+ * Status of webhook. Default to 'true'
124
+ */
125
+ enabled?: pulumi.Input<boolean>;
126
+ /**
127
+ * List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "added", "deleted"
128
+ */
129
+ eventTypes?: pulumi.Input<pulumi.Input<string>[]>;
130
+ /**
131
+ * The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
132
+ */
133
+ key?: pulumi.Input<string>;
134
+ /**
135
+ * Proxy key from Artifactory Proxies setting
136
+ */
137
+ proxy?: pulumi.Input<string>;
138
+ /**
139
+ * Secret authentication token that will be sent to the configured URL
140
+ */
141
+ secret?: pulumi.Input<string>;
142
+ /**
143
+ * Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
144
+ */
145
+ url?: pulumi.Input<string>;
146
+ }
147
+ /**
148
+ * The set of arguments for constructing a ArtifactPropertyWebhook resource.
149
+ */
150
+ export interface ArtifactPropertyWebhookArgs {
151
+ /**
152
+ * Specifies where the webhook will be applied on which repositories.
153
+ */
154
+ criteria: pulumi.Input<inputs.ArtifactPropertyWebhookCriteria>;
155
+ /**
156
+ * Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
157
+ */
158
+ customHttpHeaders?: pulumi.Input<{
159
+ [key: string]: pulumi.Input<string>;
160
+ }>;
161
+ /**
162
+ * Webhook description. Max length 1000 characters.
163
+ */
164
+ description?: pulumi.Input<string>;
165
+ /**
166
+ * Status of webhook. Default to 'true'
167
+ */
168
+ enabled?: pulumi.Input<boolean>;
169
+ /**
170
+ * List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "added", "deleted"
171
+ */
172
+ eventTypes: pulumi.Input<pulumi.Input<string>[]>;
173
+ /**
174
+ * The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
175
+ */
176
+ key: pulumi.Input<string>;
177
+ /**
178
+ * Proxy key from Artifactory Proxies setting
179
+ */
180
+ proxy?: pulumi.Input<string>;
181
+ /**
182
+ * Secret authentication token that will be sent to the configured URL
183
+ */
184
+ secret?: pulumi.Input<string>;
185
+ /**
186
+ * Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
187
+ */
188
+ url: pulumi.Input<string>;
189
+ }
@@ -0,0 +1,115 @@
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.ArtifactPropertyWebhook = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## # Artifactory Artifact Property Webhook Resource
10
+ *
11
+ * Provides an Artifactory webhook resource. This can be used to register and manage Artifactory webhook subscription which enables you to be notified or notify other users when such events take place in Artifactory.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * .
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as artifactory from "@pulumi/artifactory";
19
+ *
20
+ * const my_generic_local = new artifactory.LocalGenericRepository("my-generic-local", {key: "my-generic-local"});
21
+ * const artifact_webhook = new artifactory.ArtifactPropertyWebhook("artifact-webhook", {
22
+ * key: "artifact-property-webhook",
23
+ * eventTypes: [
24
+ * "added",
25
+ * "deleted",
26
+ * ],
27
+ * criteria: {
28
+ * anyLocal: true,
29
+ * anyRemote: false,
30
+ * repoKeys: [my_generic_local.key],
31
+ * includePatterns: ["foo/**"],
32
+ * excludePatterns: ["bar/**"],
33
+ * },
34
+ * url: "http://tempurl.org/webhook",
35
+ * secret: "some-secret",
36
+ * proxy: "proxy-key",
37
+ * customHttpHeaders: {
38
+ * "header-1": "value-1",
39
+ * "header-2": "value-2",
40
+ * },
41
+ * }, {
42
+ * dependsOn: [my_generic_local],
43
+ * });
44
+ * ```
45
+ */
46
+ class ArtifactPropertyWebhook extends pulumi.CustomResource {
47
+ constructor(name, argsOrState, opts) {
48
+ let resourceInputs = {};
49
+ opts = opts || {};
50
+ if (opts.id) {
51
+ const state = argsOrState;
52
+ resourceInputs["criteria"] = state ? state.criteria : undefined;
53
+ resourceInputs["customHttpHeaders"] = state ? state.customHttpHeaders : undefined;
54
+ resourceInputs["description"] = state ? state.description : undefined;
55
+ resourceInputs["enabled"] = state ? state.enabled : undefined;
56
+ resourceInputs["eventTypes"] = state ? state.eventTypes : undefined;
57
+ resourceInputs["key"] = state ? state.key : undefined;
58
+ resourceInputs["proxy"] = state ? state.proxy : undefined;
59
+ resourceInputs["secret"] = state ? state.secret : undefined;
60
+ resourceInputs["url"] = state ? state.url : undefined;
61
+ }
62
+ else {
63
+ const args = argsOrState;
64
+ if ((!args || args.criteria === undefined) && !opts.urn) {
65
+ throw new Error("Missing required property 'criteria'");
66
+ }
67
+ if ((!args || args.eventTypes === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'eventTypes'");
69
+ }
70
+ if ((!args || args.key === undefined) && !opts.urn) {
71
+ throw new Error("Missing required property 'key'");
72
+ }
73
+ if ((!args || args.url === undefined) && !opts.urn) {
74
+ throw new Error("Missing required property 'url'");
75
+ }
76
+ resourceInputs["criteria"] = args ? args.criteria : undefined;
77
+ resourceInputs["customHttpHeaders"] = args ? args.customHttpHeaders : undefined;
78
+ resourceInputs["description"] = args ? args.description : undefined;
79
+ resourceInputs["enabled"] = args ? args.enabled : undefined;
80
+ resourceInputs["eventTypes"] = args ? args.eventTypes : undefined;
81
+ resourceInputs["key"] = args ? args.key : undefined;
82
+ resourceInputs["proxy"] = args ? args.proxy : undefined;
83
+ resourceInputs["secret"] = args ? args.secret : undefined;
84
+ resourceInputs["url"] = args ? args.url : undefined;
85
+ }
86
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
+ super(ArtifactPropertyWebhook.__pulumiType, name, resourceInputs, opts);
88
+ }
89
+ /**
90
+ * Get an existing ArtifactPropertyWebhook resource's state with the given name, ID, and optional extra
91
+ * properties used to qualify the lookup.
92
+ *
93
+ * @param name The _unique_ name of the resulting resource.
94
+ * @param id The _unique_ provider ID of the resource to lookup.
95
+ * @param state Any extra arguments used during the lookup.
96
+ * @param opts Optional settings to control the behavior of the CustomResource.
97
+ */
98
+ static get(name, id, state, opts) {
99
+ return new ArtifactPropertyWebhook(name, state, Object.assign(Object.assign({}, opts), { id: id }));
100
+ }
101
+ /**
102
+ * Returns true if the given object is an instance of ArtifactPropertyWebhook. This is designed to work even
103
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
104
+ */
105
+ static isInstance(obj) {
106
+ if (obj === undefined || obj === null) {
107
+ return false;
108
+ }
109
+ return obj['__pulumiType'] === ArtifactPropertyWebhook.__pulumiType;
110
+ }
111
+ }
112
+ exports.ArtifactPropertyWebhook = ArtifactPropertyWebhook;
113
+ /** @internal */
114
+ ArtifactPropertyWebhook.__pulumiType = 'artifactory:index/artifactPropertyWebhook:ArtifactPropertyWebhook';
115
+ //# sourceMappingURL=artifactPropertyWebhook.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifactPropertyWebhook.js","sourceRoot":"","sources":["../artifactPropertyWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAyE9D,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO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,CAAC;IAhHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;;AA1BL,0DAkHC;AApGG,gBAAgB;AACO,oCAAY,GAAG,mEAAmE,CAAC"}
@@ -0,0 +1,191 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ /**
4
+ * ## # Artifactory Artifact Webhook Resource
5
+ *
6
+ * Provides an Artifactory webhook resource. This can be used to register and manage Artifactory webhook subscription which enables you to be notified or notify other users when such events take place in Artifactory.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * .
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as artifactory from "@pulumi/artifactory";
14
+ *
15
+ * const my_generic_local = new artifactory.LocalGenericRepository("my-generic-local", {key: "my-generic-local"});
16
+ * const artifact_webhook = new artifactory.ArtifactWebhook("artifact-webhook", {
17
+ * key: "artifact-webhook",
18
+ * eventTypes: [
19
+ * "deployed",
20
+ * "deleted",
21
+ * "moved",
22
+ * "copied",
23
+ * ],
24
+ * criteria: {
25
+ * anyLocal: true,
26
+ * anyRemote: false,
27
+ * repoKeys: [my_generic_local.key],
28
+ * includePatterns: ["foo/**"],
29
+ * excludePatterns: ["bar/**"],
30
+ * },
31
+ * url: "http://tempurl.org/webhook",
32
+ * secret: "some-secret",
33
+ * proxy: "proxy-key",
34
+ * customHttpHeaders: {
35
+ * "header-1": "value-1",
36
+ * "header-2": "value-2",
37
+ * },
38
+ * }, {
39
+ * dependsOn: [my_generic_local],
40
+ * });
41
+ * ```
42
+ */
43
+ export declare class ArtifactWebhook extends pulumi.CustomResource {
44
+ /**
45
+ * Get an existing ArtifactWebhook resource's state with the given name, ID, and optional extra
46
+ * properties used to qualify the lookup.
47
+ *
48
+ * @param name The _unique_ name of the resulting resource.
49
+ * @param id The _unique_ provider ID of the resource to lookup.
50
+ * @param state Any extra arguments used during the lookup.
51
+ * @param opts Optional settings to control the behavior of the CustomResource.
52
+ */
53
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ArtifactWebhookState, opts?: pulumi.CustomResourceOptions): ArtifactWebhook;
54
+ /**
55
+ * Returns true if the given object is an instance of ArtifactWebhook. This is designed to work even
56
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
57
+ */
58
+ static isInstance(obj: any): obj is ArtifactWebhook;
59
+ /**
60
+ * Specifies where the webhook will be applied on which repositories.
61
+ */
62
+ readonly criteria: pulumi.Output<outputs.ArtifactWebhookCriteria>;
63
+ /**
64
+ * Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
65
+ */
66
+ readonly customHttpHeaders: pulumi.Output<{
67
+ [key: string]: string;
68
+ } | undefined>;
69
+ /**
70
+ * Webhook description. Max length 1000 characters.
71
+ */
72
+ readonly description: pulumi.Output<string | undefined>;
73
+ /**
74
+ * Status of webhook. Default to 'true'
75
+ */
76
+ readonly enabled: pulumi.Output<boolean | undefined>;
77
+ /**
78
+ * List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "deployed", "deleted", "moved", "copied"
79
+ */
80
+ readonly eventTypes: pulumi.Output<string[]>;
81
+ /**
82
+ * The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
83
+ */
84
+ readonly key: pulumi.Output<string>;
85
+ /**
86
+ * Proxy key from Artifactory Proxies setting
87
+ */
88
+ readonly proxy: pulumi.Output<string | undefined>;
89
+ /**
90
+ * Secret authentication token that will be sent to the configured URL
91
+ */
92
+ readonly secret: pulumi.Output<string | undefined>;
93
+ /**
94
+ * Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
95
+ */
96
+ readonly url: pulumi.Output<string>;
97
+ /**
98
+ * Create a ArtifactWebhook resource with the given unique name, arguments, and options.
99
+ *
100
+ * @param name The _unique_ name of the resource.
101
+ * @param args The arguments to use to populate this resource's properties.
102
+ * @param opts A bag of options that control this resource's behavior.
103
+ */
104
+ constructor(name: string, args: ArtifactWebhookArgs, opts?: pulumi.CustomResourceOptions);
105
+ }
106
+ /**
107
+ * Input properties used for looking up and filtering ArtifactWebhook resources.
108
+ */
109
+ export interface ArtifactWebhookState {
110
+ /**
111
+ * Specifies where the webhook will be applied on which repositories.
112
+ */
113
+ criteria?: pulumi.Input<inputs.ArtifactWebhookCriteria>;
114
+ /**
115
+ * Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
116
+ */
117
+ customHttpHeaders?: pulumi.Input<{
118
+ [key: string]: pulumi.Input<string>;
119
+ }>;
120
+ /**
121
+ * Webhook description. Max length 1000 characters.
122
+ */
123
+ description?: pulumi.Input<string>;
124
+ /**
125
+ * Status of webhook. Default to 'true'
126
+ */
127
+ enabled?: pulumi.Input<boolean>;
128
+ /**
129
+ * List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "deployed", "deleted", "moved", "copied"
130
+ */
131
+ eventTypes?: pulumi.Input<pulumi.Input<string>[]>;
132
+ /**
133
+ * The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
134
+ */
135
+ key?: pulumi.Input<string>;
136
+ /**
137
+ * Proxy key from Artifactory Proxies setting
138
+ */
139
+ proxy?: pulumi.Input<string>;
140
+ /**
141
+ * Secret authentication token that will be sent to the configured URL
142
+ */
143
+ secret?: pulumi.Input<string>;
144
+ /**
145
+ * Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
146
+ */
147
+ url?: pulumi.Input<string>;
148
+ }
149
+ /**
150
+ * The set of arguments for constructing a ArtifactWebhook resource.
151
+ */
152
+ export interface ArtifactWebhookArgs {
153
+ /**
154
+ * Specifies where the webhook will be applied on which repositories.
155
+ */
156
+ criteria: pulumi.Input<inputs.ArtifactWebhookCriteria>;
157
+ /**
158
+ * Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
159
+ */
160
+ customHttpHeaders?: pulumi.Input<{
161
+ [key: string]: pulumi.Input<string>;
162
+ }>;
163
+ /**
164
+ * Webhook description. Max length 1000 characters.
165
+ */
166
+ description?: pulumi.Input<string>;
167
+ /**
168
+ * Status of webhook. Default to 'true'
169
+ */
170
+ enabled?: pulumi.Input<boolean>;
171
+ /**
172
+ * List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: "deployed", "deleted", "moved", "copied"
173
+ */
174
+ eventTypes: pulumi.Input<pulumi.Input<string>[]>;
175
+ /**
176
+ * The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
177
+ */
178
+ key: pulumi.Input<string>;
179
+ /**
180
+ * Proxy key from Artifactory Proxies setting
181
+ */
182
+ proxy?: pulumi.Input<string>;
183
+ /**
184
+ * Secret authentication token that will be sent to the configured URL
185
+ */
186
+ secret?: pulumi.Input<string>;
187
+ /**
188
+ * Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
189
+ */
190
+ url: pulumi.Input<string>;
191
+ }