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

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
@@ -16,12 +16,12 @@ const utilities = require("./utilities");
16
16
  *
17
17
  * // Fetch a list of all HIP Profile objects in the Shared folder.
18
18
  * const allShared = scm.getHipProfileList({
19
- * folder: "Shared",
19
+ * folder: "All",
20
20
  * });
21
21
  * export const hipProfilesListAllShared = allShared.then(allShared => allShared.datas);
22
22
  * // Example of using pagination to get the first 10 HIP Profiles.
23
23
  * const paginated = scm.getHipProfileList({
24
- * folder: "Shared",
24
+ * folder: "All",
25
25
  * limit: 10,
26
26
  * offset: 0,
27
27
  * });
@@ -52,12 +52,12 @@ exports.getHipProfileList = getHipProfileList;
52
52
  *
53
53
  * // Fetch a list of all HIP Profile objects in the Shared folder.
54
54
  * const allShared = scm.getHipProfileList({
55
- * folder: "Shared",
55
+ * folder: "All",
56
56
  * });
57
57
  * export const hipProfilesListAllShared = allShared.then(allShared => allShared.datas);
58
58
  * // Example of using pagination to get the first 10 HIP Profiles.
59
59
  * const paginated = scm.getHipProfileList({
60
- * folder: "Shared",
60
+ * folder: "All",
61
61
  * limit: 10,
62
62
  * offset: 0,
63
63
  * });
@@ -1,6 +1,47 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
2
3
  /**
3
4
  * InterfaceManagementProfile 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
+ * // 1. Resource: Create the Interface Management Profile
13
+ * // This block creates the profile with your specified configuration.
14
+ * const testInfMgmtProfile = new scm.InterfaceManagementProfile("test_inf_mgmt_profile", {
15
+ * name: "test_inf_mgmt_profile_ds_1",
16
+ * folder: "All",
17
+ * permittedIps: [
18
+ * {
19
+ * name: "10.0.0.0/24",
20
+ * },
21
+ * {
22
+ * name: "10.0.0.0/32",
23
+ * },
24
+ * ],
25
+ * http: true,
26
+ * https: false,
27
+ * telnet: false,
28
+ * ssh: true,
29
+ * ping: false,
30
+ * httpOcsp: true,
31
+ * useridService: true,
32
+ * useridSyslogListenerSsl: true,
33
+ * useridSyslogListenerUdp: true,
34
+ * responsePages: false,
35
+ * });
36
+ * // --------------------------------------------------------------------------------
37
+ * // 2. Data Source: Retrieve the Interface Management Profile by ID
38
+ * // We use the resource's generated 'id' attribute to fetch the profile.
39
+ * const singleProfileById = scm.getInterfaceManagementProfileOutput({
40
+ * id: testInfMgmtProfile.id,
41
+ * });
42
+ * export const fetchedProfileName = singleProfileById.apply(singleProfileById => singleProfileById.name);
43
+ * export const fetchedProfile = singleProfileById;
44
+ * ```
4
45
  */
