@pulumi/scm 1.0.0-alpha.1762562132 → 1.0.0-alpha.1762844275

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/{aggregateEthernetInterface.d.ts → aggregateInterface.d.ts} +26 -24
  6. package/{aggregateEthernetInterface.js → aggregateInterface.js} +13 -11
  7. package/aggregateInterface.js.map +1 -0
  8. package/antiSpywareSignature.d.ts +3 -3
  9. package/appOverrideRule.d.ts +128 -3
  10. package/appOverrideRule.js +95 -0
  11. package/appOverrideRule.js.map +1 -1
  12. package/applicationFilter.d.ts +16 -0
  13. package/applicationFilter.js +16 -0
  14. package/applicationFilter.js.map +1 -1
  15. package/authenticationRule.d.ts +123 -0
  16. package/authenticationRule.js +103 -0
  17. package/authenticationRule.js.map +1 -1
  18. package/bgpRouteMapRedistribution.d.ts +6 -6
  19. package/certificateProfile.d.ts +29 -0
  20. package/certificateProfile.js +29 -0
  21. package/certificateProfile.js.map +1 -1
  22. package/decryptionProfile.d.ts +139 -0
  23. package/decryptionProfile.js +139 -0
  24. package/decryptionProfile.js.map +1 -1
  25. package/decryptionRule.d.ts +139 -0
  26. package/decryptionRule.js +119 -0
  27. package/decryptionRule.js.map +1 -1
  28. package/dnsProxy.d.ts +6 -6
  29. package/dnsSecurityProfile.d.ts +2 -0
  30. package/dnsSecurityProfile.js +2 -0
  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 +13 -11
  35. package/ethernetInterface.js +2 -0
  36. package/ethernetInterface.js.map +1 -1
  37. package/externalDynamicList.d.ts +80 -0
  38. package/externalDynamicList.js +80 -0
  39. package/externalDynamicList.js.map +1 -1
  40. package/folder.d.ts +60 -0
  41. package/folder.js +60 -0
  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/getAggregateInterface.d.ts +116 -0
  48. package/getAggregateInterface.js +68 -0
  49. package/getAggregateInterface.js.map +1 -0
  50. package/{getAggregateEthernetInterfaceList.d.ts → getAggregateInterfaceList.d.ts} +35 -9
  51. package/getAggregateInterfaceList.js +66 -0
  52. package/getAggregateInterfaceList.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 +65 -1
  59. package/getAppOverrideRule.js +52 -0
  60. package/getAppOverrideRule.js.map +1 -1
  61. package/getAppOverrideRuleList.d.ts +48 -2
  62. package/getAppOverrideRuleList.js +36 -2
  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 +74 -0
  69. package/getAuthenticationRule.js +62 -0
  70. package/getAuthenticationRule.js.map +1 -1
  71. package/getAuthenticationRuleList.d.ts +50 -2
  72. package/getAuthenticationRuleList.js +38 -2
  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 +40 -0
  78. package/getDecryptionProfile.js +40 -0
  79. package/getDecryptionProfile.js.map +1 -1
  80. package/getDecryptionProfileList.d.ts +32 -0
  81. package/getDecryptionProfileList.js +32 -0
  82. package/getDecryptionProfileList.js.map +1 -1
  83. package/getDecryptionRule.d.ts +74 -0
  84. package/getDecryptionRule.js +62 -0
  85. package/getDecryptionRule.js.map +1 -1
  86. package/getDecryptionRuleList.d.ts +48 -2
  87. package/getDecryptionRuleList.js +36 -2
  88. package/getDecryptionRuleList.js.map +1 -1
  89. package/getDnsProxy.d.ts +1 -1
  90. package/getDnsSecurityProfile.d.ts +40 -0
  91. package/getDnsSecurityProfile.js +40 -0
  92. package/getDnsSecurityProfile.js.map +1 -1
  93. package/getDnsSecurityProfileList.d.ts +32 -0
  94. package/getDnsSecurityProfileList.js +32 -0
  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 +40 -2
  99. package/getEthernetInterface.js +38 -0
  100. package/getEthernetInterface.js.map +1 -1
  101. package/getEthernetInterfaceList.d.ts +26 -0
  102. package/getEthernetInterfaceList.js +26 -0
  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 +36 -0
  107. package/getFolder.js +36 -0
  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 +89 -8
  114. package/getInterfaceManagementProfile.js +80 -0
  115. package/getInterfaceManagementProfile.js.map +1 -1
  116. package/getInterfaceManagementProfileList.d.ts +42 -0
  117. package/getInterfaceManagementProfileList.js +42 -0
  118. package/getInterfaceManagementProfileList.js.map +1 -1
  119. package/getLayer2Subinterface.d.ts +42 -2
  120. package/getLayer2Subinterface.js +40 -0
  121. package/getLayer2Subinterface.js.map +1 -1
  122. package/getLayer2SubinterfaceList.d.ts +26 -0
  123. package/getLayer2SubinterfaceList.js +26 -0
  124. package/getLayer2SubinterfaceList.js.map +1 -1
  125. package/getLayer3Subinterface.d.ts +45 -3
  126. package/getLayer3Subinterface.js +42 -0
  127. package/getLayer3Subinterface.js.map +1 -1
  128. package/getLayer3SubinterfaceList.d.ts +26 -0
  129. package/getLayer3SubinterfaceList.js +26 -0
  130. package/getLayer3SubinterfaceList.js.map +1 -1
  131. package/getLogicalRouter.d.ts +38 -0
  132. package/getLogicalRouter.js +38 -0
  133. package/getLogicalRouter.js.map +1 -1
  134. package/getLogicalRouterList.d.ts +40 -0
  135. package/getLogicalRouterList.js +30 -0
  136. package/getLogicalRouterList.js.map +1 -1
  137. package/getLoopbackInterface.d.ts +49 -7
  138. package/getLoopbackInterface.js +38 -0
  139. package/getLoopbackInterface.js.map +1 -1
  140. package/getLoopbackInterfaceList.d.ts +26 -0
  141. package/getLoopbackInterfaceList.js +26 -0
  142. package/getLoopbackInterfaceList.js.map +1 -1
  143. package/getNatRule.d.ts +86 -14
  144. package/getNatRule.js +76 -0
  145. package/getNatRule.js.map +1 -1
  146. package/getNatRuleList.d.ts +52 -2
  147. package/getNatRuleList.js +40 -2
  148. package/getNatRuleList.js.map +1 -1
  149. package/getPbfRule.d.ts +88 -0
  150. package/getPbfRule.js +88 -0
  151. package/getPbfRule.js.map +1 -1
  152. package/getPbfRuleList.d.ts +34 -0
  153. package/getPbfRuleList.js +34 -0
  154. package/getPbfRuleList.js.map +1 -1
  155. package/getQosPolicyRule.d.ts +72 -0
  156. package/getQosPolicyRule.js +60 -0
  157. package/getQosPolicyRule.js.map +1 -1
  158. package/getQosPolicyRuleList.d.ts +48 -2
  159. package/getQosPolicyRuleList.js +36 -2
  160. package/getQosPolicyRuleList.js.map +1 -1
  161. package/getRadiusServerProfile.d.ts +54 -0
  162. package/getRadiusServerProfile.js +54 -0
  163. package/getRadiusServerProfile.js.map +1 -1
  164. package/getSdwanTrafficDistributionProfile.d.ts +1 -1
  165. package/getSecurityRule.d.ts +106 -0
  166. package/getSecurityRule.js +94 -0
  167. package/getSecurityRule.js.map +1 -1
  168. package/getSecurityRuleList.d.ts +46 -2
  169. package/getSecurityRuleList.js +34 -2
  170. package/getSecurityRuleList.js.map +1 -1
  171. package/getServiceConnection.d.ts +177 -1
  172. package/getServiceConnection.js +176 -0
  173. package/getServiceConnection.js.map +1 -1
  174. package/getServiceConnectionGroup.d.ts +208 -0
  175. package/getServiceConnectionGroup.js +208 -0
  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 +48 -0
  182. package/getSnippet.js +48 -0
  183. package/getSnippet.js.map +1 -1
  184. package/getSnippetList.d.ts +24 -0
  185. package/getSnippetList.js +24 -0
  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 +42 -4
  190. package/getTunnelInterface.js +38 -0
  191. package/getTunnelInterface.js.map +1 -1
  192. package/getTunnelInterfaceList.d.ts +26 -0
  193. package/getTunnelInterfaceList.js +26 -0
  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 +46 -6
  200. package/getVlanInterface.js +40 -0
  201. package/getVlanInterface.js.map +1 -1
  202. package/getVlanInterfaceList.d.ts +26 -0
  203. package/getVlanInterfaceList.js +26 -0
  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 +41 -1
  208. package/getVulnerabilityProtectionSignature.js +40 -0
  209. package/getVulnerabilityProtectionSignature.js.map +1 -1
  210. package/getVulnerabilityProtectionSignatureList.d.ts +32 -0
  211. package/getVulnerabilityProtectionSignatureList.js +32 -0
  212. package/getVulnerabilityProtectionSignatureList.js.map +1 -1
  213. package/getZone.d.ts +44 -0
  214. package/getZone.js +44 -0
  215. package/getZone.js.map +1 -1
  216. package/getZoneList.d.ts +26 -0
  217. package/getZoneList.js +26 -0
  218. package/getZoneList.js.map +1 -1
  219. package/ikeGateway.d.ts +49 -0
  220. package/ikeGateway.js +49 -0
  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 +56 -24
  226. package/interfaceManagementProfile.js +30 -0
  227. package/interfaceManagementProfile.js.map +1 -1
  228. package/ipsecCryptoProfile.d.ts +28 -0
  229. package/ipsecCryptoProfile.js +28 -0
  230. package/ipsecCryptoProfile.js.map +1 -1
  231. package/ipsecTunnel.d.ts +66 -0
  232. package/ipsecTunnel.js +66 -0
  233. package/ipsecTunnel.js.map +1 -1
  234. package/layer2Subinterface.d.ts +36 -7
  235. package/layer2Subinterface.js +32 -0
  236. package/layer2Subinterface.js.map +1 -1
  237. package/layer3Subinterface.d.ts +70 -11
  238. package/layer3Subinterface.js +59 -0
  239. package/layer3Subinterface.js.map +1 -1
  240. package/logicalRouter.d.ts +2 -0
  241. package/logicalRouter.js +2 -0
  242. package/logicalRouter.js.map +1 -1
  243. package/loopbackInterface.d.ts +58 -15
  244. package/loopbackInterface.js +35 -2
  245. package/loopbackInterface.js.map +1 -1
  246. package/natRule.d.ts +135 -42
  247. package/natRule.js +121 -8
  248. package/natRule.js.map +1 -1
  249. package/package.json +2 -2
  250. package/pbfRule.d.ts +89 -0
  251. package/pbfRule.js +89 -0
  252. package/pbfRule.js.map +1 -1
  253. package/qosPolicyRule.d.ts +95 -0
  254. package/qosPolicyRule.js +75 -0
  255. package/qosPolicyRule.js.map +1 -1
  256. package/radiusServerProfile.d.ts +38 -0
  257. package/radiusServerProfile.js +38 -0
  258. package/radiusServerProfile.js.map +1 -1
  259. package/remoteNetwork.d.ts +81 -0
  260. package/remoteNetwork.js +81 -0
  261. package/remoteNetwork.js.map +1 -1
  262. package/sdwanTrafficDistributionProfile.d.ts +4 -4
  263. package/securityRule.d.ts +181 -0
  264. package/securityRule.js +161 -0
  265. package/securityRule.js.map +1 -1
  266. package/serviceConnection.d.ts +82 -3
  267. package/serviceConnection.js +81 -2
  268. package/serviceConnection.js.map +1 -1
  269. package/serviceConnectionGroup.d.ts +100 -0
  270. package/serviceConnectionGroup.js +100 -0
  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 +23 -0
  275. package/snippet.js +23 -0
  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 +42 -12
  280. package/tunnelInterface.js +32 -2
  281. package/tunnelInterface.js.map +1 -1
  282. package/types/input.d.ts +607 -335
  283. package/types/output.d.ts +1945 -1069
  284. package/vlanInterface.d.ts +40 -20
  285. package/vlanInterface.js +20 -0
  286. package/vlanInterface.js.map +1 -1
  287. package/vulnerabilityProtectionSignature.d.ts +12 -10
  288. package/vulnerabilityProtectionSignature.js +14 -0
  289. package/vulnerabilityProtectionSignature.js.map +1 -1
  290. package/zone.d.ts +71 -0
  291. package/zone.js +71 -0
  292. package/zone.js.map +1 -1
  293. package/aggregateEthernetInterface.js.map +0 -1
  294. package/getAggregateEthernetInterface.d.ts +0 -78
  295. package/getAggregateEthernetInterface.js +0 -30
  296. package/getAggregateEthernetInterface.js.map +0 -1
  297. package/getAggregateEthernetInterfaceList.js +0 -40
  298. package/getAggregateEthernetInterfaceList.js.map +0 -1
