@pulumi/scm 1.0.0-alpha.1762572739 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/address.d.ts +3 -3
  2. package/address.js +3 -3
  3. package/addressGroup.d.ts +2 -2
  4. package/addressGroup.js +2 -2
  5. package/{aggregateInterface.d.ts → aggregateEthernetInterface.d.ts} +24 -26
  6. package/{aggregateInterface.js → aggregateEthernetInterface.js} +11 -13
  7. package/aggregateEthernetInterface.js.map +1 -0
  8. package/antiSpywareSignature.d.ts +3 -3
  9. package/appOverrideRule.d.ts +3 -128
  10. package/appOverrideRule.js +0 -95
  11. package/appOverrideRule.js.map +1 -1
  12. package/applicationFilter.d.ts +0 -16
  13. package/applicationFilter.js +0 -16
  14. package/applicationFilter.js.map +1 -1
  15. package/authenticationRule.d.ts +0 -123
  16. package/authenticationRule.js +0 -103
  17. package/authenticationRule.js.map +1 -1
  18. package/bgpRouteMapRedistribution.d.ts +6 -6
  19. package/certificateProfile.d.ts +0 -29
  20. package/certificateProfile.js +0 -29
  21. package/certificateProfile.js.map +1 -1
  22. package/decryptionProfile.d.ts +0 -139
  23. package/decryptionProfile.js +0 -139
  24. package/decryptionProfile.js.map +1 -1
  25. package/decryptionRule.d.ts +0 -139
  26. package/decryptionRule.js +0 -119
  27. package/decryptionRule.js.map +1 -1
  28. package/dnsProxy.d.ts +6 -6
  29. package/dnsSecurityProfile.d.ts +0 -2
  30. package/dnsSecurityProfile.js +0 -2
  31. package/dnsSecurityProfile.js.map +1 -1
  32. package/dynamicUserGroup.d.ts +3 -3
  33. package/dynamicUserGroup.js +3 -3
  34. package/ethernetInterface.d.ts +11 -13
  35. package/ethernetInterface.js +0 -2
  36. package/ethernetInterface.js.map +1 -1
  37. package/externalDynamicList.d.ts +0 -80
  38. package/externalDynamicList.js +0 -80
  39. package/externalDynamicList.js.map +1 -1
  40. package/folder.d.ts +0 -60
  41. package/folder.js +0 -60
  42. package/folder.js.map +1 -1
  43. package/getAddressGroupList.d.ts +4 -4
  44. package/getAddressGroupList.js +4 -4
  45. package/getAddressList.d.ts +4 -4
  46. package/getAddressList.js +4 -4
  47. package/getAggregateEthernetInterface.d.ts +78 -0
  48. package/getAggregateEthernetInterface.js +30 -0
  49. package/getAggregateEthernetInterface.js.map +1 -0
  50. package/{getAggregateInterfaceList.d.ts → getAggregateEthernetInterfaceList.d.ts} +9 -35
  51. package/getAggregateEthernetInterfaceList.js +40 -0
  52. package/getAggregateEthernetInterfaceList.js.map +1 -0
  53. package/getAntiSpywareProfileList.d.ts +2 -2
  54. package/getAntiSpywareProfileList.js +2 -2
  55. package/getAntiSpywareSignature.d.ts +1 -1
  56. package/getAntiSpywareSignatureList.d.ts +2 -2
  57. package/getAntiSpywareSignatureList.js +2 -2
  58. package/getAppOverrideRule.d.ts +1 -65
  59. package/getAppOverrideRule.js +0 -52
  60. package/getAppOverrideRule.js.map +1 -1
  61. package/getAppOverrideRuleList.d.ts +2 -48
  62. package/getAppOverrideRuleList.js +2 -36
  63. package/getAppOverrideRuleList.js.map +1 -1
  64. package/getApplicationGroupList.d.ts +4 -4
  65. package/getApplicationGroupList.js +4 -4
  66. package/getApplicationList.d.ts +2 -2
  67. package/getApplicationList.js +2 -2
  68. package/getAuthenticationRule.d.ts +0 -74
  69. package/getAuthenticationRule.js +0 -62
  70. package/getAuthenticationRule.js.map +1 -1
  71. package/getAuthenticationRuleList.d.ts +2 -50
  72. package/getAuthenticationRuleList.js +2 -38
  73. package/getAuthenticationRuleList.js.map +1 -1
  74. package/getBgpRouteMapRedistribution.d.ts +7 -7
  75. package/getCertificateProfileList.d.ts +2 -2
  76. package/getCertificateProfileList.js +2 -2
  77. package/getDecryptionProfile.d.ts +0 -40
  78. package/getDecryptionProfile.js +0 -40
  79. package/getDecryptionProfile.js.map +1 -1
  80. package/getDecryptionProfileList.d.ts +0 -32
  81. package/getDecryptionProfileList.js +0 -32
  82. package/getDecryptionProfileList.js.map +1 -1
  83. package/getDecryptionRule.d.ts +0 -74
  84. package/getDecryptionRule.js +0 -62
  85. package/getDecryptionRule.js.map +1 -1
  86. package/getDecryptionRuleList.d.ts +2 -48
  87. package/getDecryptionRuleList.js +2 -36
  88. package/getDecryptionRuleList.js.map +1 -1
  89. package/getDnsProxy.d.ts +1 -1
  90. package/getDnsSecurityProfile.d.ts +0 -40
  91. package/getDnsSecurityProfile.js +0 -40
  92. package/getDnsSecurityProfile.js.map +1 -1
  93. package/getDnsSecurityProfileList.d.ts +0 -32
  94. package/getDnsSecurityProfileList.js +0 -32
  95. package/getDnsSecurityProfileList.js.map +1 -1
  96. package/getDynamicUserGroupList.d.ts +4 -4
  97. package/getDynamicUserGroupList.js +4 -4
  98. package/getEthernetInterface.d.ts +2 -40
  99. package/getEthernetInterface.js +0 -38
  100. package/getEthernetInterface.js.map +1 -1
  101. package/getEthernetInterfaceList.d.ts +0 -26
  102. package/getEthernetInterfaceList.js +0 -26
  103. package/getEthernetInterfaceList.js.map +1 -1
  104. package/getExternalDynamicListList.d.ts +4 -4
  105. package/getExternalDynamicListList.js +4 -4
  106. package/getFolder.d.ts +0 -36
  107. package/getFolder.js +0 -36
  108. package/getFolder.js.map +1 -1
  109. package/getHipObjectList.d.ts +4 -4
  110. package/getHipObjectList.js +4 -4
  111. package/getHipProfileList.d.ts +4 -4
  112. package/getHipProfileList.js +4 -4
  113. package/getInterfaceManagementProfile.d.ts +8 -89
  114. package/getInterfaceManagementProfile.js +0 -80
  115. package/getInterfaceManagementProfile.js.map +1 -1
  116. package/getInterfaceManagementProfileList.d.ts +0 -42
  117. package/getInterfaceManagementProfileList.js +0 -42
  118. package/getInterfaceManagementProfileList.js.map +1 -1
  119. package/getLayer2Subinterface.d.ts +2 -42
  120. package/getLayer2Subinterface.js +0 -40
  121. package/getLayer2Subinterface.js.map +1 -1
  122. package/getLayer2SubinterfaceList.d.ts +0 -26
  123. package/getLayer2SubinterfaceList.js +0 -26
  124. package/getLayer2SubinterfaceList.js.map +1 -1
  125. package/getLayer3Subinterface.d.ts +3 -45
  126. package/getLayer3Subinterface.js +0 -42
  127. package/getLayer3Subinterface.js.map +1 -1
  128. package/getLayer3SubinterfaceList.d.ts +0 -26
  129. package/getLayer3SubinterfaceList.js +0 -26
  130. package/getLayer3SubinterfaceList.js.map +1 -1
  131. package/getLogicalRouter.d.ts +0 -38
  132. package/getLogicalRouter.js +0 -38
  133. package/getLogicalRouter.js.map +1 -1
  134. package/getLogicalRouterList.d.ts +0 -40
  135. package/getLogicalRouterList.js +0 -30
  136. package/getLogicalRouterList.js.map +1 -1
  137. package/getLoopbackInterface.d.ts +7 -49
  138. package/getLoopbackInterface.js +0 -38
  139. package/getLoopbackInterface.js.map +1 -1
  140. package/getLoopbackInterfaceList.d.ts +0 -26
  141. package/getLoopbackInterfaceList.js +0 -26
  142. package/getLoopbackInterfaceList.js.map +1 -1
  143. package/getNatRule.d.ts +14 -86
  144. package/getNatRule.js +0 -76
  145. package/getNatRule.js.map +1 -1
  146. package/getNatRuleList.d.ts +2 -52
  147. package/getNatRuleList.js +2 -40
  148. package/getNatRuleList.js.map +1 -1
  149. package/getPbfRule.d.ts +0 -88
  150. package/getPbfRule.js +0 -88
  151. package/getPbfRule.js.map +1 -1
  152. package/getPbfRuleList.d.ts +0 -34
  153. package/getPbfRuleList.js +0 -34
  154. package/getPbfRuleList.js.map +1 -1
  155. package/getQosPolicyRule.d.ts +0 -72
  156. package/getQosPolicyRule.js +0 -60
  157. package/getQosPolicyRule.js.map +1 -1
  158. package/getQosPolicyRuleList.d.ts +2 -48
  159. package/getQosPolicyRuleList.js +2 -36
  160. package/getQosPolicyRuleList.js.map +1 -1
  161. package/getRadiusServerProfile.d.ts +0 -54
  162. package/getRadiusServerProfile.js +0 -54
  163. package/getRadiusServerProfile.js.map +1 -1
  164. package/getSdwanTrafficDistributionProfile.d.ts +1 -1
  165. package/getSecurityRule.d.ts +0 -106
  166. package/getSecurityRule.js +0 -94
  167. package/getSecurityRule.js.map +1 -1
  168. package/getSecurityRuleList.d.ts +2 -46
  169. package/getSecurityRuleList.js +2 -34
  170. package/getSecurityRuleList.js.map +1 -1
  171. package/getServiceConnection.d.ts +1 -177
  172. package/getServiceConnection.js +0 -176
  173. package/getServiceConnection.js.map +1 -1
  174. package/getServiceConnectionGroup.d.ts +0 -208
  175. package/getServiceConnectionGroup.js +0 -208
  176. package/getServiceConnectionGroup.js.map +1 -1
  177. package/getServiceGroupList.d.ts +2 -2
  178. package/getServiceGroupList.js +2 -2
  179. package/getServiceList.d.ts +4 -4
  180. package/getServiceList.js +4 -4
  181. package/getSnippet.d.ts +0 -48
  182. package/getSnippet.js +0 -48
  183. package/getSnippet.js.map +1 -1
  184. package/getSnippetList.d.ts +0 -24
  185. package/getSnippetList.js +0 -24
  186. package/getSnippetList.js.map +1 -1
  187. package/getTagList.d.ts +2 -2
  188. package/getTagList.js +2 -2
  189. package/getTunnelInterface.d.ts +4 -42
  190. package/getTunnelInterface.js +0 -38
  191. package/getTunnelInterface.js.map +1 -1
  192. package/getTunnelInterfaceList.d.ts +0 -26
  193. package/getTunnelInterfaceList.js +0 -26
  194. package/getTunnelInterfaceList.js.map +1 -1
  195. package/getUrlAccessProfileList.d.ts +2 -2
  196. package/getUrlAccessProfileList.js +2 -2
  197. package/getUrlCategoryList.d.ts +4 -4
  198. package/getUrlCategoryList.js +4 -4
  199. package/getVlanInterface.d.ts +6 -46
  200. package/getVlanInterface.js +0 -40
  201. package/getVlanInterface.js.map +1 -1
  202. package/getVlanInterfaceList.d.ts +0 -26
  203. package/getVlanInterfaceList.js +0 -26
  204. package/getVlanInterfaceList.js.map +1 -1
  205. package/getVulnerabilityProtectionProfileList.d.ts +2 -2
  206. package/getVulnerabilityProtectionProfileList.js +2 -2
  207. package/getVulnerabilityProtectionSignature.d.ts +1 -41
  208. package/getVulnerabilityProtectionSignature.js +0 -40
  209. package/getVulnerabilityProtectionSignature.js.map +1 -1
  210. package/getVulnerabilityProtectionSignatureList.d.ts +0 -32
  211. package/getVulnerabilityProtectionSignatureList.js +0 -32
  212. package/getVulnerabilityProtectionSignatureList.js.map +1 -1
  213. package/getZone.d.ts +0 -44
  214. package/getZone.js +0 -44
  215. package/getZone.js.map +1 -1
  216. package/getZoneList.d.ts +0 -26
  217. package/getZoneList.js +0 -26
  218. package/getZoneList.js.map +1 -1
  219. package/ikeGateway.d.ts +0 -49
  220. package/ikeGateway.js +0 -49
  221. package/ikeGateway.js.map +1 -1
  222. package/index.d.ts +9 -9
  223. package/index.js +12 -12
  224. package/index.js.map +1 -1
  225. package/interfaceManagementProfile.d.ts +24 -56
  226. package/interfaceManagementProfile.js +0 -30
  227. package/interfaceManagementProfile.js.map +1 -1
  228. package/ipsecCryptoProfile.d.ts +0 -28
  229. package/ipsecCryptoProfile.js +0 -28
  230. package/ipsecCryptoProfile.js.map +1 -1
  231. package/ipsecTunnel.d.ts +0 -66
  232. package/ipsecTunnel.js +0 -66
  233. package/ipsecTunnel.js.map +1 -1
  234. package/layer2Subinterface.d.ts +7 -36
  235. package/layer2Subinterface.js +0 -32
  236. package/layer2Subinterface.js.map +1 -1
  237. package/layer3Subinterface.d.ts +11 -70
  238. package/layer3Subinterface.js +0 -59
  239. package/layer3Subinterface.js.map +1 -1
  240. package/logicalRouter.d.ts +0 -2
  241. package/logicalRouter.js +0 -2
  242. package/logicalRouter.js.map +1 -1
  243. package/loopbackInterface.d.ts +15 -58
  244. package/loopbackInterface.js +2 -35
  245. package/loopbackInterface.js.map +1 -1
  246. package/natRule.d.ts +42 -135
  247. package/natRule.js +8 -121
  248. package/natRule.js.map +1 -1
  249. package/package.json +2 -2
  250. package/pbfRule.d.ts +0 -89
  251. package/pbfRule.js +0 -89
  252. package/pbfRule.js.map +1 -1
  253. package/qosPolicyRule.d.ts +0 -95
  254. package/qosPolicyRule.js +0 -75
  255. package/qosPolicyRule.js.map +1 -1
  256. package/radiusServerProfile.d.ts +0 -38
  257. package/radiusServerProfile.js +0 -38
  258. package/radiusServerProfile.js.map +1 -1
  259. package/remoteNetwork.d.ts +0 -81
  260. package/remoteNetwork.js +0 -81
  261. package/remoteNetwork.js.map +1 -1
  262. package/sdwanTrafficDistributionProfile.d.ts +4 -4
  263. package/securityRule.d.ts +0 -181
  264. package/securityRule.js +0 -161
  265. package/securityRule.js.map +1 -1
  266. package/serviceConnection.d.ts +3 -82
  267. package/serviceConnection.js +2 -81
  268. package/serviceConnection.js.map +1 -1
  269. package/serviceConnectionGroup.d.ts +0 -100
  270. package/serviceConnectionGroup.js +0 -100
  271. package/serviceConnectionGroup.js.map +1 -1
  272. package/serviceGroup.d.ts +2 -2
  273. package/serviceGroup.js +2 -2
  274. package/snippet.d.ts +0 -23
  275. package/snippet.js +0 -23
  276. package/snippet.js.map +1 -1
  277. package/tag.d.ts +3 -3
  278. package/tag.js +3 -3
  279. package/tunnelInterface.d.ts +12 -42
  280. package/tunnelInterface.js +2 -32
  281. package/tunnelInterface.js.map +1 -1
  282. package/types/input.d.ts +335 -607
  283. package/types/output.d.ts +1069 -1945
  284. package/vlanInterface.d.ts +20 -40
  285. package/vlanInterface.js +0 -20
  286. package/vlanInterface.js.map +1 -1
  287. package/vulnerabilityProtectionSignature.d.ts +10 -12
  288. package/vulnerabilityProtectionSignature.js +0 -14
  289. package/vulnerabilityProtectionSignature.js.map +1 -1
  290. package/zone.d.ts +0 -71
  291. package/zone.js +0 -71
  292. package/zone.js.map +1 -1
  293. package/aggregateInterface.js.map +0 -1
  294. package/getAggregateInterface.d.ts +0 -116
  295. package/getAggregateInterface.js +0 -68
  296. package/getAggregateInterface.js.map +0 -1
  297. package/getAggregateInterfaceList.js +0 -66
  298. package/getAggregateInterfaceList.js.map +0 -1
