@pulumi/scm 1.0.0-alpha.1762572739 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/address.d.ts +3 -3
- package/address.js +3 -3
- package/addressGroup.d.ts +2 -2
- package/addressGroup.js +2 -2
- package/{aggregateInterface.d.ts → aggregateEthernetInterface.d.ts} +24 -26
- package/{aggregateInterface.js → aggregateEthernetInterface.js} +11 -13
- package/aggregateEthernetInterface.js.map +1 -0
- package/antiSpywareSignature.d.ts +3 -3
- package/appOverrideRule.d.ts +3 -128
- package/appOverrideRule.js +0 -95
- package/appOverrideRule.js.map +1 -1
- package/applicationFilter.d.ts +0 -16
- package/applicationFilter.js +0 -16
- package/applicationFilter.js.map +1 -1
- package/authenticationRule.d.ts +0 -123
- package/authenticationRule.js +0 -103
- package/authenticationRule.js.map +1 -1
- package/bgpRouteMapRedistribution.d.ts +6 -6
- package/certificateProfile.d.ts +0 -29
- package/certificateProfile.js +0 -29
- package/certificateProfile.js.map +1 -1
- package/decryptionProfile.d.ts +0 -139
- package/decryptionProfile.js +0 -139
- package/decryptionProfile.js.map +1 -1
- package/decryptionRule.d.ts +0 -139
- package/decryptionRule.js +0 -119
- package/decryptionRule.js.map +1 -1
- package/dnsProxy.d.ts +6 -6
- package/dnsSecurityProfile.d.ts +0 -2
- package/dnsSecurityProfile.js +0 -2
- package/dnsSecurityProfile.js.map +1 -1
- package/dynamicUserGroup.d.ts +3 -3
- package/dynamicUserGroup.js +3 -3
- package/ethernetInterface.d.ts +11 -13
- package/ethernetInterface.js +0 -2
- package/ethernetInterface.js.map +1 -1
- package/externalDynamicList.d.ts +0 -80
- package/externalDynamicList.js +0 -80
- package/externalDynamicList.js.map +1 -1
- package/folder.d.ts +0 -60
- package/folder.js +0 -60
- 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/getAggregateEthernetInterface.d.ts +78 -0
- package/getAggregateEthernetInterface.js +30 -0
- package/getAggregateEthernetInterface.js.map +1 -0
- package/{getAggregateInterfaceList.d.ts → getAggregateEthernetInterfaceList.d.ts} +9 -35
- package/getAggregateEthernetInterfaceList.js +40 -0
- package/getAggregateEthernetInterfaceList.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 +1 -65
- package/getAppOverrideRule.js +0 -52
- package/getAppOverrideRule.js.map +1 -1
- package/getAppOverrideRuleList.d.ts +2 -48
- package/getAppOverrideRuleList.js +2 -36
- 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 +0 -74
- package/getAuthenticationRule.js +0 -62
- package/getAuthenticationRule.js.map +1 -1
- package/getAuthenticationRuleList.d.ts +2 -50
- package/getAuthenticationRuleList.js +2 -38
- 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 +0 -40
- package/getDecryptionProfile.js +0 -40
- package/getDecryptionProfile.js.map +1 -1
- package/getDecryptionProfileList.d.ts +0 -32
- package/getDecryptionProfileList.js +0 -32
- package/getDecryptionProfileList.js.map +1 -1
- package/getDecryptionRule.d.ts +0 -74
- package/getDecryptionRule.js +0 -62
- package/getDecryptionRule.js.map +1 -1
- package/getDecryptionRuleList.d.ts +2 -48
- package/getDecryptionRuleList.js +2 -36
- package/getDecryptionRuleList.js.map +1 -1
- package/getDnsProxy.d.ts +1 -1
- package/getDnsSecurityProfile.d.ts +0 -40
- package/getDnsSecurityProfile.js +0 -40
- package/getDnsSecurityProfile.js.map +1 -1
- package/getDnsSecurityProfileList.d.ts +0 -32
- package/getDnsSecurityProfileList.js +0 -32
- package/getDnsSecurityProfileList.js.map +1 -1
- package/getDynamicUserGroupList.d.ts +4 -4
- package/getDynamicUserGroupList.js +4 -4
- package/getEthernetInterface.d.ts +2 -40
- package/getEthernetInterface.js +0 -38
- package/getEthernetInterface.js.map +1 -1
- package/getEthernetInterfaceList.d.ts +0 -26
- package/getEthernetInterfaceList.js +0 -26
- package/getEthernetInterfaceList.js.map +1 -1
- package/getExternalDynamicListList.d.ts +4 -4
- package/getExternalDynamicListList.js +4 -4
- package/getFolder.d.ts +0 -36
- package/getFolder.js +0 -36
- 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 +8 -89
- package/getInterfaceManagementProfile.js +0 -80
- package/getInterfaceManagementProfile.js.map +1 -1
- package/getInterfaceManagementProfileList.d.ts +0 -42
- package/getInterfaceManagementProfileList.js +0 -42
- package/getInterfaceManagementProfileList.js.map +1 -1
- package/getLayer2Subinterface.d.ts +2 -42
- package/getLayer2Subinterface.js +0 -40
- package/getLayer2Subinterface.js.map +1 -1
- package/getLayer2SubinterfaceList.d.ts +0 -26
- package/getLayer2SubinterfaceList.js +0 -26
- package/getLayer2SubinterfaceList.js.map +1 -1
- package/getLayer3Subinterface.d.ts +3 -45
- package/getLayer3Subinterface.js +0 -42
- package/getLayer3Subinterface.js.map +1 -1
- package/getLayer3SubinterfaceList.d.ts +0 -26
- package/getLayer3SubinterfaceList.js +0 -26
- package/getLayer3SubinterfaceList.js.map +1 -1
- package/getLogicalRouter.d.ts +0 -38
- package/getLogicalRouter.js +0 -38
- package/getLogicalRouter.js.map +1 -1
- package/getLogicalRouterList.d.ts +0 -40
- package/getLogicalRouterList.js +0 -30
- package/getLogicalRouterList.js.map +1 -1
- package/getLoopbackInterface.d.ts +7 -49
- package/getLoopbackInterface.js +0 -38
- package/getLoopbackInterface.js.map +1 -1
- package/getLoopbackInterfaceList.d.ts +0 -26
- package/getLoopbackInterfaceList.js +0 -26
- package/getLoopbackInterfaceList.js.map +1 -1
- package/getNatRule.d.ts +14 -86
- package/getNatRule.js +0 -76
- package/getNatRule.js.map +1 -1
- package/getNatRuleList.d.ts +2 -52
- package/getNatRuleList.js +2 -40
- package/getNatRuleList.js.map +1 -1
- package/getPbfRule.d.ts +0 -88
- package/getPbfRule.js +0 -88
- package/getPbfRule.js.map +1 -1
- package/getPbfRuleList.d.ts +0 -34
- package/getPbfRuleList.js +0 -34
- package/getPbfRuleList.js.map +1 -1
- package/getQosPolicyRule.d.ts +0 -72
- package/getQosPolicyRule.js +0 -60
- package/getQosPolicyRule.js.map +1 -1
- package/getQosPolicyRuleList.d.ts +2 -48
- package/getQosPolicyRuleList.js +2 -36
- package/getQosPolicyRuleList.js.map +1 -1
- package/getRadiusServerProfile.d.ts +0 -54
- package/getRadiusServerProfile.js +0 -54
- package/getRadiusServerProfile.js.map +1 -1
- package/getSdwanTrafficDistributionProfile.d.ts +1 -1
- package/getSecurityRule.d.ts +0 -106
- package/getSecurityRule.js +0 -94
- package/getSecurityRule.js.map +1 -1
- package/getSecurityRuleList.d.ts +2 -46
- package/getSecurityRuleList.js +2 -34
- package/getSecurityRuleList.js.map +1 -1
- package/getServiceConnection.d.ts +1 -177
- package/getServiceConnection.js +0 -176
- package/getServiceConnection.js.map +1 -1
- package/getServiceConnectionGroup.d.ts +0 -208
- package/getServiceConnectionGroup.js +0 -208
- 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 +0 -48
- package/getSnippet.js +0 -48
- package/getSnippet.js.map +1 -1
- package/getSnippetList.d.ts +0 -24
- package/getSnippetList.js +0 -24
- package/getSnippetList.js.map +1 -1
- package/getTagList.d.ts +2 -2
- package/getTagList.js +2 -2
- package/getTunnelInterface.d.ts +4 -42
- package/getTunnelInterface.js +0 -38
- package/getTunnelInterface.js.map +1 -1
- package/getTunnelInterfaceList.d.ts +0 -26
- package/getTunnelInterfaceList.js +0 -26
- 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 +6 -46
- package/getVlanInterface.js +0 -40
- package/getVlanInterface.js.map +1 -1
- package/getVlanInterfaceList.d.ts +0 -26
- package/getVlanInterfaceList.js +0 -26
- package/getVlanInterfaceList.js.map +1 -1
- package/getVulnerabilityProtectionProfileList.d.ts +2 -2
- package/getVulnerabilityProtectionProfileList.js +2 -2
- package/getVulnerabilityProtectionSignature.d.ts +1 -41
- package/getVulnerabilityProtectionSignature.js +0 -40
- package/getVulnerabilityProtectionSignature.js.map +1 -1
- package/getVulnerabilityProtectionSignatureList.d.ts +0 -32
- package/getVulnerabilityProtectionSignatureList.js +0 -32
- package/getVulnerabilityProtectionSignatureList.js.map +1 -1
- package/getZone.d.ts +0 -44
- package/getZone.js +0 -44
- package/getZone.js.map +1 -1
- package/getZoneList.d.ts +0 -26
- package/getZoneList.js +0 -26
- package/getZoneList.js.map +1 -1
- package/ikeGateway.d.ts +0 -49
- package/ikeGateway.js +0 -49
- 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 +24 -56
- package/interfaceManagementProfile.js +0 -30
- package/interfaceManagementProfile.js.map +1 -1
- package/ipsecCryptoProfile.d.ts +0 -28
- package/ipsecCryptoProfile.js +0 -28
- package/ipsecCryptoProfile.js.map +1 -1
- package/ipsecTunnel.d.ts +0 -66
- package/ipsecTunnel.js +0 -66
- package/ipsecTunnel.js.map +1 -1
- package/layer2Subinterface.d.ts +7 -36
- package/layer2Subinterface.js +0 -32
- package/layer2Subinterface.js.map +1 -1
- package/layer3Subinterface.d.ts +11 -70
- package/layer3Subinterface.js +0 -59
- package/layer3Subinterface.js.map +1 -1
- package/logicalRouter.d.ts +0 -2
- package/logicalRouter.js +0 -2
- package/logicalRouter.js.map +1 -1
- package/loopbackInterface.d.ts +15 -58
- package/loopbackInterface.js +2 -35
- package/loopbackInterface.js.map +1 -1
- package/natRule.d.ts +42 -135
- package/natRule.js +8 -121
- package/natRule.js.map +1 -1
- package/package.json +2 -2
- package/pbfRule.d.ts +0 -89
- package/pbfRule.js +0 -89
- package/pbfRule.js.map +1 -1
- package/qosPolicyRule.d.ts +0 -95
- package/qosPolicyRule.js +0 -75
- package/qosPolicyRule.js.map +1 -1
- package/radiusServerProfile.d.ts +0 -38
- package/radiusServerProfile.js +0 -38
- package/radiusServerProfile.js.map +1 -1
- package/remoteNetwork.d.ts +0 -81
- package/remoteNetwork.js +0 -81
- package/remoteNetwork.js.map +1 -1
- package/sdwanTrafficDistributionProfile.d.ts +4 -4
- package/securityRule.d.ts +0 -181
- package/securityRule.js +0 -161
- package/securityRule.js.map +1 -1
- package/serviceConnection.d.ts +3 -82
- package/serviceConnection.js +2 -81
- package/serviceConnection.js.map +1 -1
- package/serviceConnectionGroup.d.ts +0 -100
- package/serviceConnectionGroup.js +0 -100
- package/serviceConnectionGroup.js.map +1 -1
- package/serviceGroup.d.ts +2 -2
- package/serviceGroup.js +2 -2
- package/snippet.d.ts +0 -23
- package/snippet.js +0 -23
- package/snippet.js.map +1 -1
- package/tag.d.ts +3 -3
- package/tag.js +3 -3
- package/tunnelInterface.d.ts +12 -42
- package/tunnelInterface.js +2 -32
- package/tunnelInterface.js.map +1 -1
- package/types/input.d.ts +335 -607
- package/types/output.d.ts +1069 -1945
- package/vlanInterface.d.ts +20 -40
- package/vlanInterface.js +0 -20
- package/vlanInterface.js.map +1 -1
- package/vulnerabilityProtectionSignature.d.ts +10 -12
- package/vulnerabilityProtectionSignature.js +0 -14
- package/vulnerabilityProtectionSignature.js.map +1 -1
- package/zone.d.ts +0 -71
- package/zone.js +0 -71
- package/zone.js.map +1 -1
- package/aggregateInterface.js.map +0 -1
- package/getAggregateInterface.d.ts +0 -116
- package/getAggregateInterface.js +0 -68
- package/getAggregateInterface.js.map +0 -1
- package/getAggregateInterfaceList.js +0 -66
- package/getAggregateInterfaceList.js.map +0 -1
package/getNatRule.js
CHANGED
|
@@ -7,44 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* NatRule data source
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as scm from "@pulumi/scm";
|
|
16
|
-
*
|
|
17
|
-
* // Define the resource (the item to be created via API POST/PUT)
|
|
18
|
-
* const dnatExternalWebTestCreate = new scm.NatRule("dnat_external_web_test_create", {
|
|
19
|
-
* name: "DNAT-External-data-src-test_1",
|
|
20
|
-
* description: "Translate public VIP to internal web server.",
|
|
21
|
-
* froms: ["zone-untrust"],
|
|
22
|
-
* tos: ["zone-untrust"],
|
|
23
|
-
* sources: ["any"],
|
|
24
|
-
* destinations: ["any"],
|
|
25
|
-
* service: "service-http",
|
|
26
|
-
* folder: "All",
|
|
27
|
-
* natType: "ipv4",
|
|
28
|
-
* position: "pre",
|
|
29
|
-
* destinationTranslation: {
|
|
30
|
-
* translatedAddress: "10.1.1.16",
|
|
31
|
-
* translatedPort: 112,
|
|
32
|
-
* dnsRewrite: {
|
|
33
|
-
* direction: "reverse",
|
|
34
|
-
* },
|
|
35
|
-
* },
|
|
36
|
-
* });
|
|
37
|
-
* // Define the data source (the item to be retrieved via API GET)
|
|
38
|
-
* const dnatExternalWebTestGet = scm.getNatRuleOutput({
|
|
39
|
-
* id: dnatExternalWebTestCreate.id,
|
|
40
|
-
* });
|
|
41
|
-
* export const retrievedIDAndName = {
|
|
42
|
-
* id: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.id),
|
|
43
|
-
* name: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.name),
|
|
44
|
-
* };
|
|
45
|
-
* export const retrievedDestinationTranslation = dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.destinationTranslation);
|
|
46
|
-
* export const recievedResponse = dnatExternalWebTestGet;
|
|
47
|
-
* ```
|
|
48
10
|
*/
|
|
49
11
|
function getNatRule(args, opts) {
|
|
50
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -56,44 +18,6 @@ function getNatRule(args, opts) {
|
|
|
56
18
|
exports.getNatRule = getNatRule;
|
|
57
19
|
/**
|
|
58
20
|
* NatRule data source
|
|
59
|
-
*
|
|
60
|
-
* ## Example Usage
|
|
61
|
-
*
|
|
62
|
-
* ```typescript
|
|
63
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
-
* import * as scm from "@pulumi/scm";
|
|
65
|
-
*
|
|
66
|
-
* // Define the resource (the item to be created via API POST/PUT)
|
|
67
|
-
* const dnatExternalWebTestCreate = new scm.NatRule("dnat_external_web_test_create", {
|
|
68
|
-
* name: "DNAT-External-data-src-test_1",
|
|
69
|
-
* description: "Translate public VIP to internal web server.",
|
|
70
|
-
* froms: ["zone-untrust"],
|
|
71
|
-
* tos: ["zone-untrust"],
|
|
72
|
-
* sources: ["any"],
|
|
73
|
-
* destinations: ["any"],
|
|
74
|
-
* service: "service-http",
|
|
75
|
-
* folder: "All",
|
|
76
|
-
* natType: "ipv4",
|
|
77
|
-
* position: "pre",
|
|
78
|
-
* destinationTranslation: {
|
|
79
|
-
* translatedAddress: "10.1.1.16",
|
|
80
|
-
* translatedPort: 112,
|
|
81
|
-
* dnsRewrite: {
|
|
82
|
-
* direction: "reverse",
|
|
83
|
-
* },
|
|
84
|
-
* },
|
|
85
|
-
* });
|
|
86
|
-
* // Define the data source (the item to be retrieved via API GET)
|
|
87
|
-
* const dnatExternalWebTestGet = scm.getNatRuleOutput({
|
|
88
|
-
* id: dnatExternalWebTestCreate.id,
|
|
89
|
-
* });
|
|
90
|
-
* export const retrievedIDAndName = {
|
|
91
|
-
* id: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.id),
|
|
92
|
-
* name: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.name),
|
|
93
|
-
* };
|
|
94
|
-
* export const retrievedDestinationTranslation = dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.destinationTranslation);
|
|
95
|
-
* export const recievedResponse = dnatExternalWebTestGet;
|
|
96
|
-
* ```
|
|
97
21
|
*/
|
|
98
22
|
function getNatRuleOutput(args, opts) {
|
|
99
23
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
package/getNatRule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNatRule.js","sourceRoot":"","sources":["../getNatRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getNatRule.js","sourceRoot":"","sources":["../getNatRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,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;AA0GD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}
|
package/getNatRuleList.d.ts
CHANGED
|
@@ -2,27 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Retrieves a listing of config items.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as scm from "@pulumi/scm";
|
|
11
|
-
*
|
|
12
|
-
* // Define a data source for listing NAT rules
|
|
13
|
-
* const pagedNatRulesList = scm.getNatRuleList({
|
|
14
|
-
* folder: "All",
|
|
15
|
-
* limit: 10,
|
|
16
|
-
* offset: 10,
|
|
17
|
-
* position: "pre",
|
|
18
|
-
* });
|
|
19
|
-
* export const fetchedNATRuleListSummary = {
|
|
20
|
-
* totalRulesInList: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.total),
|
|
21
|
-
* allRules: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.datas),
|
|
22
|
-
* };
|
|
23
|
-
* ```
|
|
24
5
|
*/
|
|
25
|
-
export declare function getNatRuleList(args
|
|
6
|
+
export declare function getNatRuleList(args?: GetNatRuleListArgs, opts?: pulumi.InvokeOptions): Promise<GetNatRuleListResult>;
|
|
26
7
|
/**
|
|
27
8
|
* A collection of arguments for invoking getNatRuleList.
|
|
28
9
|
*/
|
|
@@ -47,10 +28,6 @@ export interface GetNatRuleListArgs {
|
|
|
47
28
|
* The offset of the first item to return.
|
|
48
29
|
*/
|
|
49
30
|
offset?: number;
|
|
50
|
-
/**
|
|
51
|
-
* The relative position of the rule
|
|
52
|
-
*/
|
|
53
|
-
position: string;
|
|
54
31
|
/**
|
|
55
32
|
* The snippet of the item.
|
|
56
33
|
*/
|
|
@@ -88,10 +65,6 @@ export interface GetNatRuleListResult {
|
|
|
88
65
|
* The offset of the first item to return.
|
|
89
66
|
*/
|
|
90
67
|
readonly offset?: number;
|
|
91
|
-
/**
|
|
92
|
-
* The relative position of the rule
|
|
93
|
-
*/
|
|
94
|
-
readonly position: string;
|
|
95
68
|
/**
|
|
96
69
|
* The snippet of the item.
|
|
97
70
|
*/
|
|
@@ -104,27 +77,8 @@ export interface GetNatRuleListResult {
|
|
|
104
77
|
}
|
|
105
78
|
/**
|
|
106
79
|
* Retrieves a listing of config items.
|
|
107
|
-
*
|
|
108
|
-
* ## Example Usage
|
|
109
|
-
*
|
|
110
|
-
* ```typescript
|
|
111
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
112
|
-
* import * as scm from "@pulumi/scm";
|
|
113
|
-
*
|
|
114
|
-
* // Define a data source for listing NAT rules
|
|
115
|
-
* const pagedNatRulesList = scm.getNatRuleList({
|
|
116
|
-
* folder: "All",
|
|
117
|
-
* limit: 10,
|
|
118
|
-
* offset: 10,
|
|
119
|
-
* position: "pre",
|
|
120
|
-
* });
|
|
121
|
-
* export const fetchedNATRuleListSummary = {
|
|
122
|
-
* totalRulesInList: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.total),
|
|
123
|
-
* allRules: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.datas),
|
|
124
|
-
* };
|
|
125
|
-
* ```
|
|
126
80
|
*/
|
|
127
|
-
export declare function getNatRuleListOutput(args
|
|
81
|
+
export declare function getNatRuleListOutput(args?: GetNatRuleListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNatRuleListResult>;
|
|
128
82
|
/**
|
|
129
83
|
* A collection of arguments for invoking getNatRuleList.
|
|
130
84
|
*/
|
|
@@ -149,10 +103,6 @@ export interface GetNatRuleListOutputArgs {
|
|
|
149
103
|
* The offset of the first item to return.
|
|
150
104
|
*/
|
|
151
105
|
offset?: pulumi.Input<number>;
|
|
152
|
-
/**
|
|
153
|
-
* The relative position of the rule
|
|
154
|
-
*/
|
|
155
|
-
position: pulumi.Input<string>;
|
|
156
106
|
/**
|
|
157
107
|
* The snippet of the item.
|
|
158
108
|
*/
|
package/getNatRuleList.js
CHANGED
|
@@ -7,27 +7,9 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Retrieves a listing of config items.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as scm from "@pulumi/scm";
|
|
16
|
-
*
|
|
17
|
-
* // Define a data source for listing NAT rules
|
|
18
|
-
* const pagedNatRulesList = scm.getNatRuleList({
|
|
19
|
-
* folder: "All",
|
|
20
|
-
* limit: 10,
|
|
21
|
-
* offset: 10,
|
|
22
|
-
* position: "pre",
|
|
23
|
-
* });
|
|
24
|
-
* export const fetchedNATRuleListSummary = {
|
|
25
|
-
* totalRulesInList: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.total),
|
|
26
|
-
* allRules: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.datas),
|
|
27
|
-
* };
|
|
28
|
-
* ```
|
|
29
10
|
*/
|
|
30
11
|
function getNatRuleList(args, opts) {
|
|
12
|
+
args = args || {};
|
|
31
13
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
32
14
|
return pulumi.runtime.invoke("scm:index/getNatRuleList:getNatRuleList", {
|
|
33
15
|
"device": args.device,
|
|
@@ -35,34 +17,15 @@ function getNatRuleList(args, opts) {
|
|
|
35
17
|
"limit": args.limit,
|
|
36
18
|
"name": args.name,
|
|
37
19
|
"offset": args.offset,
|
|
38
|
-
"position": args.position,
|
|
39
20
|
"snippet": args.snippet,
|
|
40
21
|
}, opts);
|
|
41
22
|
}
|
|
42
23
|
exports.getNatRuleList = getNatRuleList;
|
|
43
24
|
/**
|
|
44
25
|
* Retrieves a listing of config items.
|
|
45
|
-
*
|
|
46
|
-
* ## Example Usage
|
|
47
|
-
*
|
|
48
|
-
* ```typescript
|
|
49
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
-
* import * as scm from "@pulumi/scm";
|
|
51
|
-
*
|
|
52
|
-
* // Define a data source for listing NAT rules
|
|
53
|
-
* const pagedNatRulesList = scm.getNatRuleList({
|
|
54
|
-
* folder: "All",
|
|
55
|
-
* limit: 10,
|
|
56
|
-
* offset: 10,
|
|
57
|
-
* position: "pre",
|
|
58
|
-
* });
|
|
59
|
-
* export const fetchedNATRuleListSummary = {
|
|
60
|
-
* totalRulesInList: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.total),
|
|
61
|
-
* allRules: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.datas),
|
|
62
|
-
* };
|
|
63
|
-
* ```
|
|
64
26
|
*/
|
|
65
27
|
function getNatRuleListOutput(args, opts) {
|
|
28
|
+
args = args || {};
|
|
66
29
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
67
30
|
return pulumi.runtime.invokeOutput("scm:index/getNatRuleList:getNatRuleList", {
|
|
68
31
|
"device": args.device,
|
|
@@ -70,7 +33,6 @@ function getNatRuleListOutput(args, opts) {
|
|
|
70
33
|
"limit": args.limit,
|
|
71
34
|
"name": args.name,
|
|
72
35
|
"offset": args.offset,
|
|
73
|
-
"position": args.position,
|
|
74
36
|
"snippet": args.snippet,
|
|
75
37
|
}, opts);
|
|
76
38
|
}
|
package/getNatRuleList.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNatRuleList.js","sourceRoot":"","sources":["../getNatRuleList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getNatRuleList.js","sourceRoot":"","sources":["../getNatRuleList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wCAWC;AA0ED;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAAiC;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yCAAyC,EAAE;QAC1E,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oDAWC"}
|
package/getPbfRule.d.ts
CHANGED
|
@@ -2,50 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* PbfRule data source
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as scm from "@pulumi/scm";
|
|
11
|
-
*
|
|
12
|
-
* const exampleTag = new scm.Tag("example_tag", {
|
|
13
|
-
* folder: "All",
|
|
14
|
-
* name: "pbf-rule-tag-ds-test-1",
|
|
15
|
-
* color: "Red",
|
|
16
|
-
* });
|
|
17
|
-
* // --- PBF Rule Resource with discard action---
|
|
18
|
-
* const examplePbfRule = new scm.PbfRule("example_pbf_rule", {
|
|
19
|
-
* name: "pbf-test-ds-rule-discard",
|
|
20
|
-
* folder: "All",
|
|
21
|
-
* description: "Data Source testing pbf rule.",
|
|
22
|
-
* from: {
|
|
23
|
-
* zones: ["zone-untrust"],
|
|
24
|
-
* },
|
|
25
|
-
* sources: ["any"],
|
|
26
|
-
* destinations: ["any"],
|
|
27
|
-
* applications: ["any"],
|
|
28
|
-
* services: ["service-http"],
|
|
29
|
-
* sourceUsers: ["any"],
|
|
30
|
-
* action: {
|
|
31
|
-
* discard: {},
|
|
32
|
-
* },
|
|
33
|
-
* tags: [exampleTag.name],
|
|
34
|
-
* enforceSymmetricReturn: {
|
|
35
|
-
* enabled: false,
|
|
36
|
-
* },
|
|
37
|
-
* schedule: "non-work-hours",
|
|
38
|
-
* });
|
|
39
|
-
* // Define the data source (the item to be retrieved via API GET)
|
|
40
|
-
* const pbfExternalWebTestGet = scm.getPbfRuleOutput({
|
|
41
|
-
* id: examplePbfRule.id,
|
|
42
|
-
* });
|
|
43
|
-
* export const retrievedIDAndName = {
|
|
44
|
-
* id: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.id),
|
|
45
|
-
* name: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.name),
|
|
46
|
-
* };
|
|
47
|
-
* export const recievedResponse = pbfExternalWebTestGet;
|
|
48
|
-
* ```
|
|
49
5
|
*/
|
|
50
6
|
export declare function getPbfRule(args: GetPbfRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetPbfRuleResult>;
|
|
51
7
|
/**
|
|
@@ -133,50 +89,6 @@ export interface GetPbfRuleResult {
|
|
|
133
89
|
}
|
|
134
90
|
/**
|
|
135
91
|
* PbfRule data source
|
|
136
|
-
*
|
|
137
|
-
* ## Example Usage
|
|
138
|
-
*
|
|
139
|
-
* ```typescript
|
|
140
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
141
|
-
* import * as scm from "@pulumi/scm";
|
|
142
|
-
*
|
|
143
|
-
* const exampleTag = new scm.Tag("example_tag", {
|
|
144
|
-
* folder: "All",
|
|
145
|
-
* name: "pbf-rule-tag-ds-test-1",
|
|
146
|
-
* color: "Red",
|
|
147
|
-
* });
|
|
148
|
-
* // --- PBF Rule Resource with discard action---
|
|
149
|
-
* const examplePbfRule = new scm.PbfRule("example_pbf_rule", {
|
|
150
|
-
* name: "pbf-test-ds-rule-discard",
|
|
151
|
-
* folder: "All",
|
|
152
|
-
* description: "Data Source testing pbf rule.",
|
|
153
|
-
* from: {
|
|
154
|
-
* zones: ["zone-untrust"],
|
|
155
|
-
* },
|
|
156
|
-
* sources: ["any"],
|
|
157
|
-
* destinations: ["any"],
|
|
158
|
-
* applications: ["any"],
|
|
159
|
-
* services: ["service-http"],
|
|
160
|
-
* sourceUsers: ["any"],
|
|
161
|
-
* action: {
|
|
162
|
-
* discard: {},
|
|
163
|
-
* },
|
|
164
|
-
* tags: [exampleTag.name],
|
|
165
|
-
* enforceSymmetricReturn: {
|
|
166
|
-
* enabled: false,
|
|
167
|
-
* },
|
|
168
|
-
* schedule: "non-work-hours",
|
|
169
|
-
* });
|
|
170
|
-
* // Define the data source (the item to be retrieved via API GET)
|
|
171
|
-
* const pbfExternalWebTestGet = scm.getPbfRuleOutput({
|
|
172
|
-
* id: examplePbfRule.id,
|
|
173
|
-
* });
|
|
174
|
-
* export const retrievedIDAndName = {
|
|
175
|
-
* id: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.id),
|
|
176
|
-
* name: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.name),
|
|
177
|
-
* };
|
|
178
|
-
* export const recievedResponse = pbfExternalWebTestGet;
|
|
179
|
-
* ```
|
|
180
92
|
*/
|
|
181
93
|
export declare function getPbfRuleOutput(args: GetPbfRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPbfRuleResult>;
|
|
182
94
|
/**
|
package/getPbfRule.js
CHANGED
|
@@ -7,50 +7,6 @@ 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
|
-
* ```
|
|
54
10
|
*/
|
|
55
11
|
function getPbfRule(args, opts) {
|
|
56
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -62,50 +18,6 @@ function getPbfRule(args, opts) {
|
|
|
62
18
|
exports.getPbfRule = getPbfRule;
|
|
63
19
|
/**
|
|
64
20
|
* 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
|
-
* ```
|
|
109
21
|
*/
|
|
110
22
|
function getPbfRuleOutput(args, opts) {
|
|
111
23
|
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;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AAsFD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}
|
package/getPbfRuleList.d.ts
CHANGED
|
@@ -2,23 +2,6 @@ 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
|
-
* ```
|
|
22
5
|
*/
|
|
23
6
|
export declare function getPbfRuleList(args?: GetPbfRuleListArgs, opts?: pulumi.InvokeOptions): Promise<GetPbfRuleListResult>;
|
|
24
7
|
/**
|
|
@@ -94,23 +77,6 @@ export interface GetPbfRuleListResult {
|
|
|
94
77
|
}
|
|
95
78
|
/**
|
|
96
79
|
* 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
|
-
* ```
|
|
114
80
|
*/
|
|
115
81
|
export declare function getPbfRuleListOutput(args?: GetPbfRuleListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPbfRuleListResult>;
|
|
116
82
|
/**
|
package/getPbfRuleList.js
CHANGED
|
@@ -7,23 +7,6 @@ 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
|
-
* ```
|
|
27
10
|
*/
|
|
28
11
|
function getPbfRuleList(args, opts) {
|
|
29
12
|
args = args || {};
|
|
@@ -40,23 +23,6 @@ function getPbfRuleList(args, opts) {
|
|
|
40
23
|
exports.getPbfRuleList = getPbfRuleList;
|
|
41
24
|
/**
|
|
42
25
|
* 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
|
-
* ```
|
|
60
26
|
*/
|
|
61
27
|
function getPbfRuleListOutput(args, opts) {
|
|
62
28
|
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;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wCAWC;AA0ED;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAAiC;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yCAAyC,EAAE;QAC1E,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oDAWC"}
|
package/getQosPolicyRule.d.ts
CHANGED
|
@@ -2,36 +2,6 @@ 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
|
-
* ```
|
|
35
5
|
*/
|
|
36
6
|
export declare function getQosPolicyRule(args: GetQosPolicyRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetQosPolicyRuleResult>;
|
|
37
7
|
/**
|
|
@@ -79,14 +49,6 @@ export interface GetQosPolicyRuleResult {
|
|
|
79
49
|
* Name
|
|
80
50
|
*/
|
|
81
51
|
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;
|
|
90
52
|
/**
|
|
91
53
|
* Schedule
|
|
92
54
|
*/
|
|
@@ -95,44 +57,10 @@ export interface GetQosPolicyRuleResult {
|
|
|
95
57
|
* The snippet in which the resource is defined
|
|
96
58
|
*/
|
|
97
59
|
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;
|
|
102
60
|
readonly tfid: string;
|
|
103
61
|
}
|
|
104
62
|
/**
|
|
105
63
|
* 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
|
-
* ```
|
|
136
64
|
*/
|
|
137
65
|
export declare function getQosPolicyRuleOutput(args: GetQosPolicyRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetQosPolicyRuleResult>;
|
|
138
66
|
/**
|