@@ -2,6 +2,19 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
4
  * Retrieves a listing of config items.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as scm from "@pulumi/scm";
11
+ *
12
+ * // Fetch a list of all loopback interfaces
13
+ * const allLoopbackInterfaces = scm.getLoopbackInterfaceList({
14
+ * folder: "ngfw-shared",
15
+ * });
16
+ * export const scmLoopbackInterfaceList = allLoopbackInterfaces.then(allLoopbackInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
17
+ * ```
5
18
  */
6
19
  export declare function getLoopbackInterfaceList(args?: GetLoopbackInterfaceListArgs, opts?: pulumi.InvokeOptions): Promise<GetLoopbackInterfaceListResult>;
7
20
  /**
@@ -77,6 +90,19 @@ export interface GetLoopbackInterfaceListResult {
77
90
  }
78
91
  /**
79
92
  * Retrieves a listing of config items.
93
+ *
94
+ * ## Example Usage
95
+ *
96
+ * ```typescript
97
+ * import * as pulumi from "@pulumi/pulumi";
98
+ * import * as scm from "@pulumi/scm";
99
+ *
100
+ * // Fetch a list of all loopback interfaces
101
+ * const allLoopbackInterfaces = scm.getLoopbackInterfaceList({
102
+ * folder: "ngfw-shared",
103
+ * });
104
+ * export const scmLoopbackInterfaceList = allLoopbackInterfaces.then(allLoopbackInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
105
+ * ```
80
106
  */
81
107
  export declare function getLoopbackInterfaceListOutput(args?: GetLoopbackInterfaceListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLoopbackInterfaceListResult>;
82
108
  /**
@@ -7,6 +7,19 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Retrieves a listing of config items.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as scm from "@pulumi/scm";
16
+ *
17
+ * // Fetch a list of all loopback interfaces
18
+ * const allLoopbackInterfaces = scm.getLoopbackInterfaceList({
19
+ * folder: "ngfw-shared",
20
+ * });
21
+ * export const scmLoopbackInterfaceList = allLoopbackInterfaces.then(allLoopbackInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
22
+ * ```
10
23
  */
11
24
  function getLoopbackInterfaceList(args, opts) {
12
25
  args = args || {};
@@ -23,6 +36,19 @@ function getLoopbackInterfaceList(args, opts) {
23
36
  exports.getLoopbackInterfaceList = getLoopbackInterfaceList;
24
37
  /**
25
38
  * Retrieves a listing of config items.
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as scm from "@pulumi/scm";
45
+ *
46
+ * // Fetch a list of all loopback interfaces
47
+ * const allLoopbackInterfaces = scm.getLoopbackInterfaceList({
48
+ * folder: "ngfw-shared",
49
+ * });
50
+ * export const scmLoopbackInterfaceList = allLoopbackInterfaces.then(allLoopbackInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
51
+ * ```
26
52
  */
27
53
  function getLoopbackInterfaceListOutput(args, opts) {
28
54
  args = args || {};
@@ -1 +1 @@
1
- {"version":3,"file":"getLoopbackInterfaceList.js","sourceRoot":"","sources":["../getLoopbackInterfaceList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6DAA6D,EAAE;QACxF,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB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AAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4DAWC;AA0ED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,8BAA8B,CAAC,IAAyC,EAAE,IAAiC;IACvH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6DAA6D,EAAE;QAC9F,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wEAWC"}
package/getNatRule.d.ts CHANGED
@@ -2,6 +2,44 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
4
  * NatRule data source
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as scm from "@pulumi/scm";
11
+ *
12
+ * // Define the resource (the item to be created via API POST/PUT)
13
+ * const dnatExternalWebTestCreate = new scm.NatRule("dnat_external_web_test_create", {
14
+ * name: "DNAT-External-data-src-test_1",
15
+ * description: "Translate public VIP to internal web server.",
16
+ * froms: ["zone-untrust"],
17
+ * tos: ["zone-untrust"],
18
+ * sources: ["any"],
19
+ * destinations: ["any"],
20
+ * service: "service-http",
21
+ * folder: "All",
22
+ * natType: "ipv4",
23
+ * position: "pre",
24
+ * destinationTranslation: {
25
+ * translatedAddress: "10.1.1.16",
26
+ * translatedPort: 112,
27
+ * dnsRewrite: {
28
+ * direction: "reverse",
29
+ * },
30
+ * },
31
+ * });
32
+ * // Define the data source (the item to be retrieved via API GET)
33
+ * const dnatExternalWebTestGet = scm.getNatRuleOutput({
34
+ * id: dnatExternalWebTestCreate.id,
35
+ * });
36
+ * export const retrievedIDAndName = {
37
+ * id: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.id),
38
+ * name: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.name),
39
+ * };
40
+ * export const retrievedDestinationTranslation = dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.destinationTranslation);
41
+ * export const recievedResponse = dnatExternalWebTestGet;
42
+ * ```
5
43
  */
6
44
  export declare function getNatRule(args: GetNatRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetNatRuleResult>;
7
45
  /**
@@ -29,6 +67,10 @@ export interface GetNatRuleResult {
29
67
  * NAT rule description
30
68
  */
31
69
  readonly description: string;
70
+ /**
71
+ * Destination translation
72
+ */
73
+ readonly destinationTranslation: outputs.GetNatRuleDestinationTranslation;
32
74
  /**
33
75
  * Destination address(es) of the original packet
34
76
  */
@@ -42,13 +84,9 @@ export interface GetNatRuleResult {
42
84
  */
43
85
  readonly disabled: boolean;
44
86
  /**
45
- * Distribution method
87
+ * Dynamic destination translation
46
88
  */
47
- readonly distribution: string;
48
- /**
49
- * DNS rewrite
50
- */
51
- readonly dnsRewrite: outputs.GetNatRuleDnsRewrite;
89
+ readonly dynamicDestinationTranslation: outputs.GetNatRuleDynamicDestinationTranslation;
52
90
  /**
53
91
  * The folder in which the resource is defined
54
92
  */
@@ -69,6 +107,10 @@ export interface GetNatRuleResult {
69
107
  * NAT type
70
108
  */
71
109
  readonly natType: string;
110
+ /**
111
+ * The relative position of the rule
112
+ */
113
+ readonly position: string;
72
114
  /**
73
115
  * The service of the original packet
74
116
  */
@@ -98,17 +140,47 @@ export interface GetNatRuleResult {
98
140
  * Destination zone of the original packet
99
141
  */
100
142
  readonly tos: string[];
101
- /**
102
- * Translated destination IP address
103
- */
104
- readonly translatedAddressSingle: string;
105
- /**
106
- * Translated destination port
107
- */
108
- readonly translatedPort: number;
109
143
  }
110
144
  /**
111
145
  * NatRule data source
146
+ *
147
+ * ## Example Usage
148
+ *
149
+ * ```typescript
150
+ * import * as pulumi from "@pulumi/pulumi";
151
+ * import * as scm from "@pulumi/scm";
152
+ *
153
+ * // Define the resource (the item to be created via API POST/PUT)
154
+ * const dnatExternalWebTestCreate = new scm.NatRule("dnat_external_web_test_create", {
155
+ * name: "DNAT-External-data-src-test_1",
156
+ * description: "Translate public VIP to internal web server.",
157
+ * froms: ["zone-untrust"],
158
+ * tos: ["zone-untrust"],
159
+ * sources: ["any"],
160
+ * destinations: ["any"],
161
+ * service: "service-http",
162
+ * folder: "All",
163
+ * natType: "ipv4",
164
+ * position: "pre",
165
+ * destinationTranslation: {
166
+ * translatedAddress: "10.1.1.16",
167
+ * translatedPort: 112,
168
+ * dnsRewrite: {
169
+ * direction: "reverse",
170
+ * },
171
+ * },
172
+ * });
173
+ * // Define the data source (the item to be retrieved via API GET)
174
+ * const dnatExternalWebTestGet = scm.getNatRuleOutput({
175
+ * id: dnatExternalWebTestCreate.id,
176
+ * });
177
+ * export const retrievedIDAndName = {
178
+ * id: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.id),
179
+ * name: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.name),
180
+ * };
181
+ * export const retrievedDestinationTranslation = dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.destinationTranslation);
182
+ * export const recievedResponse = dnatExternalWebTestGet;
183
+ * ```
112
184
  */
113
185
  export declare function getNatRuleOutput(args: GetNatRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNatRuleResult>;
114
186
  /**
package/getNatRule.js CHANGED
@@ -7,6 +7,44 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * NatRule 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
+ * // Define the resource (the item to be created via API POST/PUT)
18
+ * const dnatExternalWebTestCreate = new scm.NatRule("dnat_external_web_test_create", {
19
+ * name: "DNAT-External-data-src-test_1",
20
+ * description: "Translate public VIP to internal web server.",
21
+ * froms: ["zone-untrust"],
22
+ * tos: ["zone-untrust"],
23
+ * sources: ["any"],
24
+ * destinations: ["any"],
25
+ * service: "service-http",
26
+ * folder: "All",
27
+ * natType: "ipv4",
28
+ * position: "pre",
29
+ * destinationTranslation: {
30
+ * translatedAddress: "10.1.1.16",
31
+ * translatedPort: 112,
32
+ * dnsRewrite: {
33
+ * direction: "reverse",
34
+ * },
35
+ * },
36
+ * });
37
+ * // Define the data source (the item to be retrieved via API GET)
38
+ * const dnatExternalWebTestGet = scm.getNatRuleOutput({
39
+ * id: dnatExternalWebTestCreate.id,
40
+ * });
41
+ * export const retrievedIDAndName = {
42
+ * id: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.id),
43
+ * name: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.name),
44
+ * };
45
+ * export const retrievedDestinationTranslation = dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.destinationTranslation);
46
+ * export const recievedResponse = dnatExternalWebTestGet;
47
+ * ```
10
48
  */
