@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.
- package/address.d.ts +3 -3
- package/address.js +3 -3
- package/addressGroup.d.ts +2 -2
- package/addressGroup.js +2 -2
- package/{aggregateEthernetInterface.d.ts → aggregateInterface.d.ts} +26 -24
- package/{aggregateEthernetInterface.js → aggregateInterface.js} +13 -11
- package/aggregateInterface.js.map +1 -0
- package/antiSpywareSignature.d.ts +3 -3
- package/appOverrideRule.d.ts +128 -3
- package/appOverrideRule.js +95 -0
- package/appOverrideRule.js.map +1 -1
- package/applicationFilter.d.ts +16 -0
- package/applicationFilter.js +16 -0
- package/applicationFilter.js.map +1 -1
- package/authenticationRule.d.ts +123 -0
- package/authenticationRule.js +103 -0
- package/authenticationRule.js.map +1 -1
- package/bgpRouteMapRedistribution.d.ts +6 -6
- package/certificateProfile.d.ts +29 -0
- package/certificateProfile.js +29 -0
- package/certificateProfile.js.map +1 -1
- package/decryptionProfile.d.ts +139 -0
- package/decryptionProfile.js +139 -0
- package/decryptionProfile.js.map +1 -1
- package/decryptionRule.d.ts +139 -0
- package/decryptionRule.js +119 -0
- package/decryptionRule.js.map +1 -1
- package/dnsProxy.d.ts +6 -6
- package/dnsSecurityProfile.d.ts +2 -0
- package/dnsSecurityProfile.js +2 -0
- package/dnsSecurityProfile.js.map +1 -1
- package/dynamicUserGroup.d.ts +3 -3
- package/dynamicUserGroup.js +3 -3
- package/ethernetInterface.d.ts +13 -11
- package/ethernetInterface.js +2 -0
- package/ethernetInterface.js.map +1 -1
- package/externalDynamicList.d.ts +80 -0
- package/externalDynamicList.js +80 -0
- package/externalDynamicList.js.map +1 -1
- package/folder.d.ts +60 -0
- package/folder.js +60 -0
- package/folder.js.map +1 -1
- package/getAddressGroupList.d.ts +4 -4
- package/getAddressGroupList.js +4 -4
- package/getAddressList.d.ts +4 -4
- package/getAddressList.js +4 -4
- package/getAggregateInterface.d.ts +116 -0
- package/getAggregateInterface.js +68 -0
- package/getAggregateInterface.js.map +1 -0
- package/{getAggregateEthernetInterfaceList.d.ts → getAggregateInterfaceList.d.ts} +35 -9
- package/getAggregateInterfaceList.js +66 -0
- package/getAggregateInterfaceList.js.map +1 -0
- package/getAntiSpywareProfileList.d.ts +2 -2
- package/getAntiSpywareProfileList.js +2 -2
- package/getAntiSpywareSignature.d.ts +1 -1
- package/getAntiSpywareSignatureList.d.ts +2 -2
- package/getAntiSpywareSignatureList.js +2 -2
- package/getAppOverrideRule.d.ts +65 -1
- package/getAppOverrideRule.js +52 -0
- package/getAppOverrideRule.js.map +1 -1
- package/getAppOverrideRuleList.d.ts +48 -2
- package/getAppOverrideRuleList.js +36 -2
- package/getAppOverrideRuleList.js.map +1 -1
- package/getApplicationGroupList.d.ts +4 -4
- package/getApplicationGroupList.js +4 -4
- package/getApplicationList.d.ts +2 -2
- package/getApplicationList.js +2 -2
- package/getAuthenticationRule.d.ts +74 -0
- package/getAuthenticationRule.js +62 -0
- package/getAuthenticationRule.js.map +1 -1
- package/getAuthenticationRuleList.d.ts +50 -2
- package/getAuthenticationRuleList.js +38 -2
- package/getAuthenticationRuleList.js.map +1 -1
- package/getBgpRouteMapRedistribution.d.ts +7 -7
- package/getCertificateProfileList.d.ts +2 -2
- package/getCertificateProfileList.js +2 -2
- package/getDecryptionProfile.d.ts +40 -0
- package/getDecryptionProfile.js +40 -0
- package/getDecryptionProfile.js.map +1 -1
- package/getDecryptionProfileList.d.ts +32 -0
- package/getDecryptionProfileList.js +32 -0
- package/getDecryptionProfileList.js.map +1 -1
- package/getDecryptionRule.d.ts +74 -0
- package/getDecryptionRule.js +62 -0
- package/getDecryptionRule.js.map +1 -1
- package/getDecryptionRuleList.d.ts +48 -2
- package/getDecryptionRuleList.js +36 -2
- package/getDecryptionRuleList.js.map +1 -1
- package/getDnsProxy.d.ts +1 -1
- package/getDnsSecurityProfile.d.ts +40 -0
- package/getDnsSecurityProfile.js +40 -0
- package/getDnsSecurityProfile.js.map +1 -1
- package/getDnsSecurityProfileList.d.ts +32 -0
- package/getDnsSecurityProfileList.js +32 -0
- package/getDnsSecurityProfileList.js.map +1 -1
- package/getDynamicUserGroupList.d.ts +4 -4
- package/getDynamicUserGroupList.js +4 -4
- package/getEthernetInterface.d.ts +40 -2
- package/getEthernetInterface.js +38 -0
- package/getEthernetInterface.js.map +1 -1
- package/getEthernetInterfaceList.d.ts +26 -0
- package/getEthernetInterfaceList.js +26 -0
- package/getEthernetInterfaceList.js.map +1 -1
- package/getExternalDynamicListList.d.ts +4 -4
- package/getExternalDynamicListList.js +4 -4
- package/getFolder.d.ts +36 -0
- package/getFolder.js +36 -0
- package/getFolder.js.map +1 -1
- package/getHipObjectList.d.ts +4 -4
- package/getHipObjectList.js +4 -4
- package/getHipProfileList.d.ts +4 -4
- package/getHipProfileList.js +4 -4
- package/getInterfaceManagementProfile.d.ts +89 -8
- package/getInterfaceManagementProfile.js +80 -0
- package/getInterfaceManagementProfile.js.map +1 -1
- package/getInterfaceManagementProfileList.d.ts +42 -0
- package/getInterfaceManagementProfileList.js +42 -0
- package/getInterfaceManagementProfileList.js.map +1 -1
- package/getLayer2Subinterface.d.ts +42 -2
- package/getLayer2Subinterface.js +40 -0
- package/getLayer2Subinterface.js.map +1 -1
- package/getLayer2SubinterfaceList.d.ts +26 -0
- package/getLayer2SubinterfaceList.js +26 -0
- package/getLayer2SubinterfaceList.js.map +1 -1
- package/getLayer3Subinterface.d.ts +45 -3
- package/getLayer3Subinterface.js +42 -0
- package/getLayer3Subinterface.js.map +1 -1
- package/getLayer3SubinterfaceList.d.ts +26 -0
- package/getLayer3SubinterfaceList.js +26 -0
- package/getLayer3SubinterfaceList.js.map +1 -1
- package/getLogicalRouter.d.ts +38 -0
- package/getLogicalRouter.js +38 -0
- package/getLogicalRouter.js.map +1 -1
- package/getLogicalRouterList.d.ts +40 -0
- package/getLogicalRouterList.js +30 -0
- package/getLogicalRouterList.js.map +1 -1
- package/getLoopbackInterface.d.ts +49 -7
- package/getLoopbackInterface.js +38 -0
- package/getLoopbackInterface.js.map +1 -1
- package/getLoopbackInterfaceList.d.ts +26 -0
- package/getLoopbackInterfaceList.js +26 -0
- package/getLoopbackInterfaceList.js.map +1 -1
- package/getNatRule.d.ts +86 -14
- package/getNatRule.js +76 -0
- package/getNatRule.js.map +1 -1
- package/getNatRuleList.d.ts +52 -2
- package/getNatRuleList.js +40 -2
- package/getNatRuleList.js.map +1 -1
- package/getPbfRule.d.ts +88 -0
- package/getPbfRule.js +88 -0
- package/getPbfRule.js.map +1 -1
- package/getPbfRuleList.d.ts +34 -0
- package/getPbfRuleList.js +34 -0
- package/getPbfRuleList.js.map +1 -1
- package/getQosPolicyRule.d.ts +72 -0
- package/getQosPolicyRule.js +60 -0
- package/getQosPolicyRule.js.map +1 -1
- package/getQosPolicyRuleList.d.ts +48 -2
- package/getQosPolicyRuleList.js +36 -2
- package/getQosPolicyRuleList.js.map +1 -1
- package/getRadiusServerProfile.d.ts +54 -0
- package/getRadiusServerProfile.js +54 -0
- package/getRadiusServerProfile.js.map +1 -1
- package/getSdwanTrafficDistributionProfile.d.ts +1 -1
- package/getSecurityRule.d.ts +106 -0
- package/getSecurityRule.js +94 -0
- package/getSecurityRule.js.map +1 -1
- package/getSecurityRuleList.d.ts +46 -2
- package/getSecurityRuleList.js +34 -2
- package/getSecurityRuleList.js.map +1 -1
- package/getServiceConnection.d.ts +177 -1
- package/getServiceConnection.js +176 -0
- package/getServiceConnection.js.map +1 -1
- package/getServiceConnectionGroup.d.ts +208 -0
- package/getServiceConnectionGroup.js +208 -0
- package/getServiceConnectionGroup.js.map +1 -1
- package/getServiceGroupList.d.ts +2 -2
- package/getServiceGroupList.js +2 -2
- package/getServiceList.d.ts +4 -4
- package/getServiceList.js +4 -4
- package/getSnippet.d.ts +48 -0
- package/getSnippet.js +48 -0
- package/getSnippet.js.map +1 -1
- package/getSnippetList.d.ts +24 -0
- package/getSnippetList.js +24 -0
- package/getSnippetList.js.map +1 -1
- package/getTagList.d.ts +2 -2
- package/getTagList.js +2 -2
- package/getTunnelInterface.d.ts +42 -4
- package/getTunnelInterface.js +38 -0
- package/getTunnelInterface.js.map +1 -1
- package/getTunnelInterfaceList.d.ts +26 -0
- package/getTunnelInterfaceList.js +26 -0
- package/getTunnelInterfaceList.js.map +1 -1
- package/getUrlAccessProfileList.d.ts +2 -2
- package/getUrlAccessProfileList.js +2 -2
- package/getUrlCategoryList.d.ts +4 -4
- package/getUrlCategoryList.js +4 -4
- package/getVlanInterface.d.ts +46 -6
- package/getVlanInterface.js +40 -0
- package/getVlanInterface.js.map +1 -1
- package/getVlanInterfaceList.d.ts +26 -0
- package/getVlanInterfaceList.js +26 -0
- package/getVlanInterfaceList.js.map +1 -1
- package/getVulnerabilityProtectionProfileList.d.ts +2 -2
- package/getVulnerabilityProtectionProfileList.js +2 -2
- package/getVulnerabilityProtectionSignature.d.ts +41 -1
- package/getVulnerabilityProtectionSignature.js +40 -0
- package/getVulnerabilityProtectionSignature.js.map +1 -1
- package/getVulnerabilityProtectionSignatureList.d.ts +32 -0
- package/getVulnerabilityProtectionSignatureList.js +32 -0
- package/getVulnerabilityProtectionSignatureList.js.map +1 -1
- package/getZone.d.ts +44 -0
- package/getZone.js +44 -0
- package/getZone.js.map +1 -1
- package/getZoneList.d.ts +26 -0
- package/getZoneList.js +26 -0
- package/getZoneList.js.map +1 -1
- package/ikeGateway.d.ts +49 -0
- package/ikeGateway.js +49 -0
- package/ikeGateway.js.map +1 -1
- package/index.d.ts +9 -9
- package/index.js +12 -12
- package/index.js.map +1 -1
- package/interfaceManagementProfile.d.ts +56 -24
- package/interfaceManagementProfile.js +30 -0
- package/interfaceManagementProfile.js.map +1 -1
- package/ipsecCryptoProfile.d.ts +28 -0
- package/ipsecCryptoProfile.js +28 -0
- package/ipsecCryptoProfile.js.map +1 -1
- package/ipsecTunnel.d.ts +66 -0
- package/ipsecTunnel.js +66 -0
- package/ipsecTunnel.js.map +1 -1
- package/layer2Subinterface.d.ts +36 -7
- package/layer2Subinterface.js +32 -0
- package/layer2Subinterface.js.map +1 -1
- package/layer3Subinterface.d.ts +70 -11
- package/layer3Subinterface.js +59 -0
- package/layer3Subinterface.js.map +1 -1
- package/logicalRouter.d.ts +2 -0
- package/logicalRouter.js +2 -0
- package/logicalRouter.js.map +1 -1
- package/loopbackInterface.d.ts +58 -15
- package/loopbackInterface.js +35 -2
- package/loopbackInterface.js.map +1 -1
- package/natRule.d.ts +135 -42
- package/natRule.js +121 -8
- package/natRule.js.map +1 -1
- package/package.json +2 -2
- package/pbfRule.d.ts +89 -0
- package/pbfRule.js +89 -0
- package/pbfRule.js.map +1 -1
- package/qosPolicyRule.d.ts +95 -0
- package/qosPolicyRule.js +75 -0
- package/qosPolicyRule.js.map +1 -1
- package/radiusServerProfile.d.ts +38 -0
- package/radiusServerProfile.js +38 -0
- package/radiusServerProfile.js.map +1 -1
- package/remoteNetwork.d.ts +81 -0
- package/remoteNetwork.js +81 -0
- package/remoteNetwork.js.map +1 -1
- package/sdwanTrafficDistributionProfile.d.ts +4 -4
- package/securityRule.d.ts +181 -0
- package/securityRule.js +161 -0
- package/securityRule.js.map +1 -1
- package/serviceConnection.d.ts +82 -3
- package/serviceConnection.js +81 -2
- package/serviceConnection.js.map +1 -1
- package/serviceConnectionGroup.d.ts +100 -0
- package/serviceConnectionGroup.js +100 -0
- package/serviceConnectionGroup.js.map +1 -1
- package/serviceGroup.d.ts +2 -2
- package/serviceGroup.js +2 -2
- package/snippet.d.ts +23 -0
- package/snippet.js +23 -0
- package/snippet.js.map +1 -1
- package/tag.d.ts +3 -3
- package/tag.js +3 -3
- package/tunnelInterface.d.ts +42 -12
- package/tunnelInterface.js +32 -2
- package/tunnelInterface.js.map +1 -1
- package/types/input.d.ts +607 -335
- package/types/output.d.ts +1945 -1069
- package/vlanInterface.d.ts +40 -20
- package/vlanInterface.js +20 -0
- package/vlanInterface.js.map +1 -1
- package/vulnerabilityProtectionSignature.d.ts +12 -10
- package/vulnerabilityProtectionSignature.js +14 -0
- package/vulnerabilityProtectionSignature.js.map +1 -1
- package/zone.d.ts +71 -0
- package/zone.js +71 -0
- package/zone.js.map +1 -1
- package/aggregateEthernetInterface.js.map +0 -1
- package/getAggregateEthernetInterface.d.ts +0 -78
- package/getAggregateEthernetInterface.js +0 -30
- package/getAggregateEthernetInterface.js.map +0 -1
- package/getAggregateEthernetInterfaceList.js +0 -40
- 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
|
|
1
|
+
{"version":3,"file":"getPbfRule.js","sourceRoot":"","sources":["../getPbfRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AAsFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}
|
package/getPbfRuleList.d.ts
CHANGED
|
@@ -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 || {};
|
package/getPbfRuleList.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPbfRuleList.js","sourceRoot":"","sources":["../getPbfRuleList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getPbfRuleList.js","sourceRoot":"","sources":["../getPbfRuleList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;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;;;;;;;;;;;;;;;;;;;GAmBG;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,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oDAWC"}
|
package/getQosPolicyRule.d.ts
CHANGED
|
@@ -2,6 +2,36 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
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
|
/**
|
package/getQosPolicyRule.js
CHANGED
|
@@ -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 || {});
|
package/getQosPolicyRule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getQosPolicyRule.js","sourceRoot":"","sources":["../getQosPolicyRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getQosPolicyRule.js","sourceRoot":"","sources":["../getQosPolicyRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;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,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AAsED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,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
|
|
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
|
|
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
|
*/
|
package/getQosPolicyRuleList.js
CHANGED
|
@@ -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":["../getQosPolicyRuleList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getQosPolicyRuleList.js","sourceRoot":"","sources":["../getQosPolicyRuleList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,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,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oDAWC;AAkFD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qDAAqD,EAAE;QACtF,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,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gEAWC"}
|
|
@@ -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 || {});
|