@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
package/getPbfRule.js CHANGED
@@ -7,6 +7,50 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * PbfRule 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 exampleTag = new scm.Tag("example_tag", {
18
+ * folder: "All",
19
+ * name: "pbf-rule-tag-ds-test-1",
20
+ * color: "Red",
21
+ * });
22
+ * // --- PBF Rule Resource with discard action---
23
+ * const examplePbfRule = new scm.PbfRule("example_pbf_rule", {
24
+ * name: "pbf-test-ds-rule-discard",
25
+ * folder: "All",
26
+ * description: "Data Source testing pbf rule.",
27
+ * from: {
28
+ * zones: ["zone-untrust"],
29
+ * },
30
+ * sources: ["any"],
31
+ * destinations: ["any"],
32
+ * applications: ["any"],
33
+ * services: ["service-http"],
34
+ * sourceUsers: ["any"],
35
+ * action: {
36
+ * discard: {},
37
+ * },
38
+ * tags: [exampleTag.name],
39
+ * enforceSymmetricReturn: {
40
+ * enabled: false,
41
+ * },
42
+ * schedule: "non-work-hours",
43
+ * });
44
+ * // Define the data source (the item to be retrieved via API GET)
45
+ * const pbfExternalWebTestGet = scm.getPbfRuleOutput({
46
+ * id: examplePbfRule.id,
47
+ * });
48
+ * export const retrievedIDAndName = {
49
+ * id: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.id),
50
+ * name: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.name),
51
+ * };
52
+ * export const recievedResponse = pbfExternalWebTestGet;
53
+ * ```
10
54
  */
11
55
  function getPbfRule(args, opts) {
12
56
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -18,6 +62,50 @@ function getPbfRule(args, opts) {
18
62
  exports.getPbfRule = getPbfRule;
19
63
  /**
20
64
  * PbfRule data source
65
+ *
66
+ * ## Example Usage
67
+ *
68
+ * ```typescript
69
+ * import * as pulumi from "@pulumi/pulumi";
70
+ * import * as scm from "@pulumi/scm";
71
+ *
72
+ * const exampleTag = new scm.Tag("example_tag", {
73
+ * folder: "All",
74
+ * name: "pbf-rule-tag-ds-test-1",
75
+ * color: "Red",
76
+ * });
77
+ * // --- PBF Rule Resource with discard action---
78
+ * const examplePbfRule = new scm.PbfRule("example_pbf_rule", {
79
+ * name: "pbf-test-ds-rule-discard",
80
+ * folder: "All",
81
+ * description: "Data Source testing pbf rule.",
82
+ * from: {
83
+ * zones: ["zone-untrust"],
84
+ * },
85
+ * sources: ["any"],
86
+ * destinations: ["any"],
87
+ * applications: ["any"],
88
+ * services: ["service-http"],
89
+ * sourceUsers: ["any"],
90
+ * action: {
91
+ * discard: {},
92
+ * },
93
+ * tags: [exampleTag.name],
94
+ * enforceSymmetricReturn: {
95
+ * enabled: false,
96
+ * },
97
+ * schedule: "non-work-hours",
98
+ * });
99
+ * // Define the data source (the item to be retrieved via API GET)
100
+ * const pbfExternalWebTestGet = scm.getPbfRuleOutput({
101
+ * id: examplePbfRule.id,
102
+ * });
103
+ * export const retrievedIDAndName = {
104
+ * id: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.id),
105
+ * name: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.name),
106
+ * };
107
+ * export const recievedResponse = pbfExternalWebTestGet;
108
+ * ```
21
109
  */
22
110
  function getPbfRuleOutput(args, opts) {
23
111
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
package/getPbfRule.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getPbfRule.js","sourceRoot":"","sources":["../getPbfRule.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,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,E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Y,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,6 +2,23 @@ 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 pbf rules
13
+ * const pagedPbfRulesList = scm.getPbfRuleList({
14
+ * folder: "All",
15
+ * limit: 10,
16
+ * });
17
+ * export const fetchedPbfRuleListSummary = {
18
+ * totalRulesInList: pagedPbfRulesList.then(pagedPbfRulesList => pagedPbfRulesList.total),
19
+ * allRules: pagedPbfRulesList.then(pagedPbfRulesList => pagedPbfRulesList.datas),
20
+ * };
21
+ * ```
5
22
  */