11
49
  function getNatRule(args, opts) {
12
50
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -18,6 +56,44 @@ function getNatRule(args, opts) {
18
56
  exports.getNatRule = getNatRule;
19
57
  /**
20
58
  * NatRule data source
59
+ *
60
+ * ## Example Usage
61
+ *
62
+ * ```typescript
63
+ * import * as pulumi from "@pulumi/pulumi";
64
+ * import * as scm from "@pulumi/scm";
65
+ *
66
+ * // Define the resource (the item to be created via API POST/PUT)
67
+ * const dnatExternalWebTestCreate = new scm.NatRule("dnat_external_web_test_create", {
68
+ * name: "DNAT-External-data-src-test_1",
69
+ * description: "Translate public VIP to internal web server.",
70
+ * froms: ["zone-untrust"],
71
+ * tos: ["zone-untrust"],
72
+ * sources: ["any"],
73
+ * destinations: ["any"],
74
+ * service: "service-http",
75
+ * folder: "All",
76
+ * natType: "ipv4",
77
+ * position: "pre",
78
+ * destinationTranslation: {
79
+ * translatedAddress: "10.1.1.16",
80
+ * translatedPort: 112,
81
+ * dnsRewrite: {
82
+ * direction: "reverse",
83
+ * },
84
+ * },
85
+ * });
86
+ * // Define the data source (the item to be retrieved via API GET)
87
+ * const dnatExternalWebTestGet = scm.getNatRuleOutput({
88
+ * id: dnatExternalWebTestCreate.id,
89
+ * });
90
+ * export const retrievedIDAndName = {
91
+ * id: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.id),
92
+ * name: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.name),
93
+ * };
94
+ * export const retrievedDestinationTranslation = dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.destinationTranslation);
95
+ * export const recievedResponse = dnatExternalWebTestGet;
96
+ * ```
21
97
  */
22
98
  function getNatRuleOutput(args, opts) {
23
99
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
package/getNatRule.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getNatRule.js","sourceRoot":"","sources":["../getNatRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,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,CAA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,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"}
@@ -2,8 +2,27 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
4
  * Retrieves a listing of config items.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as scm from "@pulumi/scm";
11
+ *
12
+ * // Define a data source for listing NAT rules
13
+ * const pagedNatRulesList = scm.getNatRuleList({
14
+ * folder: "All",
15
+ * limit: 10,
16
+ * offset: 10,
17
+ * position: "pre",
18
+ * });
19
+ * export const fetchedNATRuleListSummary = {
20
+ * totalRulesInList: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.total),
21
+ * allRules: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.datas),
22
+ * };
23
+ * ```
5
24
  */
6
- export declare function getNatRuleList(args?: GetNatRuleListArgs, opts?: pulumi.InvokeOptions): Promise<GetNatRuleListResult>;
25
+ export declare function getNatRuleList(args: GetNatRuleListArgs, opts?: pulumi.InvokeOptions): Promise<GetNatRuleListResult>;
7
26
  /**
8
27
  * A collection of arguments for invoking getNatRuleList.
9
28
  */
@@ -28,6 +47,10 @@ export interface GetNatRuleListArgs {
28
47
  * The offset of the first item to return.
29
48
  */
30
49
  offset?: number;
50
+ /**
51
+ * The relative position of the rule
52
+ */
53
+ position: string;
31
54
  /**
32
55
  * The snippet of the item.
33
56
  */
@@ -65,6 +88,10 @@ export interface GetNatRuleListResult {
65
88
  * The offset of the first item to return.
66
89
  */
67
90
  readonly offset?: number;
91
+ /**
92
+ * The relative position of the rule
93
+ */
94
+ readonly position: string;
68
95
  /**
69
96
  * The snippet of the item.
70
97
  */
@@ -77,8 +104,27 @@ export interface GetNatRuleListResult {
77
104
  }
78
105
  /**
79
106
  * Retrieves a listing of config items.
107
+ *
108
+ * ## Example Usage
109
+ *
110
+ * ```typescript
111
+ * import * as pulumi from "@pulumi/pulumi";
112
+ * import * as scm from "@pulumi/scm";
113
+ *
114
+ * // Define a data source for listing NAT rules
115
+ * const pagedNatRulesList = scm.getNatRuleList({
116
+ * folder: "All",
117
+ * limit: 10,
118
+ * offset: 10,
119
+ * position: "pre",
120
+ * });
121
+ * export const fetchedNATRuleListSummary = {
122
+ * totalRulesInList: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.total),
123
+ * allRules: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.datas),
124
+ * };
125
+ * ```
80
126
  */
81
- export declare function getNatRuleListOutput(args?: GetNatRuleListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNatRuleListResult>;
127
+ export declare function getNatRuleListOutput(args: GetNatRuleListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNatRuleListResult>;
82
128
  /**
83
129
  * A collection of arguments for invoking getNatRuleList.
84
130
  */
@@ -103,6 +149,10 @@ export interface GetNatRuleListOutputArgs {
103
149
  * The offset of the first item to return.
104
150
  */
105
151
  offset?: pulumi.Input<number>;
152
+ /**
153
+ * The relative position of the rule
154
+ */
155
+ position: pulumi.Input<string>;
106
156
  /**
107
157
  * The snippet of the item.
108
158
  */
package/getNatRuleList.js CHANGED
@@ -7,9 +7,27 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Retrieves a listing of config items.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as scm from "@pulumi/scm";
16
+ *
17
+ * // Define a data source for listing NAT rules
18
+ * const pagedNatRulesList = scm.getNatRuleList({
19
+ * folder: "All",
20
+ * limit: 10,
21
+ * offset: 10,
22
+ * position: "pre",
23
+ * });
24
+ * export const fetchedNATRuleListSummary = {
25
+ * totalRulesInList: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.total),
26
+ * allRules: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.datas),
27
+ * };
28
+ * ```
10
29
  */