5
46
  export declare function getInterfaceManagementProfile(args: GetInterfaceManagementProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetInterfaceManagementProfileResult>;
6
47
  /**
@@ -33,7 +74,7 @@ export interface GetInterfaceManagementProfileResult {
33
74
  */
34
75
  readonly http: boolean;
35
76
  /**
36
- * Http ocsp
77
+ * Allow HTTP OCSP?
37
78
  */
38
79
  readonly httpOcsp: boolean;
39
80
  /**
@@ -49,17 +90,17 @@ export interface GetInterfaceManagementProfileResult {
49
90
  */
50
91
  readonly name: string;
51
92
  /**
52
- * Permitted ip
93
+ * Allowed IP address(es)
53
94
  */
54
- readonly permittedIps: string[];
95
+ readonly permittedIps: outputs.GetInterfaceManagementProfilePermittedIp[];
55
96
  /**
56
97
  * Allow ping?
57
98
  */
58
99
  readonly ping: boolean;
59
100
  /**
60
- * Response pages
101
+ * Allow response pages?
61
102
  */
62
- readonly responsePages: string;
103
+ readonly responsePages: boolean;
63
104
  /**
64
105
  * The snippet in which the resource is defined
65
106
  */
@@ -74,20 +115,60 @@ export interface GetInterfaceManagementProfileResult {
74
115
  readonly telnet: boolean;
75
116
  readonly tfid: string;
76
117
  /**
77
- * Userid service
118
+ * Allow User-ID?
78
119
  */
79
120
  readonly useridService: boolean;
80
121
  /**
81
- * Userid syslog listener ssl
122
+ * Allow User-ID syslog listener (SSL)?
82
123
  */
83
124
  readonly useridSyslogListenerSsl: boolean;
84
125
  /**
85
- * Userid syslog listener udp
126
+ * Allow User-ID syslog listener (UDP)?
86
127
  */
87
128
  readonly useridSyslogListenerUdp: boolean;
88
129
  }
89
130
  /**
90
131
  * InterfaceManagementProfile data source
132
+ *
133
+ * ## Example Usage
134
+ *
135
+ * ```typescript
136
+ * import * as pulumi from "@pulumi/pulumi";
137
+ * import * as scm from "@pulumi/scm";
138
+ *
139
+ * // 1. Resource: Create the Interface Management Profile
140
+ * // This block creates the profile with your specified configuration.
141
+ * const testInfMgmtProfile = new scm.InterfaceManagementProfile("test_inf_mgmt_profile", {
142
+ * name: "test_inf_mgmt_profile_ds_1",
143
+ * folder: "All",
144
+ * permittedIps: [
145
+ * {
146
+ * name: "10.0.0.0/24",
147
+ * },
148
+ * {
149
+ * name: "10.0.0.0/32",
150
+ * },
151
+ * ],
152
+ * http: true,
153
+ * https: false,
154
+ * telnet: false,
155
+ * ssh: true,
156
+ * ping: false,
157
+ * httpOcsp: true,
158
+ * useridService: true,
159
+ * useridSyslogListenerSsl: true,
160
+ * useridSyslogListenerUdp: true,
161
+ * responsePages: false,
162
+ * });
163
+ * // --------------------------------------------------------------------------------
164
+ * // 2. Data Source: Retrieve the Interface Management Profile by ID
165
+ * // We use the resource's generated 'id' attribute to fetch the profile.
166
+ * const singleProfileById = scm.getInterfaceManagementProfileOutput({
167
+ * id: testInfMgmtProfile.id,
168
+ * });
169
+ * export const fetchedProfileName = singleProfileById.apply(singleProfileById => singleProfileById.name);
170
+ * export const fetchedProfile = singleProfileById;
171
+ * ```
91
172
  */
92
173
  export declare function getInterfaceManagementProfileOutput(args: GetInterfaceManagementProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInterfaceManagementProfileResult>;
93
174
  /**
@@ -7,6 +7,46 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * InterfaceManagementProfile 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
+ * // 1. Resource: Create the Interface Management Profile
18
+ * // This block creates the profile with your specified configuration.
19
+ * const testInfMgmtProfile = new scm.InterfaceManagementProfile("test_inf_mgmt_profile", {
20
+ * name: "test_inf_mgmt_profile_ds_1",
21
+ * folder: "All",
22
+ * permittedIps: [
23
+ * {
24
+ * name: "10.0.0.0/24",
25
+ * },
26
+ * {
27
+ * name: "10.0.0.0/32",
28
+ * },
29
+ * ],
30
+ * http: true,
31
+ * https: false,
32
+ * telnet: false,
33
+ * ssh: true,
34
+ * ping: false,
35
+ * httpOcsp: true,
36
+ * useridService: true,
37
+ * useridSyslogListenerSsl: true,
38
+ * useridSyslogListenerUdp: true,
39
+ * responsePages: false,
40
+ * });
41
+ * // --------------------------------------------------------------------------------
42
+ * // 2. Data Source: Retrieve the Interface Management Profile by ID
43
+ * // We use the resource's generated 'id' attribute to fetch the profile.
44
+ * const singleProfileById = scm.getInterfaceManagementProfileOutput({
45
+ * id: testInfMgmtProfile.id,
46
+ * });
47
+ * export const fetchedProfileName = singleProfileById.apply(singleProfileById => singleProfileById.name);
48
+ * export const fetchedProfile = singleProfileById;
49
+ * ```
10
50
  */
11
51
  function getInterfaceManagementProfile(args, opts) {
12
52
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -18,6 +58,46 @@ function getInterfaceManagementProfile(args, opts) {
18
58
  exports.getInterfaceManagementProfile = getInterfaceManagementProfile;
19
59
  /**
20
60
  * InterfaceManagementProfile data source
61
+ *
62
+ * ## Example Usage
63
+ *
64
+ * ```typescript
65
+ * import * as pulumi from "@pulumi/pulumi";
66
+ * import * as scm from "@pulumi/scm";
67
+ *
68
+ * // 1. Resource: Create the Interface Management Profile
69
+ * // This block creates the profile with your specified configuration.
70
+ * const testInfMgmtProfile = new scm.InterfaceManagementProfile("test_inf_mgmt_profile", {
71
+ * name: "test_inf_mgmt_profile_ds_1",
72
+ * folder: "All",
73
+ * permittedIps: [
74
+ * {
75
+ * name: "10.0.0.0/24",
76
+ * },
77
+ * {
78
+ * name: "10.0.0.0/32",
79
+ * },
80
+ * ],
81
+ * http: true,
82
+ * https: false,
83
+ * telnet: false,
84
+ * ssh: true,
85
+ * ping: false,
86
+ * httpOcsp: true,
87
+ * useridService: true,
88
+ * useridSyslogListenerSsl: true,
89
+ * useridSyslogListenerUdp: true,
90
+ * responsePages: false,
91
+ * });
92
+ * // --------------------------------------------------------------------------------
93
+ * // 2. Data Source: Retrieve the Interface Management Profile by ID
94
+ * // We use the resource's generated 'id' attribute to fetch the profile.
95
+ * const singleProfileById = scm.getInterfaceManagementProfileOutput({
96
+ * id: testInfMgmtProfile.id,
97
+ * });
98
+ * export const fetchedProfileName = singleProfileById.apply(singleProfileById => singleProfileById.name);
99
+ * export const fetchedProfile = singleProfileById;
100
+ * ```
21
101
  */
22
102
  function getInterfaceManagementProfileOutput(args, opts) {
23
103
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getInterfaceManagementProfile.js","sourceRoot":"","sources":["../getInterfaceManagementProfile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uEAAuE,EAAE;QAClG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC;AAsFD;;GAEG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAAiC;IAChI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uEAAuE,EAAE;QACxG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kFAMC"}
1
+ {"version":3,"file":"getInterfaceManagementProfile.js","sourceRoot":"","sources":["../getInterfaceManagementProfile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uEAAuE,EAAE;QAClG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC;AAsFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAAiC;IAChI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uEAAuE,EAAE;QACxG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kFAMC"}
@@ -2,6 +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
+ * // -----------------------------------------------------------------------------
13
+ * // 6. DATA SOURCE: Fetch a list of Interface Management Profiles
14
+ * // This data source retrieves multiple Interface Management Profiles from SCM.
15
+ * // -----------------------------------------------------------------------------
16
+ * const allMgmtProfiles = scm.getInterfaceManagementProfileList({
17
+ * limit: 50,
18
+ * folder: "All",
19
+ * });
20
+ * export const fetchedMgmtProfileListSummary = {
21
+ * countOfProfilesFetched: allMgmtProfiles.then(allMgmtProfiles => allMgmtProfiles.total),
22
+ * firstProfileName: allMgmtProfiles.then(allMgmtProfiles => allMgmtProfiles.datas?.[0]?.name),
23
+ * data: allMgmtProfiles.then(allMgmtProfiles => allMgmtProfiles.datas),
24
+ * };
25
+ * ```
5
26
  */
6
27
  export declare function getInterfaceManagementProfileList(args?: GetInterfaceManagementProfileListArgs, opts?: pulumi.InvokeOptions): Promise<GetInterfaceManagementProfileListResult>;
7
28
  /**
@@ -77,6 +98,27 @@ export interface GetInterfaceManagementProfileListResult {
77
98
  }
78
99
  /**
79
100
  * Retrieves a listing of config items.
101
+ *
102
+ * ## Example Usage
103
+ *
104
+ * ```typescript
105
+ * import * as pulumi from "@pulumi/pulumi";
106
+ * import * as scm from "@pulumi/scm";
107
+ *
108
+ * // -----------------------------------------------------------------------------
109
+ * // 6. DATA SOURCE: Fetch a list of Interface Management Profiles
110
+ * // This data source retrieves multiple Interface Management Profiles from SCM.
111
+ * // -----------------------------------------------------------------------------
112
+ * const allMgmtProfiles = scm.getInterfaceManagementProfileList({
113
+ * limit: 50,
114
+ * folder: "All",
115
+ * });
116
+ * export const fetchedMgmtProfileListSummary = {
117
+ * countOfProfilesFetched: allMgmtProfiles.then(allMgmtProfiles => allMgmtProfiles.total),
118
+ * firstProfileName: allMgmtProfiles.then(allMgmtProfiles => allMgmtProfiles.datas?.[0]?.name),
119
+ * data: allMgmtProfiles.then(allMgmtProfiles => allMgmtProfiles.datas),
120
+ * };
121
+ * ```
80
122
  */
81
123
  export declare function getInterfaceManagementProfileListOutput(args?: GetInterfaceManagementProfileListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInterfaceManagementProfileListResult>;
82
124
  /**
@@ -7,6 +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
+ * // -----------------------------------------------------------------------------
18
+ * // 6. DATA SOURCE: Fetch a list of Interface Management Profiles
19
+ * // This data source retrieves multiple Interface Management Profiles from SCM.
20
+ * // -----------------------------------------------------------------------------
21
+ * const allMgmtProfiles = scm.getInterfaceManagementProfileList({
22
+ * limit: 50,
23
+ * folder: "All",
24
+ * });
25
+ * export const fetchedMgmtProfileListSummary = {
26
+ * countOfProfilesFetched: allMgmtProfiles.then(allMgmtProfiles => allMgmtProfiles.total),
27
+ * firstProfileName: allMgmtProfiles.then(allMgmtProfiles => allMgmtProfiles.datas?.[0]?.name),
28
+ * data: allMgmtProfiles.then(allMgmtProfiles => allMgmtProfiles.datas),
29
+ * };
30
+ * ```
10
31
  */
11
32
  function getInterfaceManagementProfileList(args, opts) {
12
33
  args = args || {};
@@ -23,6 +44,27 @@ function getInterfaceManagementProfileList(args, opts) {
23
44
  exports.getInterfaceManagementProfileList = getInterfaceManagementProfileList;
24
45
  /**
25
46
  * Retrieves a listing of config items.
47
+ *
48
+ * ## Example Usage
49
+ *
50
+ * ```typescript
51
+ * import * as pulumi from "@pulumi/pulumi";
52
+ * import * as scm from "@pulumi/scm";
53
+ *
54
+ * // -----------------------------------------------------------------------------
55
+ * // 6. DATA SOURCE: Fetch a list of Interface Management Profiles
56
+ * // This data source retrieves multiple Interface Management Profiles from SCM.
57
+ * // -----------------------------------------------------------------------------
58
+ * const allMgmtProfiles = scm.getInterfaceManagementProfileList({
59
+ * limit: 50,
60
+ * folder: "All",
61
+ * });
62
+ * export const fetchedMgmtProfileListSummary = {
63
+ * countOfProfilesFetched: allMgmtProfiles.then(allMgmtProfiles => allMgmtProfiles.total),
64
+ * firstProfileName: allMgmtProfiles.then(allMgmtProfiles => allMgmtProfiles.datas?.[0]?.name),
65
+ * data: allMgmtProfiles.then(allMgmtProfiles => allMgmtProfiles.datas),
66
+ * };
67
+ * ```
26
68
  */
27
69
  function getInterfaceManagementProfileListOutput(args, opts) {
28
70
  args = args || {};
@@ -1 +1 @@
1
- {"version":3,"file":"getInterfaceManagementProfileList.js","sourceRoot":"","sources":["../getInterfaceManagementProfileList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,iCAAiC,CAAC,IAA4C,EAAE,IAA2B;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,MAAM,CAAC,+EAA+E,EAAE;QAC1G,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,8EAWC;AA0ED;;GAEG;AACH,SAAgB,uCAAuC,CAAC,IAAkD,EAAE,IAAiC;IACzI,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,+EAA+E,EAAE;QAChH,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,0FAWC"}
1
+ {"version":3,"file":"getInterfaceManagementProfileList.js","sourceRoot":"","sources":["../getInterfaceManagementProfileList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,iCAAiC,CAAC,IAA4C,EAAE,IAA2B;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,MAAM,CAAC,+EAA+E,EAAE;QAC1G,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,8EAWC;AA0ED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,uCAAuC,CAAC,IAAkD,EAAE,IAAiC;IACzI,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,+EAA+E,EAAE;QAChH,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,0FAWC"}
@@ -1,6 +1,26 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Layer2Subinterface 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
+ * // Look up layer2 sub-interface by its ID.
12
+ * const scmL2SubinterfaceDs = scm.getLayer2Subinterface({
13
+ * id: "88f730d1-6577-492b-88a6-73d4a513dc76",
14
+ * });
15
+ * export const layer2SubinterfaceDataSourceResults = {
16
+ * id: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.id),
17
+ * name: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.name),
18
+ * comment: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.comment),
19
+ * vlanTag: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.vlanTag),
20
+ * parentInterface: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.parentInterface),
21
+ * folder: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.folder),
22
+ * };
23
+ * ```
4
24
  */
5
25
  export declare function getLayer2Subinterface(args: GetLayer2SubinterfaceArgs, opts?: pulumi.InvokeOptions): Promise<GetLayer2SubinterfaceResult>;
6
26
  /**
@@ -50,12 +70,32 @@ export interface GetLayer2SubinterfaceResult {
50
70
  readonly snippet: string;
51
71
  readonly tfid: string;
52
72
  /**
53
- * Vlan tag
73
+ * VLAN tag
54
74
  */
55
- readonly vlanTag: number;
75
+ readonly vlanTag: string;
56
76
  }
57
77
  /**
58
78
  * Layer2Subinterface data source
79
+ *
80
+ * ## Example Usage
81
+ *
82
+ * ```typescript
83
+ * import * as pulumi from "@pulumi/pulumi";
84
+ * import * as scm from "@pulumi/scm";
85
+ *
86
+ * // Look up layer2 sub-interface by its ID.
87
+ * const scmL2SubinterfaceDs = scm.getLayer2Subinterface({
88
+ * id: "88f730d1-6577-492b-88a6-73d4a513dc76",
89
+ * });
90
+ * export const layer2SubinterfaceDataSourceResults = {
91
+ * id: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.id),
92
+ * name: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.name),
93
+ * comment: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.comment),
94
+ * vlanTag: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.vlanTag),
95
+ * parentInterface: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.parentInterface),
96
+ * folder: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.folder),
97
+ * };
98
+ * ```
59
99
  */
60
100
  export declare function getLayer2SubinterfaceOutput(args: GetLayer2SubinterfaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLayer2SubinterfaceResult>;
61
101
  /**
@@ -7,6 +7,26 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Layer2Subinterface 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
+ * // Look up layer2 sub-interface by its ID.
18
+ * const scmL2SubinterfaceDs = scm.getLayer2Subinterface({
19
+ * id: "88f730d1-6577-492b-88a6-73d4a513dc76",
20
+ * });
21
+ * export const layer2SubinterfaceDataSourceResults = {
22
+ * id: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.id),
23
+ * name: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.name),
24
+ * comment: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.comment),
25
+ * vlanTag: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.vlanTag),
26
+ * parentInterface: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.parentInterface),
27
+ * folder: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.folder),
28
+ * };
29
+ * ```
10
30
  */