6
23
  export declare function getPbfRuleList(args?: GetPbfRuleListArgs, opts?: pulumi.InvokeOptions): Promise<GetPbfRuleListResult>;
7
24
  /**
@@ -77,6 +94,23 @@ export interface GetPbfRuleListResult {
77
94
  }
78
95
  /**
79
96
  * Retrieves a listing of config items.
97
+ *
98
+ * ## Example Usage
99
+ *
100
+ * ```typescript
101
+ * import * as pulumi from "@pulumi/pulumi";
102
+ * import * as scm from "@pulumi/scm";
103
+ *
104
+ * // Define a data source for listing pbf rules
105
+ * const pagedPbfRulesList = scm.getPbfRuleList({
106
+ * folder: "All",
107
+ * limit: 10,
108
+ * });
109
+ * export const fetchedPbfRuleListSummary = {
110
+ * totalRulesInList: pagedPbfRulesList.then(pagedPbfRulesList => pagedPbfRulesList.total),
111
+ * allRules: pagedPbfRulesList.then(pagedPbfRulesList => pagedPbfRulesList.datas),
112
+ * };
113
+ * ```
80
114
  */
81
115
  export declare function getPbfRuleListOutput(args?: GetPbfRuleListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPbfRuleListResult>;
82
116
  /**
package/getPbfRuleList.js CHANGED
@@ -7,6 +7,23 @@ 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 pbf rules
18
+ * const pagedPbfRulesList = scm.getPbfRuleList({
19
+ * folder: "All",
20
+ * limit: 10,
21
+ * });
22
+ * export const fetchedPbfRuleListSummary = {
23
+ * totalRulesInList: pagedPbfRulesList.then(pagedPbfRulesList => pagedPbfRulesList.total),
24
+ * allRules: pagedPbfRulesList.then(pagedPbfRulesList => pagedPbfRulesList.datas),
25
+ * };
26
+ * ```
10
27
  */
11
28
  function getPbfRuleList(args, opts) {
12
29
  args = args || {};
@@ -23,6 +40,23 @@ function getPbfRuleList(args, opts) {
23
40
  exports.getPbfRuleList = getPbfRuleList;
24
41
  /**
25
42
  * Retrieves a listing of config items.
43
+ *
44
+ * ## Example Usage
45
+ *
46
+ * ```typescript
47
+ * import * as pulumi from "@pulumi/pulumi";
48
+ * import * as scm from "@pulumi/scm";
49
+ *
50
+ * // Define a data source for listing pbf rules
51
+ * const pagedPbfRulesList = scm.getPbfRuleList({
52
+ * folder: "All",
53
+ * limit: 10,
54
+ * });
55
+ * export const fetchedPbfRuleListSummary = {
56
+ * totalRulesInList: pagedPbfRulesList.then(pagedPbfRulesList => pagedPbfRulesList.total),
57
+ * allRules: pagedPbfRulesList.then(pagedPbfRulesList => pagedPbfRulesList.datas),
58
+ * };
59
+ * ```
26
60
  */
27
61
  function getPbfRuleListOutput(args, opts) {
28
62
  args = args || {};
@@ -1 +1 @@
1
- {"version":3,"file":"getPbfRuleList.js","sourceRoot":"","sources":["../getPbfRuleList.ts"],"names":[],"mappings":";AAAA,sEAAsE;A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
  import * as outputs from "./types/output";
3
3
  /**
4
4
  * QosPolicyRule 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 testQosPolicyRule = new scm.QosPolicyRule("test_qos_policy_rule", {
13
+ * name: "data-source-qos-test",
14
+ * description: "Rule created specifically for data source testing with DSCP/TOS.",
15
+ * folder: "All",
16
+ * position: "pre",
17
+ * schedule: "non-work-hours",
18
+ * action: {
19
+ * "class": "1",
20
+ * },
21
+ * dscpTos: {
22
+ * codepoints: [{
23
+ * name: "Expedited Forwarding",
24
+ * type: {
25
+ * ef: {},
26
+ * },
27
+ * }],
28
+ * },
29
+ * });
30
+ * const singleRuleById = scm.getQosPolicyRuleOutput({
31
+ * id: testQosPolicyRule.id,
32
+ * });
33
+ * export const singleQosPolicyRuleDump = singleRuleById;
34
+ * ```
5
35
  */
6
36
  export declare function getQosPolicyRule(args: GetQosPolicyRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetQosPolicyRuleResult>;
7
37
  /**
@@ -49,6 +79,14 @@ export interface GetQosPolicyRuleResult {
49
79
  * Name
50
80
  */
51
81
  readonly name: string;
82
+ /**
83
+ * The relative position of the rule
84
+ */
85
+ readonly position: string;
86
+ /**
87
+ * Relative positioning rule. String must be one of these: `"before"`, `"after"`, `"top"`, `"bottom"`. If not specified, rule is created at the bottom of the ruleset.
88
+ */
89
+ readonly relativePosition: string;
52
90
  /**
53
91
  * Schedule
54
92
  */
@@ -57,10 +95,44 @@ export interface GetQosPolicyRuleResult {
57
95
  * The snippet in which the resource is defined
58
96
  */
59
97
  readonly snippet: string;
98
+ /**
99
+ * The name or UUID of the rule to position this rule relative to. Required when `relativePosition` is `"before"` or `"after"`.
100
+ */
101
+ readonly targetRule: string;
60
102
  readonly tfid: string;
61
103
  }
62
104
  /**
63
105
  * QosPolicyRule data source
106
+ *
107
+ * ## Example Usage
108
+ *
109
+ * ```typescript
110
+ * import * as pulumi from "@pulumi/pulumi";
111
+ * import * as scm from "@pulumi/scm";
112
+ *
113
+ * const testQosPolicyRule = new scm.QosPolicyRule("test_qos_policy_rule", {
114
+ * name: "data-source-qos-test",
115
+ * description: "Rule created specifically for data source testing with DSCP/TOS.",
116
+ * folder: "All",
117
+ * position: "pre",
118
+ * schedule: "non-work-hours",
119
+ * action: {
120
+ * "class": "1",
121
+ * },
122
+ * dscpTos: {
123
+ * codepoints: [{
124
+ * name: "Expedited Forwarding",
125
+ * type: {
126
+ * ef: {},
127
+ * },
128
+ * }],
129
+ * },
130
+ * });
131
+ * const singleRuleById = scm.getQosPolicyRuleOutput({
132
+ * id: testQosPolicyRule.id,
133
+ * });
134
+ * export const singleQosPolicyRuleDump = singleRuleById;
135
+ * ```
64
136
  */
65
137
  export declare function getQosPolicyRuleOutput(args: GetQosPolicyRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetQosPolicyRuleResult>;
66
138
  /**
@@ -7,6 +7,36 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * QosPolicyRule 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 testQosPolicyRule = new scm.QosPolicyRule("test_qos_policy_rule", {
18
+ * name: "data-source-qos-test",
19
+ * description: "Rule created specifically for data source testing with DSCP/TOS.",
20
+ * folder: "All",
21
+ * position: "pre",
22
+ * schedule: "non-work-hours",
23
+ * action: {
24
+ * "class": "1",
25
+ * },
26
+ * dscpTos: {
27
+ * codepoints: [{
28
+ * name: "Expedited Forwarding",
29
+ * type: {
30
+ * ef: {},
31
+ * },
32
+ * }],
33
+ * },
34
+ * });
35
+ * const singleRuleById = scm.getQosPolicyRuleOutput({
36
+ * id: testQosPolicyRule.id,
37
+ * });
38
+ * export const singleQosPolicyRuleDump = singleRuleById;
39
+ * ```
10
40
  */
11
41
  function getQosPolicyRule(args, opts) {
12
42
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -18,6 +48,36 @@ function getQosPolicyRule(args, opts) {
18
48
  exports.getQosPolicyRule = getQosPolicyRule;
19
49
  /**
20
50
  * QosPolicyRule data source
51
+ *
52
+ * ## Example Usage
53
+ *
54
+ * ```typescript
55
+ * import * as pulumi from "@pulumi/pulumi";
56
+ * import * as scm from "@pulumi/scm";
57
+ *
58
+ * const testQosPolicyRule = new scm.QosPolicyRule("test_qos_policy_rule", {
59
+ * name: "data-source-qos-test",
60
+ * description: "Rule created specifically for data source testing with DSCP/TOS.",
61
+ * folder: "All",
62
+ * position: "pre",
63
+ * schedule: "non-work-hours",
64
+ * action: {
65
+ * "class": "1",
66
+ * },
67
+ * dscpTos: {
68
+ * codepoints: [{
69
+ * name: "Expedited Forwarding",
70
+ * type: {
71
+ * ef: {},
72
+ * },
73
+ * }],
74
+ * },
75
+ * });
76
+ * const singleRuleById = scm.getQosPolicyRuleOutput({
77
+ * id: testQosPolicyRule.id,
78
+ * });
79
+ * export const singleQosPolicyRuleDump = singleRuleById;
80
+ * ```
21
81
  */
22
82
  function getQosPolicyRuleOutput(args, opts) {
23
83
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getQosPolicyRule.js","sourceRoot":"","sources":["../getQosPolicyRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,IAAI,EAAE,IAAI,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AAC,6CAA6C,EAAE;QAC9E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC"}
@@ -2,8 +2,25 @@ 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
+ * const pagedRulesList = scm.getQosPolicyRuleList({
13
+ * folder: "All",
14
+ * offset: 10,
15
+ * position: "pre",
16
+ * });
17
+ * export const fetchedRuleListSummary = {
18
+ * countOfRulesFetched: pagedRulesList.then(pagedRulesList => pagedRulesList.total),
19
+ * firstRuleName: pagedRulesList.then(pagedRulesList => pagedRulesList.datas?.[0]?.name),
20
+ * };
21
+ * ```
5
22
  */
6
- export declare function getQosPolicyRuleList(args?: GetQosPolicyRuleListArgs, opts?: pulumi.InvokeOptions): Promise<GetQosPolicyRuleListResult>;
23
+ export declare function getQosPolicyRuleList(args: GetQosPolicyRuleListArgs, opts?: pulumi.InvokeOptions): Promise<GetQosPolicyRuleListResult>;
7
24
  /**
8
25
  * A collection of arguments for invoking getQosPolicyRuleList.
9
26
  */
@@ -28,6 +45,10 @@ export interface GetQosPolicyRuleListArgs {
28
45
  * The offset of the first item to return.
29
46
  */
30
47
  offset?: number;
48
+ /**
49
+ * The relative position of the rule
50
+ */
51
+ position: string;
31
52
  /**
32
53
  * The snippet of the item.
33
54
  */
@@ -65,6 +86,10 @@ export interface GetQosPolicyRuleListResult {
65
86
  * The offset of the first item to return.
66
87
  */
67
88
  readonly offset?: number;
89
+ /**
90
+ * The relative position of the rule
91
+ */
92
+ readonly position: string;
68
93
  /**
69
94
  * The snippet of the item.
70
95
  */
@@ -77,8 +102,25 @@ export interface GetQosPolicyRuleListResult {
77
102
  }
78
103
  /**
79
104
  * Retrieves a listing of config items.
105
+ *
106
+ * ## Example Usage
107
+ *
108
+ * ```typescript
109
+ * import * as pulumi from "@pulumi/pulumi";
110
+ * import * as scm from "@pulumi/scm";
111
+ *
112
+ * const pagedRulesList = scm.getQosPolicyRuleList({
113
+ * folder: "All",
114
+ * offset: 10,
115
+ * position: "pre",
116
+ * });
117
+ * export const fetchedRuleListSummary = {
118
+ * countOfRulesFetched: pagedRulesList.then(pagedRulesList => pagedRulesList.total),
119
+ * firstRuleName: pagedRulesList.then(pagedRulesList => pagedRulesList.datas?.[0]?.name),
120
+ * };
121
+ * ```
80
122
  */
81
- export declare function getQosPolicyRuleListOutput(args?: GetQosPolicyRuleListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetQosPolicyRuleListResult>;
123
+ export declare function getQosPolicyRuleListOutput(args: GetQosPolicyRuleListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetQosPolicyRuleListResult>;
82
124
  /**
83
125
  * A collection of arguments for invoking getQosPolicyRuleList.
84
126
  */
@@ -103,6 +145,10 @@ export interface GetQosPolicyRuleListOutputArgs {
103
145
  * The offset of the first item to return.
104
146
  */
105
147
  offset?: pulumi.Input<number>;
148
+ /**
149
+ * The relative position of the rule
150
+ */
151
+ position: pulumi.Input<string>;
106
152
  /**
107
153
  * The snippet of the item.
108
154
  */
@@ -7,9 +7,25 @@ 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
+ * const pagedRulesList = scm.getQosPolicyRuleList({
18
+ * folder: "All",
19
+ * offset: 10,
20
+ * position: "pre",
21
+ * });
22
+ * export const fetchedRuleListSummary = {
23
+ * countOfRulesFetched: pagedRulesList.then(pagedRulesList => pagedRulesList.total),
24
+ * firstRuleName: pagedRulesList.then(pagedRulesList => pagedRulesList.datas?.[0]?.name),
25
+ * };
26
+ * ```
10
27
  */
11
28
  function getQosPolicyRuleList(args, opts) {
12
- args = args || {};
13
29
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
14
30
  return pulumi.runtime.invoke("scm:index/getQosPolicyRuleList:getQosPolicyRuleList", {
15
31
  "device": args.device,
@@ -17,15 +33,32 @@ function getQosPolicyRuleList(args, opts) {
17
33
  "limit": args.limit,
18
34
  "name": args.name,
19
35
  "offset": args.offset,
36
+ "position": args.position,
20
37
  "snippet": args.snippet,
21
38
  }, opts);
22
39
  }
23
40
  exports.getQosPolicyRuleList = getQosPolicyRuleList;
24
41
  /**
25
42
  * Retrieves a listing of config items.
43
+ *
44
+ * ## Example Usage
45
+ *
46
+ * ```typescript
47
+ * import * as pulumi from "@pulumi/pulumi";
48
+ * import * as scm from "@pulumi/scm";
49
+ *
50
+ * const pagedRulesList = scm.getQosPolicyRuleList({
51
+ * folder: "All",
52
+ * offset: 10,
53
+ * position: "pre",
54
+ * });
55
+ * export const fetchedRuleListSummary = {
56
+ * countOfRulesFetched: pagedRulesList.then(pagedRulesList => pagedRulesList.total),
57
+ * firstRuleName: pagedRulesList.then(pagedRulesList => pagedRulesList.datas?.[0]?.name),
58
+ * };
59
+ * ```
26
60
  */
27
61
  function getQosPolicyRuleListOutput(args, opts) {
28
- args = args || {};
29
62
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
30
63
  return pulumi.runtime.invokeOutput("scm:index/getQosPolicyRuleList:getQosPolicyRuleList", {
31
64
  "device": args.device,
@@ -33,6 +66,7 @@ function getQosPolicyRuleListOutput(args, opts) {
33
66
  "limit": args.limit,
34
67
  "name": args.name,
35
68
  "offset": args.offset,
69
+ "position": args.position,
36
70
  "snippet": args.snippet,
37
71
  }, opts);
38
72
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getQosPolicyRuleList.js","sourceRoot":"","sources":["../getQos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
@@ -2,6 +2,33 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
4
  * RadiusServerProfile 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 chapRadiusProfile = new scm.RadiusServerProfile("chap_radius_profile", {
13
+ * name: "CHAP_only_rsp_ds_1",
14
+ * folder: "All",
15
+ * retries: 5,
16
+ * timeout: 60,
17
+ * protocol: {
18
+ * cHAP: {},
19
+ * },
20
+ * servers: [{
21
+ * name: "Chap_Server_Primary",
22
+ * ipAddress: "10.1.1.10",
23
+ * port: 1812,
24
+ * secret: "-AQ==lhyuV6U/j9Trb9JL9L0UoBecg9Y=kTOWntGhZ1KFyLD+etKQ3g==",
25
+ * }],
26
+ * });
27
+ * const singleProfileById = scm.getRadiusServerProfileOutput({
28
+ * id: chapRadiusProfile.id,
29
+ * });
30
+ * export const singleRspDump = singleProfileById.apply(singleProfileById => singleProfileById.name);
31
+ * ```
5
32
  */
6
33
  export declare function getRadiusServerProfile(args: GetRadiusServerProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetRadiusServerProfileResult>;
7
34
  /**
@@ -61,6 +88,33 @@ export interface GetRadiusServerProfileResult {
61
88
  }
62
89
  /**
63
90
  * RadiusServerProfile data source
91
+ *
92
+ * ## Example Usage
93
+ *
94
+ * ```typescript
95
+ * import * as pulumi from "@pulumi/pulumi";
96
+ * import * as scm from "@pulumi/scm";
97
+ *
98
+ * const chapRadiusProfile = new scm.RadiusServerProfile("chap_radius_profile", {
99
+ * name: "CHAP_only_rsp_ds_1",
100
+ * folder: "All",
101
+ * retries: 5,
102
+ * timeout: 60,
103
+ * protocol: {
104
+ * cHAP: {},
105
+ * },
106
+ * servers: [{
107
+ * name: "Chap_Server_Primary",
108
+ * ipAddress: "10.1.1.10",
109
+ * port: 1812,
110
+ * secret: "-AQ==lhyuV6U/j9Trb9JL9L0UoBecg9Y=kTOWntGhZ1KFyLD+etKQ3g==",
111
+ * }],
112
+ * });
113
+ * const singleProfileById = scm.getRadiusServerProfileOutput({
114
+ * id: chapRadiusProfile.id,
115
+ * });
116
+ * export const singleRspDump = singleProfileById.apply(singleProfileById => singleProfileById.name);
117
+ * ```
64
118
  */
65
119
  export declare function getRadiusServerProfileOutput(args: GetRadiusServerProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRadiusServerProfileResult>;
66
120
  /**
@@ -7,6 +7,33 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * RadiusServerProfile 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 chapRadiusProfile = new scm.RadiusServerProfile("chap_radius_profile", {
18
+ * name: "CHAP_only_rsp_ds_1",
19
+ * folder: "All",
20
+ * retries: 5,
21
+ * timeout: 60,
22
+ * protocol: {
23
+ * cHAP: {},
24
+ * },
25
+ * servers: [{
26
+ * name: "Chap_Server_Primary",
27
+ * ipAddress: "10.1.1.10",
28
+ * port: 1812,
29
+ * secret: "-AQ==lhyuV6U/j9Trb9JL9L0UoBecg9Y=kTOWntGhZ1KFyLD+etKQ3g==",
30
+ * }],
31
+ * });
32
+ * const singleProfileById = scm.getRadiusServerProfileOutput({
33
+ * id: chapRadiusProfile.id,
34
+ * });
35
+ * export const singleRspDump = singleProfileById.apply(singleProfileById => singleProfileById.name);
36
+ * ```
10
37
  */
11
38
  function getRadiusServerProfile(args, opts) {
12
39
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -18,6 +45,33 @@ function getRadiusServerProfile(args, opts) {
18
45
  exports.getRadiusServerProfile = getRadiusServerProfile;
19
46
  /**
20
47
  * RadiusServerProfile data source
48
+ *
49
+ * ## Example Usage
50
+ *
51
+ * ```typescript
52
+ * import * as pulumi from "@pulumi/pulumi";
53
+ * import * as scm from "@pulumi/scm";
54
+ *
55
+ * const chapRadiusProfile = new scm.RadiusServerProfile("chap_radius_profile", {
56
+ * name: "CHAP_only_rsp_ds_1",
57
+ * folder: "All",
58
+ * retries: 5,
59
+ * timeout: 60,
60
+ * protocol: {
61
+ * cHAP: {},
62
+ * },
63
+ * servers: [{
64
+ * name: "Chap_Server_Primary",
65
+ * ipAddress: "10.1.1.10",
66
+ * port: 1812,
67
+ * secret: "-AQ==lhyuV6U/j9Trb9JL9L0UoBecg9Y=kTOWntGhZ1KFyLD+etKQ3g==",
68
+ * }],
69
+ * });
70
+ * const singleProfileById = scm.getRadiusServerProfileOutput({
71
+ * id: chapRadiusProfile.id,
72
+ * });
73
+ * export const singleRspDump = singleProfileById.apply(singleProfileById => singleProfileById.name);
74
+ * ```
21
75
  */
22
76
  function getRadiusServerProfileOutput(args, opts) {
23
77
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});