11
30
  function getNatRuleList(args, opts) {
12
- args = args || {};
13
31
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
14
32
  return pulumi.runtime.invoke("scm:index/getNatRuleList:getNatRuleList", {
15
33
  "device": args.device,
@@ -17,15 +35,34 @@ function getNatRuleList(args, opts) {
17
35
  "limit": args.limit,
18
36
  "name": args.name,
19
37
  "offset": args.offset,
38
+ "position": args.position,
20
39
  "snippet": args.snippet,
21
40
  }, opts);
22
41
  }
23
42
  exports.getNatRuleList = getNatRuleList;
24
43
  /**
25
44
  * Retrieves a listing of config items.
45
+ *
46
+ * ## Example Usage
47
+ *
48
+ * ```typescript
49
+ * import * as pulumi from "@pulumi/pulumi";
50
+ * import * as scm from "@pulumi/scm";
51
+ *
52
+ * // Define a data source for listing NAT rules
53
+ * const pagedNatRulesList = scm.getNatRuleList({
54
+ * folder: "All",
55
+ * limit: 10,
56
+ * offset: 10,
57
+ * position: "pre",
58
+ * });
59
+ * export const fetchedNATRuleListSummary = {
60
+ * totalRulesInList: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.total),
61
+ * allRules: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.datas),
62
+ * };
63
+ * ```
26
64
  */
27
65
  function getNatRuleListOutput(args, opts) {
28
- args = args || {};
29
66
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
30
67
  return pulumi.runtime.invokeOutput("scm:index/getNatRuleList:getNatRuleList", {
31
68
  "device": args.device,
@@ -33,6 +70,7 @@ function getNatRuleListOutput(args, opts) {
33
70
  "limit": args.limit,
34
71
  "name": args.name,
35
72
  "offset": args.offset,
73
+ "position": args.position,
36
74
  "snippet": args.snippet,
37
75
  }, opts);
38
76
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getNatRuleList.js","sourceRoot":"","sources":["../getNatRuleList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wCAWC;AA0ED;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAAiC;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yCAAyC,EAAE;QAC1E,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAA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,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oDAWC"}
package/getPbfRule.d.ts CHANGED
@@ -2,6 +2,50 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
4
  * PbfRule data source
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as scm from "@pulumi/scm";
11
+ *
12
+ * const exampleTag = new scm.Tag("example_tag", {
13
+ * folder: "All",
14
+ * name: "pbf-rule-tag-ds-test-1",
15
+ * color: "Red",
16
+ * });
17
+ * // --- PBF Rule Resource with discard action---
18
+ * const examplePbfRule = new scm.PbfRule("example_pbf_rule", {
19
+ * name: "pbf-test-ds-rule-discard",
20
+ * folder: "All",
21
+ * description: "Data Source testing pbf rule.",
22
+ * from: {
23
+ * zones: ["zone-untrust"],
24
+ * },
25
+ * sources: ["any"],
26
+ * destinations: ["any"],
27
+ * applications: ["any"],
28
+ * services: ["service-http"],
29
+ * sourceUsers: ["any"],
30
+ * action: {
31
+ * discard: {},
32
+ * },
33
+ * tags: [exampleTag.name],
34
+ * enforceSymmetricReturn: {
35
+ * enabled: false,
36
+ * },
37
+ * schedule: "non-work-hours",
38
+ * });
39
+ * // Define the data source (the item to be retrieved via API GET)
40
+ * const pbfExternalWebTestGet = scm.getPbfRuleOutput({
41
+ * id: examplePbfRule.id,
42
+ * });
43
+ * export const retrievedIDAndName = {
44
+ * id: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.id),
45
+ * name: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.name),
46
+ * };
47
+ * export const recievedResponse = pbfExternalWebTestGet;
48
+ * ```
5
49
  */
6
50
  export declare function getPbfRule(args: GetPbfRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetPbfRuleResult>;
7
51
  /**
@@ -89,6 +133,50 @@ export interface GetPbfRuleResult {
89
133
  }
90
134
  /**
91
135
  * PbfRule data source
136
+ *
137
+ * ## Example Usage
138
+ *
139
+ * ```typescript
140
+ * import * as pulumi from "@pulumi/pulumi";
141
+ * import * as scm from "@pulumi/scm";
142
+ *
143
+ * const exampleTag = new scm.Tag("example_tag", {
144
+ * folder: "All",
145
+ * name: "pbf-rule-tag-ds-test-1",
146
+ * color: "Red",
147
+ * });
148
+ * // --- PBF Rule Resource with discard action---
149
+ * const examplePbfRule = new scm.PbfRule("example_pbf_rule", {
150
+ * name: "pbf-test-ds-rule-discard",
151
+ * folder: "All",
152
+ * description: "Data Source testing pbf rule.",
153
+ * from: {
154
+ * zones: ["zone-untrust"],
155
+ * },
156
+ * sources: ["any"],
157
+ * destinations: ["any"],
158
+ * applications: ["any"],
159
+ * services: ["service-http"],
160
+ * sourceUsers: ["any"],
161
+ * action: {
162
+ * discard: {},
163
+ * },
164
+ * tags: [exampleTag.name],
165
+ * enforceSymmetricReturn: {
166
+ * enabled: false,
167
+ * },
168
+ * schedule: "non-work-hours",
169
+ * });
170
+ * // Define the data source (the item to be retrieved via API GET)
171
+ * const pbfExternalWebTestGet = scm.getPbfRuleOutput({
172
+ * id: examplePbfRule.id,
173
+ * });
174
+ * export const retrievedIDAndName = {
175
+ * id: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.id),
176
+ * name: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.name),
177
+ * };
178
+ * export const recievedResponse = pbfExternalWebTestGet;
179
+ * ```
92
180
  */
93
181
  export declare function getPbfRuleOutput(args: GetPbfRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPbfRuleResult>;
94
182
  /**