@pulumi/scm 1.0.0-alpha.1762562132 → 1.0.0-alpha.1762844275
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -2,6 +2,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Retrieves a listing of config items.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as scm from "@pulumi/scm";
|
|
11
|
+
*
|
|
12
|
+
* // Fetch a list of all loopback interfaces
|
|
13
|
+
* const allLoopbackInterfaces = scm.getLoopbackInterfaceList({
|
|
14
|
+
* folder: "ngfw-shared",
|
|
15
|
+
* });
|
|
16
|
+
* export const scmLoopbackInterfaceList = allLoopbackInterfaces.then(allLoopbackInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
|
|
17
|
+
* ```
|
|
5
18
|
*/
|
|
6
19
|
export declare function getLoopbackInterfaceList(args?: GetLoopbackInterfaceListArgs, opts?: pulumi.InvokeOptions): Promise<GetLoopbackInterfaceListResult>;
|
|
7
20
|
/**
|
|
@@ -77,6 +90,19 @@ export interface GetLoopbackInterfaceListResult {
|
|
|
77
90
|
}
|
|
78
91
|
/**
|
|
79
92
|
* Retrieves a listing of config items.
|
|
93
|
+
*
|
|
94
|
+
* ## Example Usage
|
|
95
|
+
*
|
|
96
|
+
* ```typescript
|
|
97
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
98
|
+
* import * as scm from "@pulumi/scm";
|
|
99
|
+
*
|
|
100
|
+
* // Fetch a list of all loopback interfaces
|
|
101
|
+
* const allLoopbackInterfaces = scm.getLoopbackInterfaceList({
|
|
102
|
+
* folder: "ngfw-shared",
|
|
103
|
+
* });
|
|
104
|
+
* export const scmLoopbackInterfaceList = allLoopbackInterfaces.then(allLoopbackInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
|
|
105
|
+
* ```
|
|
80
106
|
*/
|
|
81
107
|
export declare function getLoopbackInterfaceListOutput(args?: GetLoopbackInterfaceListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLoopbackInterfaceListResult>;
|
|
82
108
|
/**
|
|
@@ -7,6 +7,19 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Retrieves a listing of config items.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as scm from "@pulumi/scm";
|
|
16
|
+
*
|
|
17
|
+
* // Fetch a list of all loopback interfaces
|
|
18
|
+
* const allLoopbackInterfaces = scm.getLoopbackInterfaceList({
|
|
19
|
+
* folder: "ngfw-shared",
|
|
20
|
+
* });
|
|
21
|
+
* export const scmLoopbackInterfaceList = allLoopbackInterfaces.then(allLoopbackInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
|
|
22
|
+
* ```
|
|
10
23
|
*/
|
|
11
24
|
function getLoopbackInterfaceList(args, opts) {
|
|
12
25
|
args = args || {};
|
|
@@ -23,6 +36,19 @@ function getLoopbackInterfaceList(args, opts) {
|
|
|
23
36
|
exports.getLoopbackInterfaceList = getLoopbackInterfaceList;
|
|
24
37
|
/**
|
|
25
38
|
* Retrieves a listing of config items.
|
|
39
|
+
*
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as scm from "@pulumi/scm";
|
|
45
|
+
*
|
|
46
|
+
* // Fetch a list of all loopback interfaces
|
|
47
|
+
* const allLoopbackInterfaces = scm.getLoopbackInterfaceList({
|
|
48
|
+
* folder: "ngfw-shared",
|
|
49
|
+
* });
|
|
50
|
+
* export const scmLoopbackInterfaceList = allLoopbackInterfaces.then(allLoopbackInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
|
|
51
|
+
* ```
|
|
26
52
|
*/
|
|
27
53
|
function getLoopbackInterfaceListOutput(args, opts) {
|
|
28
54
|
args = args || {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLoopbackInterfaceList.js","sourceRoot":"","sources":["../getLoopbackInterfaceList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getLoopbackInterfaceList.js","sourceRoot":"","sources":["../getLoopbackInterfaceList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6DAA6D,EAAE;QACxF,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4DAWC;AA0ED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,8BAA8B,CAAC,IAAyC,EAAE,IAAiC;IACvH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6DAA6D,EAAE;QAC9F,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wEAWC"}
|
package/getNatRule.d.ts
CHANGED
|
@@ -2,6 +2,44 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* NatRule data source
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as scm from "@pulumi/scm";
|
|
11
|
+
*
|
|
12
|
+
* // Define the resource (the item to be created via API POST/PUT)
|
|
13
|
+
* const dnatExternalWebTestCreate = new scm.NatRule("dnat_external_web_test_create", {
|
|
14
|
+
* name: "DNAT-External-data-src-test_1",
|
|
15
|
+
* description: "Translate public VIP to internal web server.",
|
|
16
|
+
* froms: ["zone-untrust"],
|
|
17
|
+
* tos: ["zone-untrust"],
|
|
18
|
+
* sources: ["any"],
|
|
19
|
+
* destinations: ["any"],
|
|
20
|
+
* service: "service-http",
|
|
21
|
+
* folder: "All",
|
|
22
|
+
* natType: "ipv4",
|
|
23
|
+
* position: "pre",
|
|
24
|
+
* destinationTranslation: {
|
|
25
|
+
* translatedAddress: "10.1.1.16",
|
|
26
|
+
* translatedPort: 112,
|
|
27
|
+
* dnsRewrite: {
|
|
28
|
+
* direction: "reverse",
|
|
29
|
+
* },
|
|
30
|
+
* },
|
|
31
|
+
* });
|
|
32
|
+
* // Define the data source (the item to be retrieved via API GET)
|
|
33
|
+
* const dnatExternalWebTestGet = scm.getNatRuleOutput({
|
|
34
|
+
* id: dnatExternalWebTestCreate.id,
|
|
35
|
+
* });
|
|
36
|
+
* export const retrievedIDAndName = {
|
|
37
|
+
* id: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.id),
|
|
38
|
+
* name: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.name),
|
|
39
|
+
* };
|
|
40
|
+
* export const retrievedDestinationTranslation = dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.destinationTranslation);
|
|
41
|
+
* export const recievedResponse = dnatExternalWebTestGet;
|
|
42
|
+
* ```
|
|
5
43
|
*/
|
|
6
44
|
export declare function getNatRule(args: GetNatRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetNatRuleResult>;
|
|
7
45
|
/**
|
|
@@ -29,6 +67,10 @@ export interface GetNatRuleResult {
|
|
|
29
67
|
* NAT rule description
|
|
30
68
|
*/
|
|
31
69
|
readonly description: string;
|
|
70
|
+
/**
|
|
71
|
+
* Destination translation
|
|
72
|
+
*/
|
|
73
|
+
readonly destinationTranslation: outputs.GetNatRuleDestinationTranslation;
|
|
32
74
|
/**
|
|
33
75
|
* Destination address(es) of the original packet
|
|
34
76
|
*/
|
|
@@ -42,13 +84,9 @@ export interface GetNatRuleResult {
|
|
|
42
84
|
*/
|
|
43
85
|
readonly disabled: boolean;
|
|
44
86
|
/**
|
|
45
|
-
*
|
|
87
|
+
* Dynamic destination translation
|
|
46
88
|
*/
|
|
47
|
-
readonly
|
|
48
|
-
/**
|
|
49
|
-
* DNS rewrite
|
|
50
|
-
*/
|
|
51
|
-
readonly dnsRewrite: outputs.GetNatRuleDnsRewrite;
|
|
89
|
+
readonly dynamicDestinationTranslation: outputs.GetNatRuleDynamicDestinationTranslation;
|
|
52
90
|
/**
|
|
53
91
|
* The folder in which the resource is defined
|
|
54
92
|
*/
|
|
@@ -69,6 +107,10 @@ export interface GetNatRuleResult {
|
|
|
69
107
|
* NAT type
|
|
70
108
|
*/
|
|
71
109
|
readonly natType: string;
|
|
110
|
+
/**
|
|
111
|
+
* The relative position of the rule
|
|
112
|
+
*/
|
|
113
|
+
readonly position: string;
|
|
72
114
|
/**
|
|
73
115
|
* The service of the original packet
|
|
74
116
|
*/
|
|
@@ -98,17 +140,47 @@ export interface GetNatRuleResult {
|
|
|
98
140
|
* Destination zone of the original packet
|
|
99
141
|
*/
|
|
100
142
|
readonly tos: string[];
|
|
101
|
-
/**
|
|
102
|
-
* Translated destination IP address
|
|
103
|
-
*/
|
|
104
|
-
readonly translatedAddressSingle: string;
|
|
105
|
-
/**
|
|
106
|
-
* Translated destination port
|
|
107
|
-
*/
|
|
108
|
-
readonly translatedPort: number;
|
|
109
143
|
}
|
|
110
144
|
/**
|
|
111
145
|
* NatRule data source
|
|
146
|
+
*
|
|
147
|
+
* ## Example Usage
|
|
148
|
+
*
|
|
149
|
+
* ```typescript
|
|
150
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
151
|
+
* import * as scm from "@pulumi/scm";
|
|
152
|
+
*
|
|
153
|
+
* // Define the resource (the item to be created via API POST/PUT)
|
|
154
|
+
* const dnatExternalWebTestCreate = new scm.NatRule("dnat_external_web_test_create", {
|
|
155
|
+
* name: "DNAT-External-data-src-test_1",
|
|
156
|
+
* description: "Translate public VIP to internal web server.",
|
|
157
|
+
* froms: ["zone-untrust"],
|
|
158
|
+
* tos: ["zone-untrust"],
|
|
159
|
+
* sources: ["any"],
|
|
160
|
+
* destinations: ["any"],
|
|
161
|
+
* service: "service-http",
|
|
162
|
+
* folder: "All",
|
|
163
|
+
* natType: "ipv4",
|
|
164
|
+
* position: "pre",
|
|
165
|
+
* destinationTranslation: {
|
|
166
|
+
* translatedAddress: "10.1.1.16",
|
|
167
|
+
* translatedPort: 112,
|
|
168
|
+
* dnsRewrite: {
|
|
169
|
+
* direction: "reverse",
|
|
170
|
+
* },
|
|
171
|
+
* },
|
|
172
|
+
* });
|
|
173
|
+
* // Define the data source (the item to be retrieved via API GET)
|
|
174
|
+
* const dnatExternalWebTestGet = scm.getNatRuleOutput({
|
|
175
|
+
* id: dnatExternalWebTestCreate.id,
|
|
176
|
+
* });
|
|
177
|
+
* export const retrievedIDAndName = {
|
|
178
|
+
* id: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.id),
|
|
179
|
+
* name: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.name),
|
|
180
|
+
* };
|
|
181
|
+
* export const retrievedDestinationTranslation = dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.destinationTranslation);
|
|
182
|
+
* export const recievedResponse = dnatExternalWebTestGet;
|
|
183
|
+
* ```
|
|
112
184
|
*/
|
|
113
185
|
export declare function getNatRuleOutput(args: GetNatRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNatRuleResult>;
|
|
114
186
|
/**
|
package/getNatRule.js
CHANGED
|
@@ -7,6 +7,44 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* NatRule data source
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as scm from "@pulumi/scm";
|
|
16
|
+
*
|
|
17
|
+
* // Define the resource (the item to be created via API POST/PUT)
|
|
18
|
+
* const dnatExternalWebTestCreate = new scm.NatRule("dnat_external_web_test_create", {
|
|
19
|
+
* name: "DNAT-External-data-src-test_1",
|
|
20
|
+
* description: "Translate public VIP to internal web server.",
|
|
21
|
+
* froms: ["zone-untrust"],
|
|
22
|
+
* tos: ["zone-untrust"],
|
|
23
|
+
* sources: ["any"],
|
|
24
|
+
* destinations: ["any"],
|
|
25
|
+
* service: "service-http",
|
|
26
|
+
* folder: "All",
|
|
27
|
+
* natType: "ipv4",
|
|
28
|
+
* position: "pre",
|
|
29
|
+
* destinationTranslation: {
|
|
30
|
+
* translatedAddress: "10.1.1.16",
|
|
31
|
+
* translatedPort: 112,
|
|
32
|
+
* dnsRewrite: {
|
|
33
|
+
* direction: "reverse",
|
|
34
|
+
* },
|
|
35
|
+
* },
|
|
36
|
+
* });
|
|
37
|
+
* // Define the data source (the item to be retrieved via API GET)
|
|
38
|
+
* const dnatExternalWebTestGet = scm.getNatRuleOutput({
|
|
39
|
+
* id: dnatExternalWebTestCreate.id,
|
|
40
|
+
* });
|
|
41
|
+
* export const retrievedIDAndName = {
|
|
42
|
+
* id: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.id),
|
|
43
|
+
* name: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.name),
|
|
44
|
+
* };
|
|
45
|
+
* export const retrievedDestinationTranslation = dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.destinationTranslation);
|
|
46
|
+
* export const recievedResponse = dnatExternalWebTestGet;
|
|
47
|
+
* ```
|
|
10
48
|
*/
|
|
11
49
|
function getNatRule(args, opts) {
|
|
12
50
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -18,6 +56,44 @@ function getNatRule(args, opts) {
|
|
|
18
56
|
exports.getNatRule = getNatRule;
|
|
19
57
|
/**
|
|
20
58
|
* NatRule data source
|
|
59
|
+
*
|
|
60
|
+
* ## Example Usage
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as scm from "@pulumi/scm";
|
|
65
|
+
*
|
|
66
|
+
* // Define the resource (the item to be created via API POST/PUT)
|
|
67
|
+
* const dnatExternalWebTestCreate = new scm.NatRule("dnat_external_web_test_create", {
|
|
68
|
+
* name: "DNAT-External-data-src-test_1",
|
|
69
|
+
* description: "Translate public VIP to internal web server.",
|
|
70
|
+
* froms: ["zone-untrust"],
|
|
71
|
+
* tos: ["zone-untrust"],
|
|
72
|
+
* sources: ["any"],
|
|
73
|
+
* destinations: ["any"],
|
|
74
|
+
* service: "service-http",
|
|
75
|
+
* folder: "All",
|
|
76
|
+
* natType: "ipv4",
|
|
77
|
+
* position: "pre",
|
|
78
|
+
* destinationTranslation: {
|
|
79
|
+
* translatedAddress: "10.1.1.16",
|
|
80
|
+
* translatedPort: 112,
|
|
81
|
+
* dnsRewrite: {
|
|
82
|
+
* direction: "reverse",
|
|
83
|
+
* },
|
|
84
|
+
* },
|
|
85
|
+
* });
|
|
86
|
+
* // Define the data source (the item to be retrieved via API GET)
|
|
87
|
+
* const dnatExternalWebTestGet = scm.getNatRuleOutput({
|
|
88
|
+
* id: dnatExternalWebTestCreate.id,
|
|
89
|
+
* });
|
|
90
|
+
* export const retrievedIDAndName = {
|
|
91
|
+
* id: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.id),
|
|
92
|
+
* name: dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.name),
|
|
93
|
+
* };
|
|
94
|
+
* export const retrievedDestinationTranslation = dnatExternalWebTestGet.apply(dnatExternalWebTestGet => dnatExternalWebTestGet.destinationTranslation);
|
|
95
|
+
* export const recievedResponse = dnatExternalWebTestGet;
|
|
96
|
+
* ```
|
|
21
97
|
*/
|
|
22
98
|
function getNatRuleOutput(args, opts) {
|
|
23
99
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
package/getNatRule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNatRule.js","sourceRoot":"","sources":["../getNatRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getNatRule.js","sourceRoot":"","sources":["../getNatRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;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;AAsGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;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,8 +2,27 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Retrieves a listing of config items.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as scm from "@pulumi/scm";
|
|
11
|
+
*
|
|
12
|
+
* // Define a data source for listing NAT rules
|
|
13
|
+
* const pagedNatRulesList = scm.getNatRuleList({
|
|
14
|
+
* folder: "All",
|
|
15
|
+
* limit: 10,
|
|
16
|
+
* offset: 10,
|
|
17
|
+
* position: "pre",
|
|
18
|
+
* });
|
|
19
|
+
* export const fetchedNATRuleListSummary = {
|
|
20
|
+
* totalRulesInList: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.total),
|
|
21
|
+
* allRules: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.datas),
|
|
22
|
+
* };
|
|
23
|
+
* ```
|
|
5
24
|
*/
|
|
6
|
-
export declare function getNatRuleList(args
|
|
25
|
+
export declare function getNatRuleList(args: GetNatRuleListArgs, opts?: pulumi.InvokeOptions): Promise<GetNatRuleListResult>;
|
|
7
26
|
/**
|
|
8
27
|
* A collection of arguments for invoking getNatRuleList.
|
|
9
28
|
*/
|
|
@@ -28,6 +47,10 @@ export interface GetNatRuleListArgs {
|
|
|
28
47
|
* The offset of the first item to return.
|
|
29
48
|
*/
|
|
30
49
|
offset?: number;
|
|
50
|
+
/**
|
|
51
|
+
* The relative position of the rule
|
|
52
|
+
*/
|
|
53
|
+
position: string;
|
|
31
54
|
/**
|
|
32
55
|
* The snippet of the item.
|
|
33
56
|
*/
|
|
@@ -65,6 +88,10 @@ export interface GetNatRuleListResult {
|
|
|
65
88
|
* The offset of the first item to return.
|
|
66
89
|
*/
|
|
67
90
|
readonly offset?: number;
|
|
91
|
+
/**
|
|
92
|
+
* The relative position of the rule
|
|
93
|
+
*/
|
|
94
|
+
readonly position: string;
|
|
68
95
|
/**
|
|
69
96
|
* The snippet of the item.
|
|
70
97
|
*/
|
|
@@ -77,8 +104,27 @@ export interface GetNatRuleListResult {
|
|
|
77
104
|
}
|
|
78
105
|
/**
|
|
79
106
|
* Retrieves a listing of config items.
|
|
107
|
+
*
|
|
108
|
+
* ## Example Usage
|
|
109
|
+
*
|
|
110
|
+
* ```typescript
|
|
111
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
112
|
+
* import * as scm from "@pulumi/scm";
|
|
113
|
+
*
|
|
114
|
+
* // Define a data source for listing NAT rules
|
|
115
|
+
* const pagedNatRulesList = scm.getNatRuleList({
|
|
116
|
+
* folder: "All",
|
|
117
|
+
* limit: 10,
|
|
118
|
+
* offset: 10,
|
|
119
|
+
* position: "pre",
|
|
120
|
+
* });
|
|
121
|
+
* export const fetchedNATRuleListSummary = {
|
|
122
|
+
* totalRulesInList: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.total),
|
|
123
|
+
* allRules: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.datas),
|
|
124
|
+
* };
|
|
125
|
+
* ```
|
|
80
126
|
*/
|
|
81
|
-
export declare function getNatRuleListOutput(args
|
|
127
|
+
export declare function getNatRuleListOutput(args: GetNatRuleListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNatRuleListResult>;
|
|
82
128
|
/**
|
|
83
129
|
* A collection of arguments for invoking getNatRuleList.
|
|
84
130
|
*/
|
|
@@ -103,6 +149,10 @@ export interface GetNatRuleListOutputArgs {
|
|
|
103
149
|
* The offset of the first item to return.
|
|
104
150
|
*/
|
|
105
151
|
offset?: pulumi.Input<number>;
|
|
152
|
+
/**
|
|
153
|
+
* The relative position of the rule
|
|
154
|
+
*/
|
|
155
|
+
position: pulumi.Input<string>;
|
|
106
156
|
/**
|
|
107
157
|
* The snippet of the item.
|
|
108
158
|
*/
|
package/getNatRuleList.js
CHANGED
|
@@ -7,9 +7,27 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Retrieves a listing of config items.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as scm from "@pulumi/scm";
|
|
16
|
+
*
|
|
17
|
+
* // Define a data source for listing NAT rules
|
|
18
|
+
* const pagedNatRulesList = scm.getNatRuleList({
|
|
19
|
+
* folder: "All",
|
|
20
|
+
* limit: 10,
|
|
21
|
+
* offset: 10,
|
|
22
|
+
* position: "pre",
|
|
23
|
+
* });
|
|
24
|
+
* export const fetchedNATRuleListSummary = {
|
|
25
|
+
* totalRulesInList: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.total),
|
|
26
|
+
* allRules: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.datas),
|
|
27
|
+
* };
|
|
28
|
+
* ```
|
|
10
29
|
*/
|
|
11
30
|
function getNatRuleList(args, opts) {
|
|
12
|
-
args = args || {};
|
|
13
31
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
14
32
|
return pulumi.runtime.invoke("scm:index/getNatRuleList:getNatRuleList", {
|
|
15
33
|
"device": args.device,
|
|
@@ -17,15 +35,34 @@ function getNatRuleList(args, opts) {
|
|
|
17
35
|
"limit": args.limit,
|
|
18
36
|
"name": args.name,
|
|
19
37
|
"offset": args.offset,
|
|
38
|
+
"position": args.position,
|
|
20
39
|
"snippet": args.snippet,
|
|
21
40
|
}, opts);
|
|
22
41
|
}
|
|
23
42
|
exports.getNatRuleList = getNatRuleList;
|
|
24
43
|
/**
|
|
25
44
|
* Retrieves a listing of config items.
|
|
45
|
+
*
|
|
46
|
+
* ## Example Usage
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as scm from "@pulumi/scm";
|
|
51
|
+
*
|
|
52
|
+
* // Define a data source for listing NAT rules
|
|
53
|
+
* const pagedNatRulesList = scm.getNatRuleList({
|
|
54
|
+
* folder: "All",
|
|
55
|
+
* limit: 10,
|
|
56
|
+
* offset: 10,
|
|
57
|
+
* position: "pre",
|
|
58
|
+
* });
|
|
59
|
+
* export const fetchedNATRuleListSummary = {
|
|
60
|
+
* totalRulesInList: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.total),
|
|
61
|
+
* allRules: pagedNatRulesList.then(pagedNatRulesList => pagedNatRulesList.datas),
|
|
62
|
+
* };
|
|
63
|
+
* ```
|
|
26
64
|
*/
|
|
27
65
|
function getNatRuleListOutput(args, opts) {
|
|
28
|
-
args = args || {};
|
|
29
66
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
67
|
return pulumi.runtime.invokeOutput("scm:index/getNatRuleList:getNatRuleList", {
|
|
31
68
|
"device": args.device,
|
|
@@ -33,6 +70,7 @@ function getNatRuleListOutput(args, opts) {
|
|
|
33
70
|
"limit": args.limit,
|
|
34
71
|
"name": args.name,
|
|
35
72
|
"offset": args.offset,
|
|
73
|
+
"position": args.position,
|
|
36
74
|
"snippet": args.snippet,
|
|
37
75
|
}, opts);
|
|
38
76
|
}
|
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;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,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,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wCAWC;AAkFD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,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,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oDAWC"}
|
package/getPbfRule.d.ts
CHANGED
|
@@ -2,6 +2,50 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* PbfRule data source
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as scm from "@pulumi/scm";
|
|
11
|
+
*
|
|
12
|
+
* const exampleTag = new scm.Tag("example_tag", {
|
|
13
|
+
* folder: "All",
|
|
14
|
+
* name: "pbf-rule-tag-ds-test-1",
|
|
15
|
+
* color: "Red",
|
|
16
|
+
* });
|
|
17
|
+
* // --- PBF Rule Resource with discard action---
|
|
18
|
+
* const examplePbfRule = new scm.PbfRule("example_pbf_rule", {
|
|
19
|
+
* name: "pbf-test-ds-rule-discard",
|
|
20
|
+
* folder: "All",
|
|
21
|
+
* description: "Data Source testing pbf rule.",
|
|
22
|
+
* from: {
|
|
23
|
+
* zones: ["zone-untrust"],
|
|
24
|
+
* },
|
|
25
|
+
* sources: ["any"],
|
|
26
|
+
* destinations: ["any"],
|
|
27
|
+
* applications: ["any"],
|
|
28
|
+
* services: ["service-http"],
|
|
29
|
+
* sourceUsers: ["any"],
|
|
30
|
+
* action: {
|
|
31
|
+
* discard: {},
|
|
32
|
+
* },
|
|
33
|
+
* tags: [exampleTag.name],
|
|
34
|
+
* enforceSymmetricReturn: {
|
|
35
|
+
* enabled: false,
|
|
36
|
+
* },
|
|
37
|
+
* schedule: "non-work-hours",
|
|
38
|
+
* });
|
|
39
|
+
* // Define the data source (the item to be retrieved via API GET)
|
|
40
|
+
* const pbfExternalWebTestGet = scm.getPbfRuleOutput({
|
|
41
|
+
* id: examplePbfRule.id,
|
|
42
|
+
* });
|
|
43
|
+
* export const retrievedIDAndName = {
|
|
44
|
+
* id: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.id),
|
|
45
|
+
* name: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.name),
|
|
46
|
+
* };
|
|
47
|
+
* export const recievedResponse = pbfExternalWebTestGet;
|
|
48
|
+
* ```
|
|
5
49
|
*/
|
|
6
50
|
export declare function getPbfRule(args: GetPbfRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetPbfRuleResult>;
|
|
7
51
|
/**
|
|
@@ -89,6 +133,50 @@ export interface GetPbfRuleResult {
|
|
|
89
133
|
}
|
|
90
134
|
/**
|
|
91
135
|
* PbfRule data source
|
|
136
|
+
*
|
|
137
|
+
* ## Example Usage
|
|
138
|
+
*
|
|
139
|
+
* ```typescript
|
|
140
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
141
|
+
* import * as scm from "@pulumi/scm";
|
|
142
|
+
*
|
|
143
|
+
* const exampleTag = new scm.Tag("example_tag", {
|
|
144
|
+
* folder: "All",
|
|
145
|
+
* name: "pbf-rule-tag-ds-test-1",
|
|
146
|
+
* color: "Red",
|
|
147
|
+
* });
|
|
148
|
+
* // --- PBF Rule Resource with discard action---
|
|
149
|
+
* const examplePbfRule = new scm.PbfRule("example_pbf_rule", {
|
|
150
|
+
* name: "pbf-test-ds-rule-discard",
|
|
151
|
+
* folder: "All",
|
|
152
|
+
* description: "Data Source testing pbf rule.",
|
|
153
|
+
* from: {
|
|
154
|
+
* zones: ["zone-untrust"],
|
|
155
|
+
* },
|
|
156
|
+
* sources: ["any"],
|
|
157
|
+
* destinations: ["any"],
|
|
158
|
+
* applications: ["any"],
|
|
159
|
+
* services: ["service-http"],
|
|
160
|
+
* sourceUsers: ["any"],
|
|
161
|
+
* action: {
|
|
162
|
+
* discard: {},
|
|
163
|
+
* },
|
|
164
|
+
* tags: [exampleTag.name],
|
|
165
|
+
* enforceSymmetricReturn: {
|
|
166
|
+
* enabled: false,
|
|
167
|
+
* },
|
|
168
|
+
* schedule: "non-work-hours",
|
|
169
|
+
* });
|
|
170
|
+
* // Define the data source (the item to be retrieved via API GET)
|
|
171
|
+
* const pbfExternalWebTestGet = scm.getPbfRuleOutput({
|
|
172
|
+
* id: examplePbfRule.id,
|
|
173
|
+
* });
|
|
174
|
+
* export const retrievedIDAndName = {
|
|
175
|
+
* id: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.id),
|
|
176
|
+
* name: pbfExternalWebTestGet.apply(pbfExternalWebTestGet => pbfExternalWebTestGet.name),
|
|
177
|
+
* };
|
|
178
|
+
* export const recievedResponse = pbfExternalWebTestGet;
|
|
179
|
+
* ```
|
|
92
180
|
*/
|
|
93
181
|
export declare function getPbfRuleOutput(args: GetPbfRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPbfRuleResult>;
|
|
94
182
|
/**
|