11
31
  function getLayer2Subinterface(args, opts) {
12
32
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -18,6 +38,26 @@ function getLayer2Subinterface(args, opts) {
18
38
  exports.getLayer2Subinterface = getLayer2Subinterface;
19
39
  /**
20
40
  * Layer2Subinterface data source
41
+ *
42
+ * ## Example Usage
43
+ *
44
+ * ```typescript
45
+ * import * as pulumi from "@pulumi/pulumi";
46
+ * import * as scm from "@pulumi/scm";
47
+ *
48
+ * // Look up layer2 sub-interface by its ID.
49
+ * const scmL2SubinterfaceDs = scm.getLayer2Subinterface({
50
+ * id: "88f730d1-6577-492b-88a6-73d4a513dc76",
51
+ * });
52
+ * export const layer2SubinterfaceDataSourceResults = {
53
+ * id: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.id),
54
+ * name: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.name),
55
+ * comment: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.comment),
56
+ * vlanTag: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.vlanTag),
57
+ * parentInterface: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.parentInterface),
58
+ * folder: scmL2SubinterfaceDs.then(scmL2SubinterfaceDs => scmL2SubinterfaceDs.folder),
59
+ * };
60
+ * ```
21
61
  */
22
62
  function getLayer2SubinterfaceOutput(args, opts) {
23
63
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getLayer2Subinterface.js","sourceRoot":"","sources":["../getLayer2Subinterface.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE;QAClF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAsDD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uDAAuD,EAAE;QACxF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
1
+ {"version":3,"file":"getLayer2Subinterface.js","sourceRoot":"","sources":["../getLayer2Subinterface.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE;QAClF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAsDD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uDAAuD,EAAE;QACxF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
@@ -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 layer2 sub-interfaces
13
+ * const allLayer2Subinterfaces = scm.getLayer2SubinterfaceList({
14
+ * folder: "ngfw-shared",
15
+ * });
16
+ * export const scmLayer2SubinterfaceList = allLayer2Subinterfaces.then(allLayer2Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
17
+ * ```
5
18
  */
6
19
  export declare function getLayer2SubinterfaceList(args?: GetLayer2SubinterfaceListArgs, opts?: pulumi.InvokeOptions): Promise<GetLayer2SubinterfaceListResult>;
7
20
  /**
@@ -77,6 +90,19 @@ export interface GetLayer2SubinterfaceListResult {
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 layer2 sub-interfaces
101
+ * const allLayer2Subinterfaces = scm.getLayer2SubinterfaceList({
102
+ * folder: "ngfw-shared",
103
+ * });
104
+ * export const scmLayer2SubinterfaceList = allLayer2Subinterfaces.then(allLayer2Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
105
+ * ```
80
106
  */
81
107
  export declare function getLayer2SubinterfaceListOutput(args?: GetLayer2SubinterfaceListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLayer2SubinterfaceListResult>;
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 layer2 sub-interfaces
18
+ * const allLayer2Subinterfaces = scm.getLayer2SubinterfaceList({
19
+ * folder: "ngfw-shared",
20
+ * });
21
+ * export const scmLayer2SubinterfaceList = allLayer2Subinterfaces.then(allLayer2Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
22
+ * ```
10
23
  */
11
24
  function getLayer2SubinterfaceList(args, opts) {
12
25
  args = args || {};
@@ -23,6 +36,19 @@ function getLayer2SubinterfaceList(args, opts) {
23
36
  exports.getLayer2SubinterfaceList = getLayer2SubinterfaceList;
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 layer2 sub-interfaces
47
+ * const allLayer2Subinterfaces = scm.getLayer2SubinterfaceList({
48
+ * folder: "ngfw-shared",
49
+ * });
50
+ * export const scmLayer2SubinterfaceList = allLayer2Subinterfaces.then(allLayer2Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
51
+ * ```
26
52
  */
27
53
  function getLayer2SubinterfaceListOutput(args, opts) {
28
54
  args = args || {};
@@ -1 +1 @@
1
- {"version":3,"file":"getLayer2SubinterfaceList.js","sourceRoot":"","sources":["../getLayer2SubinterfaceList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,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,+DAA+D,EAAE;QAC1F,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,8DAWC;AA0ED;;GAEG;AACH,SAAgB,+BAA+B,CAAC,IAA0C,EAAE,IAAiC;IACzH,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,+DAA+D,EAAE;QAChG,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,0EAWC"}
1
+ {"version":3,"file":"getLayer2SubinterfaceList.js","sourceRoot":"","sources":["../getLayer2SubinterfaceList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,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,+DAA+D,EAAE;QAC1F,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,8DAWC;AA0ED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,+BAA+B,CAAC,IAA0C,EAAE,IAAiC;IACzH,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,+DAA+D,EAAE;QAChG,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,0EAWC"}