@@ -3,110 +3,6 @@ import * as pulumi from "@pulumi/pulumi";
3
3
  * ServiceConnectionGroup data source
4
4
  *
5
5
  * ## Example Usage
6
- *
7
- * ```typescript
8
- * import * as pulumi from "@pulumi/pulumi";
9
- * import * as scm from "@pulumi/scm";
10
- *
11
- * const config = new pulumi.Config();
12
- * // The folder scope for the SCM resource (e.g., 'Shared', 'Predefined', or a specific folder name).
13
- * const folderScope = config.get("folderScope") || "Service Connections";
14
- * //# 1. IKE Crypto Profile (IKE Phase 1)
15
- * const example = new scm.IkeCryptoProfile("example", {
16
- * name: "example-ike-crypto_sc_grp",
17
- * folder: folderScope,
18
- * hashes: ["sha256"],
19
- * dhGroups: ["group14"],
20
- * encryptions: ["aes-256-cbc"],
21
- * });
22
- * //# 2. IPsec Crypto Profile (IKE Phase 2)
23
- * const exampleIpsecCryptoProfile = new scm.IpsecCryptoProfile("example", {
24
- * name: "panw-IPSec-Crypto_sc_grp",
25
- * folder: folderScope,
26
- * esp: {
27
- * encryptions: ["aes-256-gcm"],
28
- * authentications: ["sha256"],
29
- * },
30
- * dhGroup: "group14",
31
- * lifetime: {
32
- * hours: 8,
33
- * },
34
- * });
35
- * //# 3. IKE Gateway
36
- * const exampleIkeGateway = new scm.IkeGateway("example", {
37
- * name: "example-gateway_sc_grp",
38
- * folder: folderScope,
39
- * peerAddress: {
40
- * ip: "1.1.1.1",
41
- * },
42
- * authentication: {
43
- * preSharedKey: {
44
- * key: "secret",
45
- * },
46
- * },
47
- * protocol: {
48
- * ikev1: {
49
- * ikeCryptoProfile: example.name,
50
- * },
51
- * },
52
- * });
53
- * //# 4. IPsec Tunnel
54
- * const exampleIpsecTunnel = new scm.IpsecTunnel("example", {
55
- * name: "example-tunnel_sc_grp",
56
- * folder: folderScope,
57
- * tunnelInterface: "tunnel",
58
- * antiReplay: true,
59
- * copyTos: false,
60
- * enableGreEncapsulation: false,
61
- * autoKey: {
62
- * ikeGateways: [{
63
- * name: exampleIkeGateway.name,
64
- * }],
65
- * ipsecCryptoProfile: exampleIpsecCryptoProfile.name,
66
- * },
67
- * }, {
68
- * dependsOn: [exampleIkeGateway],
69
- * });
70
- * //# 5. Service Connection (The target for the group)
71
- * const siteAVpnSc = new scm.ServiceConnection("site_a_vpn_sc", {
72
- * name: "creating_a_service_connection_sc_grp",
73
- * region: "us-west-1a",
74
- * ipsecTunnel: exampleIpsecTunnel.name,
75
- * subnets: [
76
- * "10.1.0.0/16",
77
- * "172.16.0.0/24",
78
- * ],
79
- * sourceNat: false,
80
- * });
81
- * //# 5. Service Connection (The target for the group)
82
- * const siteAVpnSc2 = new scm.ServiceConnection("site_a_vpn_sc_2", {
83
- * name: "creating_a_service_connection_sc_grp_2",
84
- * region: "us-west-1a",
85
- * ipsecTunnel: exampleIpsecTunnel.name,
86
- * subnets: [
87
- * "10.1.0.0/16",
88
- * "172.16.0.0/24",
89
- * ],
90
- * sourceNat: false,
91
- * });
92
- * //# 6. Service Connection Group (Groups the Service Connection created above)
93
- * const exampleGroup = new scm.ServiceConnectionGroup("example_group", {
94
- * name: "service-connection-group-app_sc_grp",
95
- * targets: [
96
- * siteAVpnSc.name,
97
- * siteAVpnSc2.name,
98
- * ],
99
- * disableSnat: false,
100
- * pbfOnly: true,
101
- * });
102
- * // ------------------------------------------------------------------
103
- * // Data Source: SCM Service Connection Group (Single Lookup)
104
- * // ------------------------------------------------------------------
105
- * const groupLookup = scm.getServiceConnectionGroupOutput({
106
- * id: exampleGroup.id,
107
- * });
108
- * export const lookedUpServiceConnectionGroupDetails = groupLookup;
109
- * ```
110
6
  */
111
7
  export declare function getServiceConnectionGroup(args: GetServiceConnectionGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceConnectionGroupResult>;
112
8
  /**
@@ -152,110 +48,6 @@ export interface GetServiceConnectionGroupResult {
152
48
  * ServiceConnectionGroup data source
153
49
  *
154
50
  * ## Example Usage
155
- *
156
- * ```typescript
157
- * import * as pulumi from "@pulumi/pulumi";
158
- * import * as scm from "@pulumi/scm";
159
- *
160
- * const config = new pulumi.Config();
161
- * // The folder scope for the SCM resource (e.g., 'Shared', 'Predefined', or a specific folder name).
162
- * const folderScope = config.get("folderScope") || "Service Connections";
163
- * //# 1. IKE Crypto Profile (IKE Phase 1)
164
- * const example = new scm.IkeCryptoProfile("example", {
165
- * name: "example-ike-crypto_sc_grp",
166
- * folder: folderScope,
167
- * hashes: ["sha256"],
168
- * dhGroups: ["group14"],
169
- * encryptions: ["aes-256-cbc"],
170
- * });
171
- * //# 2. IPsec Crypto Profile (IKE Phase 2)
172
- * const exampleIpsecCryptoProfile = new scm.IpsecCryptoProfile("example", {
173
- * name: "panw-IPSec-Crypto_sc_grp",
174
- * folder: folderScope,
175
- * esp: {
176
- * encryptions: ["aes-256-gcm"],
177
- * authentications: ["sha256"],
178
- * },
179
- * dhGroup: "group14",
180
- * lifetime: {
181
- * hours: 8,
182
- * },
183
- * });
184
- * //# 3. IKE Gateway
185
- * const exampleIkeGateway = new scm.IkeGateway("example", {
186
- * name: "example-gateway_sc_grp",
187
- * folder: folderScope,
188
- * peerAddress: {
189
- * ip: "1.1.1.1",
190
- * },
191
- * authentication: {
192
- * preSharedKey: {
193
- * key: "secret",
194
- * },
195
- * },
196
- * protocol: {
197
- * ikev1: {
198
- * ikeCryptoProfile: example.name,
199
- * },
200
- * },
201
- * });
202
- * //# 4. IPsec Tunnel
203
- * const exampleIpsecTunnel = new scm.IpsecTunnel("example", {
204
- * name: "example-tunnel_sc_grp",
205
- * folder: folderScope,
206
- * tunnelInterface: "tunnel",
207
- * antiReplay: true,
208
- * copyTos: false,
209
- * enableGreEncapsulation: false,
210
- * autoKey: {
211
- * ikeGateways: [{
212
- * name: exampleIkeGateway.name,
213
- * }],
214
- * ipsecCryptoProfile: exampleIpsecCryptoProfile.name,
215
- * },
216
- * }, {
217
- * dependsOn: [exampleIkeGateway],
218
- * });
219
- * //# 5. Service Connection (The target for the group)
220
- * const siteAVpnSc = new scm.ServiceConnection("site_a_vpn_sc", {
221
- * name: "creating_a_service_connection_sc_grp",
222
- * region: "us-west-1a",
223
- * ipsecTunnel: exampleIpsecTunnel.name,
224
- * subnets: [
225
- * "10.1.0.0/16",
226
- * "172.16.0.0/24",
227
- * ],
228
- * sourceNat: false,
229
- * });
230
- * //# 5. Service Connection (The target for the group)
231
- * const siteAVpnSc2 = new scm.ServiceConnection("site_a_vpn_sc_2", {
232
- * name: "creating_a_service_connection_sc_grp_2",
233
- * region: "us-west-1a",
234
- * ipsecTunnel: exampleIpsecTunnel.name,
235
- * subnets: [
236
- * "10.1.0.0/16",
237
- * "172.16.0.0/24",
238
- * ],
239
- * sourceNat: false,
240
- * });
241
- * //# 6. Service Connection Group (Groups the Service Connection created above)
242
- * const exampleGroup = new scm.ServiceConnectionGroup("example_group", {
243
- * name: "service-connection-group-app_sc_grp",
244
- * targets: [
245
- * siteAVpnSc.name,
246
- * siteAVpnSc2.name,
247
- * ],
248
- * disableSnat: false,
249
- * pbfOnly: true,
250
- * });
251
- * // ------------------------------------------------------------------
252
- * // Data Source: SCM Service Connection Group (Single Lookup)
253
- * // ------------------------------------------------------------------
254
- * const groupLookup = scm.getServiceConnectionGroupOutput({
255
- * id: exampleGroup.id,
256
- * });
257
- * export const lookedUpServiceConnectionGroupDetails = groupLookup;
258
- * ```
259
51
  */
260
52
  export declare function getServiceConnectionGroupOutput(args: GetServiceConnectionGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServiceConnectionGroupResult>;
261
53
  /**
@@ -9,110 +9,6 @@ const utilities = require("./utilities");
9
9
  * ServiceConnectionGroup data source
10
10
  *
11
11
  * ## Example Usage
12
- *
13
- * ```typescript
14
- * import * as pulumi from "@pulumi/pulumi";
15
- * import * as scm from "@pulumi/scm";
16
- *
17
- * const config = new pulumi.Config();
18
- * // The folder scope for the SCM resource (e.g., 'Shared', 'Predefined', or a specific folder name).
19
- * const folderScope = config.get("folderScope") || "Service Connections";
20
- * //# 1. IKE Crypto Profile (IKE Phase 1)
21
- * const example = new scm.IkeCryptoProfile("example", {
22
- * name: "example-ike-crypto_sc_grp",
23
- * folder: folderScope,
24
- * hashes: ["sha256"],
25
- * dhGroups: ["group14"],
26
- * encryptions: ["aes-256-cbc"],
27
- * });
28
- * //# 2. IPsec Crypto Profile (IKE Phase 2)
29
- * const exampleIpsecCryptoProfile = new scm.IpsecCryptoProfile("example", {
30
- * name: "panw-IPSec-Crypto_sc_grp",
31
- * folder: folderScope,
32
- * esp: {
33
- * encryptions: ["aes-256-gcm"],
34
- * authentications: ["sha256"],
35
- * },
36
- * dhGroup: "group14",
37
- * lifetime: {
38
- * hours: 8,
39
- * },
40
- * });
41
- * //# 3. IKE Gateway
42
- * const exampleIkeGateway = new scm.IkeGateway("example", {
43
- * name: "example-gateway_sc_grp",
44
- * folder: folderScope,
45
- * peerAddress: {
46
- * ip: "1.1.1.1",
47
- * },
48
- * authentication: {
49
- * preSharedKey: {
50
- * key: "secret",
51
- * },
52
- * },
53
- * protocol: {
54
- * ikev1: {
55
- * ikeCryptoProfile: example.name,
56
- * },
57
- * },
58
- * });
59
- * //# 4. IPsec Tunnel
60
- * const exampleIpsecTunnel = new scm.IpsecTunnel("example", {
61
- * name: "example-tunnel_sc_grp",
62
- * folder: folderScope,
63
- * tunnelInterface: "tunnel",
64
- * antiReplay: true,
65
- * copyTos: false,
66
- * enableGreEncapsulation: false,
67
- * autoKey: {
68
- * ikeGateways: [{
69
- * name: exampleIkeGateway.name,
70
- * }],
71
- * ipsecCryptoProfile: exampleIpsecCryptoProfile.name,
72
- * },
73
- * }, {
74
- * dependsOn: [exampleIkeGateway],
75
- * });
76
- * //# 5. Service Connection (The target for the group)
77
- * const siteAVpnSc = new scm.ServiceConnection("site_a_vpn_sc", {
78
- * name: "creating_a_service_connection_sc_grp",
79
- * region: "us-west-1a",
80
- * ipsecTunnel: exampleIpsecTunnel.name,
81
- * subnets: [
82
- * "10.1.0.0/16",
83
- * "172.16.0.0/24",
84
- * ],
85
- * sourceNat: false,
86
- * });
87
- * //# 5. Service Connection (The target for the group)
88
- * const siteAVpnSc2 = new scm.ServiceConnection("site_a_vpn_sc_2", {
89
- * name: "creating_a_service_connection_sc_grp_2",
90
- * region: "us-west-1a",
91
- * ipsecTunnel: exampleIpsecTunnel.name,
92
- * subnets: [
93
- * "10.1.0.0/16",
94
- * "172.16.0.0/24",
95
- * ],
96
- * sourceNat: false,
97
- * });
98
- * //# 6. Service Connection Group (Groups the Service Connection created above)
99
- * const exampleGroup = new scm.ServiceConnectionGroup("example_group", {
100
- * name: "service-connection-group-app_sc_grp",
101
- * targets: [
102
- * siteAVpnSc.name,
103
- * siteAVpnSc2.name,
104
- * ],
105
- * disableSnat: false,
106
- * pbfOnly: true,
107
- * });
108
- * // ------------------------------------------------------------------
109
- * // Data Source: SCM Service Connection Group (Single Lookup)
110
- * // ------------------------------------------------------------------
111
- * const groupLookup = scm.getServiceConnectionGroupOutput({
112
- * id: exampleGroup.id,
113
- * });
114
- * export const lookedUpServiceConnectionGroupDetails = groupLookup;
115
- * ```
116
12
  */
117
13
  function getServiceConnectionGroup(args, opts) {
118
14
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -126,110 +22,6 @@ exports.getServiceConnectionGroup = getServiceConnectionGroup;
126
22
  * ServiceConnectionGroup data source
127
23
  *
128
24
  * ## Example Usage
129
- *
130
- * ```typescript
131
- * import * as pulumi from "@pulumi/pulumi";
132
- * import * as scm from "@pulumi/scm";
133
- *
134
- * const config = new pulumi.Config();
135
- * // The folder scope for the SCM resource (e.g., 'Shared', 'Predefined', or a specific folder name).
136
- * const folderScope = config.get("folderScope") || "Service Connections";
137
- * //# 1. IKE Crypto Profile (IKE Phase 1)
138
- * const example = new scm.IkeCryptoProfile("example", {
139
- * name: "example-ike-crypto_sc_grp",
140
- * folder: folderScope,
141
- * hashes: ["sha256"],
142
- * dhGroups: ["group14"],
143
- * encryptions: ["aes-256-cbc"],
144
- * });
145
- * //# 2. IPsec Crypto Profile (IKE Phase 2)
146
- * const exampleIpsecCryptoProfile = new scm.IpsecCryptoProfile("example", {
147
- * name: "panw-IPSec-Crypto_sc_grp",
148
- * folder: folderScope,
149
- * esp: {
150
- * encryptions: ["aes-256-gcm"],
151
- * authentications: ["sha256"],
152
- * },
153
- * dhGroup: "group14",
154
- * lifetime: {
155
- * hours: 8,
156
- * },
157
- * });
158
- * //# 3. IKE Gateway
159
- * const exampleIkeGateway = new scm.IkeGateway("example", {
160
- * name: "example-gateway_sc_grp",
161
- * folder: folderScope,
162
- * peerAddress: {
163
- * ip: "1.1.1.1",
164
- * },
165
- * authentication: {
166
- * preSharedKey: {
167
- * key: "secret",
168
- * },
169
- * },
170
- * protocol: {
171
- * ikev1: {
172
- * ikeCryptoProfile: example.name,
173
- * },
174
- * },
175
- * });
176
- * //# 4. IPsec Tunnel
177
- * const exampleIpsecTunnel = new scm.IpsecTunnel("example", {
178
- * name: "example-tunnel_sc_grp",
179
- * folder: folderScope,
180
- * tunnelInterface: "tunnel",
181
- * antiReplay: true,
182
- * copyTos: false,
183
- * enableGreEncapsulation: false,
184
- * autoKey: {
185
- * ikeGateways: [{
186
- * name: exampleIkeGateway.name,
187
- * }],
188
- * ipsecCryptoProfile: exampleIpsecCryptoProfile.name,
189
- * },
190
- * }, {
191
- * dependsOn: [exampleIkeGateway],
192
- * });
193
- * //# 5. Service Connection (The target for the group)
194
- * const siteAVpnSc = new scm.ServiceConnection("site_a_vpn_sc", {
195
- * name: "creating_a_service_connection_sc_grp",
196
- * region: "us-west-1a",
197
- * ipsecTunnel: exampleIpsecTunnel.name,
198
- * subnets: [
199
- * "10.1.0.0/16",
200
- * "172.16.0.0/24",
201
- * ],
202
- * sourceNat: false,
203
- * });
204
- * //# 5. Service Connection (The target for the group)
205
- * const siteAVpnSc2 = new scm.ServiceConnection("site_a_vpn_sc_2", {
206
- * name: "creating_a_service_connection_sc_grp_2",
207
- * region: "us-west-1a",
208
- * ipsecTunnel: exampleIpsecTunnel.name,
209
- * subnets: [
210
- * "10.1.0.0/16",
211
- * "172.16.0.0/24",
212
- * ],
213
- * sourceNat: false,
214
- * });
215
- * //# 6. Service Connection Group (Groups the Service Connection created above)
216
- * const exampleGroup = new scm.ServiceConnectionGroup("example_group", {
217
- * name: "service-connection-group-app_sc_grp",
218
- * targets: [
219
- * siteAVpnSc.name,
220
- * siteAVpnSc2.name,
221
- * ],
222
- * disableSnat: false,
223
- * pbfOnly: true,
224
- * });
225
- * // ------------------------------------------------------------------
226
- * // Data Source: SCM Service Connection Group (Single Lookup)
227
- * // ------------------------------------------------------------------
228
- * const groupLookup = scm.getServiceConnectionGroupOutput({
229
- * id: exampleGroup.id,
230
- * });
231
- * export const lookedUpServiceConnectionGroupDetails = groupLookup;
232
- * ```
233
25
  */
234
26
  function getServiceConnectionGroupOutput(args, opts) {
235
27
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getServiceConnectionGroup.js","sourceRoot":"","sources":["../getServiceConnectionGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4GG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+DAA+D,EAAE;QAC1F,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC;AA0CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4GG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAAiC;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+DAA+D,EAAE;QAChG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0EAMC"}
1
+ {"version":3,"file":"getServiceConnectionGroup.js","sourceRoot":"","sources":["../getServiceConnectionGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+DAA+D,EAAE;QAC1F,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC;AA0CD;;;;GAIG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAAiC;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+DAA+D,EAAE;QAChG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0EAMC"}
@@ -12,7 +12,7 @@ import * as outputs from "./types/output";
12
12
  * // Fetch a list of all service group objects.
13
13
  * // This data source will call the "List" API endpoint.
14
14
  * const allServiceGroups = scm.getServiceGroupList({
15
- * folder: "All",
15
+ * folder: "Shared",
16
16
  * });
17
17
  * export const serviceGroupsListRaw = allServiceGroups.then(allServiceGroups => allServiceGroups.datas);
18
18
  * ```
@@ -101,7 +101,7 @@ export interface GetServiceGroupListResult {
101
101
  * // Fetch a list of all service group objects.
102
102
  * // This data source will call the "List" API endpoint.
103
103
  * const allServiceGroups = scm.getServiceGroupList({
104
- * folder: "All",
104
+ * folder: "Shared",
105
105
  * });
106
106
  * export const serviceGroupsListRaw = allServiceGroups.then(allServiceGroups => allServiceGroups.datas);
107
107
  * ```
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
17
17
  * // Fetch a list of all service group objects.
18
18
  * // This data source will call the "List" API endpoint.
19
19
  * const allServiceGroups = scm.getServiceGroupList({
20
- * folder: "All",
20
+ * folder: "Shared",
21
21
  * });
22
22
  * export const serviceGroupsListRaw = allServiceGroups.then(allServiceGroups => allServiceGroups.datas);
23
23
  * ```
@@ -47,7 +47,7 @@ exports.getServiceGroupList = getServiceGroupList;
47
47
  * // Fetch a list of all service group objects.
48
48
  * // This data source will call the "List" API endpoint.
49
49
  * const allServiceGroups = scm.getServiceGroupList({
50
- * folder: "All",
50
+ * folder: "Shared",
51
51
  * });
52
52
  * export const serviceGroupsListRaw = allServiceGroups.then(allServiceGroups => allServiceGroups.datas);
53
53
  * ```
@@ -11,12 +11,12 @@ import * as outputs from "./types/output";
11
11
  *
12
12
  * // Data source to fetch all services in the "Shared" folder.
13
13
  * const allSharedServices = scm.getServiceList({
14
- * folder: "All",
14
+ * folder: "Shared",
15
15
  * });
16
16
  * export const allSharedServicesMap = allSharedServices.then(allSharedServices => .reduce((__obj, svc) => ({ ...__obj, [svc.name]: svc })));
17
17
  * // Example of using pagination to get the first 5 services.
18
18
  * const paginatedServices = scm.getServiceList({
19
- * folder: "All",
19
+ * folder: "Shared",
20
20
  * limit: 5,
21
21
  * offset: 0,
22
22
  * });
@@ -111,12 +111,12 @@ export interface GetServiceListResult {
111
111
  *
112
112
  * // Data source to fetch all services in the "Shared" folder.
113
113
  * const allSharedServices = scm.getServiceList({
114
- * folder: "All",
114
+ * folder: "Shared",
115
115
  * });
116
116
  * export const allSharedServicesMap = allSharedServices.then(allSharedServices => .reduce((__obj, svc) => ({ ...__obj, [svc.name]: svc })));
117
117
  * // Example of using pagination to get the first 5 services.
118
118
  * const paginatedServices = scm.getServiceList({
119
- * folder: "All",
119
+ * folder: "Shared",
120
120
  * limit: 5,
121
121
  * offset: 0,
122
122
  * });
package/getServiceList.js CHANGED
@@ -16,12 +16,12 @@ const utilities = require("./utilities");
16
16
  *
17
17
  * // Data source to fetch all services in the "Shared" folder.
18
18
  * const allSharedServices = scm.getServiceList({
19
- * folder: "All",
19
+ * folder: "Shared",
20
20
  * });
21
21
  * export const allSharedServicesMap = allSharedServices.then(allSharedServices => .reduce((__obj, svc) => ({ ...__obj, [svc.name]: svc })));
22
22
  * // Example of using pagination to get the first 5 services.
23
23
  * const paginatedServices = scm.getServiceList({
24
- * folder: "All",
24
+ * folder: "Shared",
25
25
  * limit: 5,
26
26
  * offset: 0,
27
27
  * });
@@ -57,12 +57,12 @@ exports.getServiceList = getServiceList;
57
57
  *
58
58
  * // Data source to fetch all services in the "Shared" folder.
59
59
  * const allSharedServices = scm.getServiceList({
60
- * folder: "All",
60
+ * folder: "Shared",
61
61
  * });
62
62
  * export const allSharedServicesMap = allSharedServices.then(allSharedServices => .reduce((__obj, svc) => ({ ...__obj, [svc.name]: svc })));
63
63
  * // Example of using pagination to get the first 5 services.
64
64
  * const paginatedServices = scm.getServiceList({
65
- * folder: "All",
65
+ * folder: "Shared",
66
66
  * limit: 5,
67
67
  * offset: 0,
68
68
  * });
package/getSnippet.d.ts CHANGED
@@ -1,30 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Snippet data source
4
- *
5
- * ## Example Usage
6
- *
7
- * ```typescript
8
- * import * as pulumi from "@pulumi/pulumi";
9
- * import * as scm from "@pulumi/scm";
10
- *
11
- * const scmLabel1 = new scm.Label("scm_label_1", {name: "scm_label"});
12
- * const scmSnippet1 = new scm.Snippet("scm_snippet_1", {
13
- * name: "scm_snippet",
14
- * description: "Adding a Description from Terraform",
15
- * labels: [scmLabel1.name],
16
- * });
17
- * // Look up the "scm_snippet" tag by its id
18
- * const scmSnippetOutputsDs = scm.getSnippetOutput({
19
- * id: scmSnippet1.id,
20
- * });
21
- * export const snippetOutputs = {
22
- * productionId: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.id),
23
- * productionName: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.name),
24
- * productionDescription: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.description),
25
- * productionLabels: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.labels),
26
- * };
27
- * ```
28
4
  */
29
5
  export declare function getSnippet(args: GetSnippetArgs, opts?: pulumi.InvokeOptions): Promise<GetSnippetResult>;
30
6
  /**
@@ -68,30 +44,6 @@ export interface GetSnippetResult {
68
44
  }
69
45
  /**
70
46
  * Snippet data source
71
- *
72
- * ## Example Usage
73
- *
74
- * ```typescript
75
- * import * as pulumi from "@pulumi/pulumi";
76
- * import * as scm from "@pulumi/scm";
77
- *
78
- * const scmLabel1 = new scm.Label("scm_label_1", {name: "scm_label"});
79
- * const scmSnippet1 = new scm.Snippet("scm_snippet_1", {
80
- * name: "scm_snippet",
81
- * description: "Adding a Description from Terraform",
82
- * labels: [scmLabel1.name],
83
- * });
84
- * // Look up the "scm_snippet" tag by its id
85
- * const scmSnippetOutputsDs = scm.getSnippetOutput({
86
- * id: scmSnippet1.id,
87
- * });
88
- * export const snippetOutputs = {
89
- * productionId: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.id),
90
- * productionName: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.name),
91
- * productionDescription: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.description),
92
- * productionLabels: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.labels),
93
- * };
94
- * ```
95
47
  */
96
48
  export declare function getSnippetOutput(args: GetSnippetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSnippetResult>;
97
49
  /**
package/getSnippet.js CHANGED
@@ -7,30 +7,6 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Snippet data source
10
- *
11
- * ## Example Usage
12
- *
13
- * ```typescript
14
- * import * as pulumi from "@pulumi/pulumi";
15
- * import * as scm from "@pulumi/scm";
16
- *
17
- * const scmLabel1 = new scm.Label("scm_label_1", {name: "scm_label"});
18
- * const scmSnippet1 = new scm.Snippet("scm_snippet_1", {
19
- * name: "scm_snippet",
20
- * description: "Adding a Description from Terraform",
21
- * labels: [scmLabel1.name],
22
- * });
23
- * // Look up the "scm_snippet" tag by its id
24
- * const scmSnippetOutputsDs = scm.getSnippetOutput({
25
- * id: scmSnippet1.id,
26
- * });
27
- * export const snippetOutputs = {
28
- * productionId: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.id),
29
- * productionName: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.name),
30
- * productionDescription: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.description),
31
- * productionLabels: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.labels),
32
- * };
33
- * ```
34
10
  */
35
11
  function getSnippet(args, opts) {
36
12
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -42,30 +18,6 @@ function getSnippet(args, opts) {
42
18
  exports.getSnippet = getSnippet;
43
19
  /**
44
20
  * Snippet data source
45
- *
46
- * ## Example Usage
47
- *
48
- * ```typescript
49
- * import * as pulumi from "@pulumi/pulumi";
50
- * import * as scm from "@pulumi/scm";
51
- *
52
- * const scmLabel1 = new scm.Label("scm_label_1", {name: "scm_label"});
53
- * const scmSnippet1 = new scm.Snippet("scm_snippet_1", {
54
- * name: "scm_snippet",
55
- * description: "Adding a Description from Terraform",
56
- * labels: [scmLabel1.name],
57
- * });
58
- * // Look up the "scm_snippet" tag by its id
59
- * const scmSnippetOutputsDs = scm.getSnippetOutput({
60
- * id: scmSnippet1.id,
61
- * });
62
- * export const snippetOutputs = {
63
- * productionId: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.id),
64
- * productionName: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.name),
65
- * productionDescription: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.description),
66
- * productionLabels: scmSnippetOutputsDs.apply(scmSnippetOutputsDs => scmSnippetOutputsDs.labels),
67
- * };
68
- * ```
69
21
  */
70
22
  function getSnippetOutput(args, opts) {
71
23
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
package/getSnippet.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getSnippet.js","sourceRoot":"","sources":["../getSnippet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AA0CD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}
1
+ {"version":3,"file":"getSnippet.js","sourceRoot":"","sources":["../getSnippet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AA0CD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}