@pulumi/scm 1.0.0-alpha.1762844275 → 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/pbfRule.d.ts
CHANGED
|
@@ -3,95 +3,6 @@ import * as inputs from "./types/input";
|
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
5
|
* PbfRule resource
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as scm from "@pulumi/scm";
|
|
12
|
-
*
|
|
13
|
-
* const exampleTag = new scm.Tag("example_tag", {
|
|
14
|
-
* folder: "All",
|
|
15
|
-
* name: "pbf-rule-tag-test-1",
|
|
16
|
-
* color: "Red",
|
|
17
|
-
* });
|
|
18
|
-
* // --- PBF Rule Resource with discard action---
|
|
19
|
-
* const examplePbfRule = new scm.PbfRule("example_pbf_rule", {
|
|
20
|
-
* name: "pbf-test-rule-discard",
|
|
21
|
-
* folder: "All",
|
|
22
|
-
* description: "PBF rule for forwarding specific traffic.",
|
|
23
|
-
* from: {
|
|
24
|
-
* zones: ["zone-untrust"],
|
|
25
|
-
* },
|
|
26
|
-
* sources: ["any"],
|
|
27
|
-
* destinations: ["any"],
|
|
28
|
-
* applications: ["any"],
|
|
29
|
-
* services: ["service-http"],
|
|
30
|
-
* sourceUsers: ["any"],
|
|
31
|
-
* action: {
|
|
32
|
-
* discard: {},
|
|
33
|
-
* },
|
|
34
|
-
* tags: [exampleTag.name],
|
|
35
|
-
* enforceSymmetricReturn: {
|
|
36
|
-
* enabled: false,
|
|
37
|
-
* },
|
|
38
|
-
* schedule: "non-work-hours",
|
|
39
|
-
* });
|
|
40
|
-
* // --- PBF Rule Resource with no-pbf action---
|
|
41
|
-
* const exampleNoPbfRule = new scm.PbfRule("example_no_pbf_rule", {
|
|
42
|
-
* name: "pbf-test-rule-no-pbf",
|
|
43
|
-
* folder: "All",
|
|
44
|
-
* description: "PBF rule for forwarding specific traffic",
|
|
45
|
-
* from: {
|
|
46
|
-
* zones: ["zone-untrust"],
|
|
47
|
-
* },
|
|
48
|
-
* sources: ["any"],
|
|
49
|
-
* destinations: ["any"],
|
|
50
|
-
* applications: ["any"],
|
|
51
|
-
* services: ["service-https"],
|
|
52
|
-
* sourceUsers: ["any"],
|
|
53
|
-
* action: {
|
|
54
|
-
* noPbf: {},
|
|
55
|
-
* },
|
|
56
|
-
* tags: [exampleTag.name],
|
|
57
|
-
* enforceSymmetricReturn: {
|
|
58
|
-
* enabled: false,
|
|
59
|
-
* },
|
|
60
|
-
* schedule: "non-work-hours",
|
|
61
|
-
* });
|
|
62
|
-
* // --- PBF Rule Resource with forward action---
|
|
63
|
-
* const exampleForwardPbfRule = new scm.PbfRule("example_forward_pbf_rule", {
|
|
64
|
-
* name: "pbf-test-rule-forward",
|
|
65
|
-
* folder: "All",
|
|
66
|
-
* description: "PBF rule for forwarding specific traffic",
|
|
67
|
-
* from: {
|
|
68
|
-
* zones: ["zone-untrust"],
|
|
69
|
-
* },
|
|
70
|
-
* sources: ["any"],
|
|
71
|
-
* destinations: ["any"],
|
|
72
|
-
* applications: ["any"],
|
|
73
|
-
* services: ["service-http"],
|
|
74
|
-
* sourceUsers: ["any"],
|
|
75
|
-
* action: {
|
|
76
|
-
* forward: {
|
|
77
|
-
* egressInterface: "ethernet1/1",
|
|
78
|
-
* nexthop: {
|
|
79
|
-
* ipAddress: "192.168.1.254",
|
|
80
|
-
* },
|
|
81
|
-
* monitor: {
|
|
82
|
-
* ipAddress: "8.8.8.10",
|
|
83
|
-
* profile: "test_tf_profile",
|
|
84
|
-
* disableIfUnreachable: true,
|
|
85
|
-
* },
|
|
86
|
-
* },
|
|
87
|
-
* },
|
|
88
|
-
* tags: [exampleTag.name],
|
|
89
|
-
* enforceSymmetricReturn: {
|
|
90
|
-
* enabled: true,
|
|
91
|
-
* },
|
|
92
|
-
* schedule: "non-work-hours",
|
|
93
|
-
* });
|
|
94
|
-
* ```
|
|
95
6
|
*/
|
|
96
7
|
export declare class PbfRule extends pulumi.CustomResource {
|
|
97
8
|
/**
|
package/pbfRule.js
CHANGED
|
@@ -7,95 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* PbfRule resource
|
|
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-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-rule-discard",
|
|
25
|
-
* folder: "All",
|
|
26
|
-
* description: "PBF rule for forwarding specific traffic.",
|
|
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
|
-
* // --- PBF Rule Resource with no-pbf action---
|
|
45
|
-
* const exampleNoPbfRule = new scm.PbfRule("example_no_pbf_rule", {
|
|
46
|
-
* name: "pbf-test-rule-no-pbf",
|
|
47
|
-
* folder: "All",
|
|
48
|
-
* description: "PBF rule for forwarding specific traffic",
|
|
49
|
-
* from: {
|
|
50
|
-
* zones: ["zone-untrust"],
|
|
51
|
-
* },
|
|
52
|
-
* sources: ["any"],
|
|
53
|
-
* destinations: ["any"],
|
|
54
|
-
* applications: ["any"],
|
|
55
|
-
* services: ["service-https"],
|
|
56
|
-
* sourceUsers: ["any"],
|
|
57
|
-
* action: {
|
|
58
|
-
* noPbf: {},
|
|
59
|
-
* },
|
|
60
|
-
* tags: [exampleTag.name],
|
|
61
|
-
* enforceSymmetricReturn: {
|
|
62
|
-
* enabled: false,
|
|
63
|
-
* },
|
|
64
|
-
* schedule: "non-work-hours",
|
|
65
|
-
* });
|
|
66
|
-
* // --- PBF Rule Resource with forward action---
|
|
67
|
-
* const exampleForwardPbfRule = new scm.PbfRule("example_forward_pbf_rule", {
|
|
68
|
-
* name: "pbf-test-rule-forward",
|
|
69
|
-
* folder: "All",
|
|
70
|
-
* description: "PBF rule for forwarding specific traffic",
|
|
71
|
-
* from: {
|
|
72
|
-
* zones: ["zone-untrust"],
|
|
73
|
-
* },
|
|
74
|
-
* sources: ["any"],
|
|
75
|
-
* destinations: ["any"],
|
|
76
|
-
* applications: ["any"],
|
|
77
|
-
* services: ["service-http"],
|
|
78
|
-
* sourceUsers: ["any"],
|
|
79
|
-
* action: {
|
|
80
|
-
* forward: {
|
|
81
|
-
* egressInterface: "ethernet1/1",
|
|
82
|
-
* nexthop: {
|
|
83
|
-
* ipAddress: "192.168.1.254",
|
|
84
|
-
* },
|
|
85
|
-
* monitor: {
|
|
86
|
-
* ipAddress: "8.8.8.10",
|
|
87
|
-
* profile: "test_tf_profile",
|
|
88
|
-
* disableIfUnreachable: true,
|
|
89
|
-
* },
|
|
90
|
-
* },
|
|
91
|
-
* },
|
|
92
|
-
* tags: [exampleTag.name],
|
|
93
|
-
* enforceSymmetricReturn: {
|
|
94
|
-
* enabled: true,
|
|
95
|
-
* },
|
|
96
|
-
* schedule: "non-work-hours",
|
|
97
|
-
* });
|
|
98
|
-
* ```
|
|
99
10
|
*/
|
|
100
11
|
class PbfRule extends pulumi.CustomResource {
|
|
101
12
|
/**
|
package/pbfRule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pbfRule.js","sourceRoot":"","sources":["../pbfRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"pbfRule.js","sourceRoot":"","sources":["../pbfRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAwED,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAA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./types/output";
|
|
4
4
|
/**
|
|
5
5
|
* QosPolicyRule resource
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as scm from "@pulumi/scm";
|
|
12
|
-
*
|
|
13
|
-
* // --- 2. ANCHOR QOS POLICY RULE (Used for relative positioning) ---
|
|
14
|
-
* const anchorQosRule = new scm.QosPolicyRule("anchor_qos_rule", {
|
|
15
|
-
* name: "anchor-qos-rule",
|
|
16
|
-
* description: "Base rule for testing 'before' and 'after' positioning.",
|
|
17
|
-
* folder: "All",
|
|
18
|
-
* position: "pre",
|
|
19
|
-
* action: {
|
|
20
|
-
* "class": "2",
|
|
21
|
-
* },
|
|
22
|
-
* schedule: "non-work-hours",
|
|
23
|
-
* dscpTos: {
|
|
24
|
-
* codepoints: [{
|
|
25
|
-
* name: "Set-EF",
|
|
26
|
-
* type: {
|
|
27
|
-
* ef: {},
|
|
28
|
-
* },
|
|
29
|
-
* }],
|
|
30
|
-
* },
|
|
31
|
-
* });
|
|
32
|
-
* // --- 3. ABSOLUTE POSITIONING Examples ("top" and "bottom") ---
|
|
33
|
-
* const ruleTopQosRule = new scm.QosPolicyRule("rule_top_qos_rule", {
|
|
34
|
-
* name: "top-absolute-qos-rule",
|
|
35
|
-
* description: "Placed at the very TOP of the QoS rulebase (Highest Priority).",
|
|
36
|
-
* folder: "All",
|
|
37
|
-
* position: "pre",
|
|
38
|
-
* relativePosition: "top",
|
|
39
|
-
* action: {
|
|
40
|
-
* "class": "2",
|
|
41
|
-
* },
|
|
42
|
-
* });
|
|
43
|
-
* const ruleBottomQosRule = new scm.QosPolicyRule("rule_bottom_qos_rule", {
|
|
44
|
-
* name: "bottom-absolute-qos-rule",
|
|
45
|
-
* description: "Placed at the very BOTTOM of the QoS rulebase (Lowest Priority)",
|
|
46
|
-
* folder: "All",
|
|
47
|
-
* position: "pre",
|
|
48
|
-
* relativePosition: "bottom",
|
|
49
|
-
* action: {
|
|
50
|
-
* "class": "3",
|
|
51
|
-
* },
|
|
52
|
-
* });
|
|
53
|
-
* // --- 4. RELATIVE POSITIONING Examples ("before" and "after") ---
|
|
54
|
-
* const ruleBeforeAnchorQos = new scm.QosPolicyRule("rule_before_anchor_qos", {
|
|
55
|
-
* name: "before-anchor-qos-rule",
|
|
56
|
-
* description: "Positioned immediately BEFORE the anchor-qos-rule.",
|
|
57
|
-
* folder: "All",
|
|
58
|
-
* position: "pre",
|
|
59
|
-
* relativePosition: "before",
|
|
60
|
-
* targetRule: anchorQosRule.id,
|
|
61
|
-
* action: {
|
|
62
|
-
* "class": "5",
|
|
63
|
-
* },
|
|
64
|
-
* });
|
|
65
|
-
* const ruleAfterAnchorQos = new scm.QosPolicyRule("rule_after_anchor_qos", {
|
|
66
|
-
* name: "after-anchor-qos-rule",
|
|
67
|
-
* description: "Positioned immediately AFTER the anchor-qos-rule.",
|
|
68
|
-
* folder: "All",
|
|
69
|
-
* position: "pre",
|
|
70
|
-
* relativePosition: "after",
|
|
71
|
-
* targetRule: anchorQosRule.id,
|
|
72
|
-
* action: {
|
|
73
|
-
* "class": "4",
|
|
74
|
-
* },
|
|
75
|
-
* });
|
|
76
|
-
* ```
|
|
77
6
|
*/
|
|
78
7
|
export declare class QosPolicyRule extends pulumi.CustomResource {
|
|
79
8
|
/**
|
|
@@ -119,10 +48,6 @@ export declare class QosPolicyRule extends pulumi.CustomResource {
|
|
|
119
48
|
* The relative position of the rule
|
|
120
49
|
*/
|
|
121
50
|
readonly position: pulumi.Output<string>;
|
|
122
|
-
/**
|
|
123
|
-
* 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.
|
|
124
|
-
*/
|
|
125
|
-
readonly relativePosition: pulumi.Output<string | undefined>;
|
|
126
51
|
/**
|
|
127
52
|
* Schedule
|
|
128
53
|
*/
|
|
@@ -131,10 +56,6 @@ export declare class QosPolicyRule extends pulumi.CustomResource {
|
|
|
131
56
|
* The snippet in which the resource is defined
|
|
132
57
|
*/
|
|
133
58
|
readonly snippet: pulumi.Output<string | undefined>;
|
|
134
|
-
/**
|
|
135
|
-
* The name or UUID of the rule to position this rule relative to. Required when `relativePosition` is `"before"` or `"after"`.
|
|
136
|
-
*/
|
|
137
|
-
readonly targetRule: pulumi.Output<string | undefined>;
|
|
138
59
|
readonly tfid: pulumi.Output<string>;
|
|
139
60
|
/**
|
|
140
61
|
* Create a QosPolicyRule resource with the given unique name, arguments, and options.
|
|
@@ -177,10 +98,6 @@ export interface QosPolicyRuleState {
|
|
|
177
98
|
* The relative position of the rule
|
|
178
99
|
*/
|
|
179
100
|
position?: pulumi.Input<string>;
|
|
180
|
-
/**
|
|
181
|
-
* 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.
|
|
182
|
-
*/
|
|
183
|
-
relativePosition?: pulumi.Input<string>;
|
|
184
101
|
/**
|
|
185
102
|
* Schedule
|
|
186
103
|
*/
|
|
@@ -189,10 +106,6 @@ export interface QosPolicyRuleState {
|
|
|
189
106
|
* The snippet in which the resource is defined
|
|
190
107
|
*/
|
|
191
108
|
snippet?: pulumi.Input<string>;
|
|
192
|
-
/**
|
|
193
|
-
* The name or UUID of the rule to position this rule relative to. Required when `relativePosition` is `"before"` or `"after"`.
|
|
194
|
-
*/
|
|
195
|
-
targetRule?: pulumi.Input<string>;
|
|
196
109
|
tfid?: pulumi.Input<string>;
|
|
197
110
|
}
|
|
198
111
|
/**
|
|
@@ -227,10 +140,6 @@ export interface QosPolicyRuleArgs {
|
|
|
227
140
|
* The relative position of the rule
|
|
228
141
|
*/
|
|
229
142
|
position?: pulumi.Input<string>;
|
|
230
|
-
/**
|
|
231
|
-
* 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.
|
|
232
|
-
*/
|
|
233
|
-
relativePosition?: pulumi.Input<string>;
|
|
234
143
|
/**
|
|
235
144
|
* Schedule
|
|
236
145
|
*/
|
|
@@ -239,8 +148,4 @@ export interface QosPolicyRuleArgs {
|
|
|
239
148
|
* The snippet in which the resource is defined
|
|
240
149
|
*/
|
|
241
150
|
snippet?: pulumi.Input<string>;
|
|
242
|
-
/**
|
|
243
|
-
* The name or UUID of the rule to position this rule relative to. Required when `relativePosition` is `"before"` or `"after"`.
|
|
244
|
-
*/
|
|
245
|
-
targetRule?: pulumi.Input<string>;
|
|
246
151
|
}
|
package/qosPolicyRule.js
CHANGED
|
@@ -7,77 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* QosPolicyRule resource
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as scm from "@pulumi/scm";
|
|
16
|
-
*
|
|
17
|
-
* // --- 2. ANCHOR QOS POLICY RULE (Used for relative positioning) ---
|
|
18
|
-
* const anchorQosRule = new scm.QosPolicyRule("anchor_qos_rule", {
|
|
19
|
-
* name: "anchor-qos-rule",
|
|
20
|
-
* description: "Base rule for testing 'before' and 'after' positioning.",
|
|
21
|
-
* folder: "All",
|
|
22
|
-
* position: "pre",
|
|
23
|
-
* action: {
|
|
24
|
-
* "class": "2",
|
|
25
|
-
* },
|
|
26
|
-
* schedule: "non-work-hours",
|
|
27
|
-
* dscpTos: {
|
|
28
|
-
* codepoints: [{
|
|
29
|
-
* name: "Set-EF",
|
|
30
|
-
* type: {
|
|
31
|
-
* ef: {},
|
|
32
|
-
* },
|
|
33
|
-
* }],
|
|
34
|
-
* },
|
|
35
|
-
* });
|
|
36
|
-
* // --- 3. ABSOLUTE POSITIONING Examples ("top" and "bottom") ---
|
|
37
|
-
* const ruleTopQosRule = new scm.QosPolicyRule("rule_top_qos_rule", {
|
|
38
|
-
* name: "top-absolute-qos-rule",
|
|
39
|
-
* description: "Placed at the very TOP of the QoS rulebase (Highest Priority).",
|
|
40
|
-
* folder: "All",
|
|
41
|
-
* position: "pre",
|
|
42
|
-
* relativePosition: "top",
|
|
43
|
-
* action: {
|
|
44
|
-
* "class": "2",
|
|
45
|
-
* },
|
|
46
|
-
* });
|
|
47
|
-
* const ruleBottomQosRule = new scm.QosPolicyRule("rule_bottom_qos_rule", {
|
|
48
|
-
* name: "bottom-absolute-qos-rule",
|
|
49
|
-
* description: "Placed at the very BOTTOM of the QoS rulebase (Lowest Priority)",
|
|
50
|
-
* folder: "All",
|
|
51
|
-
* position: "pre",
|
|
52
|
-
* relativePosition: "bottom",
|
|
53
|
-
* action: {
|
|
54
|
-
* "class": "3",
|
|
55
|
-
* },
|
|
56
|
-
* });
|
|
57
|
-
* // --- 4. RELATIVE POSITIONING Examples ("before" and "after") ---
|
|
58
|
-
* const ruleBeforeAnchorQos = new scm.QosPolicyRule("rule_before_anchor_qos", {
|
|
59
|
-
* name: "before-anchor-qos-rule",
|
|
60
|
-
* description: "Positioned immediately BEFORE the anchor-qos-rule.",
|
|
61
|
-
* folder: "All",
|
|
62
|
-
* position: "pre",
|
|
63
|
-
* relativePosition: "before",
|
|
64
|
-
* targetRule: anchorQosRule.id,
|
|
65
|
-
* action: {
|
|
66
|
-
* "class": "5",
|
|
67
|
-
* },
|
|
68
|
-
* });
|
|
69
|
-
* const ruleAfterAnchorQos = new scm.QosPolicyRule("rule_after_anchor_qos", {
|
|
70
|
-
* name: "after-anchor-qos-rule",
|
|
71
|
-
* description: "Positioned immediately AFTER the anchor-qos-rule.",
|
|
72
|
-
* folder: "All",
|
|
73
|
-
* position: "pre",
|
|
74
|
-
* relativePosition: "after",
|
|
75
|
-
* targetRule: anchorQosRule.id,
|
|
76
|
-
* action: {
|
|
77
|
-
* "class": "4",
|
|
78
|
-
* },
|
|
79
|
-
* });
|
|
80
|
-
* ```
|
|
81
10
|
*/
|
|
82
11
|
class QosPolicyRule extends pulumi.CustomResource {
|
|
83
12
|
/**
|
|
@@ -114,10 +43,8 @@ class QosPolicyRule extends pulumi.CustomResource {
|
|
|
114
43
|
resourceInputs["folder"] = state?.folder;
|
|
115
44
|
resourceInputs["name"] = state?.name;
|
|
116
45
|
resourceInputs["position"] = state?.position;
|
|
117
|
-
resourceInputs["relativePosition"] = state?.relativePosition;
|
|
118
46
|
resourceInputs["schedule"] = state?.schedule;
|
|
119
47
|
resourceInputs["snippet"] = state?.snippet;
|
|
120
|
-
resourceInputs["targetRule"] = state?.targetRule;
|
|
121
48
|
resourceInputs["tfid"] = state?.tfid;
|
|
122
49
|
}
|
|
123
50
|
else {
|
|
@@ -132,10 +59,8 @@ class QosPolicyRule extends pulumi.CustomResource {
|
|
|
132
59
|
resourceInputs["folder"] = args?.folder;
|
|
133
60
|
resourceInputs["name"] = args?.name;
|
|
134
61
|
resourceInputs["position"] = args?.position;
|
|
135
|
-
resourceInputs["relativePosition"] = args?.relativePosition;
|
|
136
62
|
resourceInputs["schedule"] = args?.schedule;
|
|
137
63
|
resourceInputs["snippet"] = args?.snippet;
|
|
138
|
-
resourceInputs["targetRule"] = args?.targetRule;
|
|
139
64
|
resourceInputs["tfid"] = undefined /*out*/;
|
|
140
65
|
}
|
|
141
66
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/qosPolicyRule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qosPolicyRule.js","sourceRoot":"","sources":["../qosPolicyRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"qosPolicyRule.js","sourceRoot":"","sources":["../qosPolicyRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,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
5
|
* RadiusServerProfile resource
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as scm from "@pulumi/scm";
|
|
12
|
-
*
|
|
13
|
-
* const chapRadiusProfile = new scm.RadiusServerProfile("chap_radius_profile", {
|
|
14
|
-
* name: "CHAP_only_rsp_1",
|
|
15
|
-
* folder: "All",
|
|
16
|
-
* retries: 5,
|
|
17
|
-
* timeout: 60,
|
|
18
|
-
* protocol: {
|
|
19
|
-
* cHAP: {},
|
|
20
|
-
* },
|
|
21
|
-
* servers: [{
|
|
22
|
-
* name: "Chap_Server_Primary",
|
|
23
|
-
* ipAddress: "10.1.1.10",
|
|
24
|
-
* port: 1812,
|
|
25
|
-
* secret: "-AQ==lhyuV6U/j9Trb9JL9L0UoBecg9Y=kTOWntGhZ1KFyLD+etKQ3g==",
|
|
26
|
-
* }],
|
|
27
|
-
* });
|
|
28
|
-
* const papRadiusProfile = new scm.RadiusServerProfile("pap_radius_profile", {
|
|
29
|
-
* name: "pap_only_rsp_1",
|
|
30
|
-
* folder: "All",
|
|
31
|
-
* retries: 5,
|
|
32
|
-
* timeout: 60,
|
|
33
|
-
* protocol: {
|
|
34
|
-
* pAP: {},
|
|
35
|
-
* },
|
|
36
|
-
* servers: [{
|
|
37
|
-
* name: "pap_Server_Primary",
|
|
38
|
-
* ipAddress: "10.1.1.10",
|
|
39
|
-
* port: 1812,
|
|
40
|
-
* secret: "-AQ==lhyuV6U/j9Trb9JL9L0UoBecg9Y=kTOWntGhZ1KFyLD+etKQ3g==",
|
|
41
|
-
* }],
|
|
42
|
-
* });
|
|
43
|
-
* ```
|
|
44
6
|
*/
|
|
45
7
|
export declare class RadiusServerProfile extends pulumi.CustomResource {
|
|
46
8
|
/**
|
package/radiusServerProfile.js
CHANGED
|
@@ -7,44 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* RadiusServerProfile resource
|
|
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_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 papRadiusProfile = new scm.RadiusServerProfile("pap_radius_profile", {
|
|
33
|
-
* name: "pap_only_rsp_1",
|
|
34
|
-
* folder: "All",
|
|
35
|
-
* retries: 5,
|
|
36
|
-
* timeout: 60,
|
|
37
|
-
* protocol: {
|
|
38
|
-
* pAP: {},
|
|
39
|
-
* },
|
|
40
|
-
* servers: [{
|
|
41
|
-
* name: "pap_Server_Primary",
|
|
42
|
-
* ipAddress: "10.1.1.10",
|
|
43
|
-
* port: 1812,
|
|
44
|
-
* secret: "-AQ==lhyuV6U/j9Trb9JL9L0UoBecg9Y=kTOWntGhZ1KFyLD+etKQ3g==",
|
|
45
|
-
* }],
|
|
46
|
-
* });
|
|
47
|
-
* ```
|
|
48
10
|
*/
|
|
49
11
|
class RadiusServerProfile extends pulumi.CustomResource {
|
|
50
12
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radiusServerProfile.js","sourceRoot":"","sources":["../radiusServerProfile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"radiusServerProfile.js","sourceRoot":"","sources":["../radiusServerProfile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IA4CD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C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AC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAxGL,kDAyGC;AA3FG,gBAAgB;AACO,gCAAY,GAAG,mDAAmD,CAAC"}
|
package/remoteNetwork.d.ts
CHANGED
|
@@ -5,87 +5,6 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* RemoteNetwork resource
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as scm from "@pulumi/scm";
|
|
12
|
-
*
|
|
13
|
-
* // --- DEPENDENCY 1: IKE Crypto Profile ---
|
|
14
|
-
* // This profile defines the encryption and authentication algorithms for the IKE Gateway.
|
|
15
|
-
* // The values are taken from the 'createTestIKECryptoProfile' helper function.
|
|
16
|
-
* const example = new scm.IkeCryptoProfile("example", {
|
|
17
|
-
* name: "example-ike-crypto-prf-for-rn",
|
|
18
|
-
* folder: "Remote Networks",
|
|
19
|
-
* hashes: ["sha256"],
|
|
20
|
-
* dhGroups: ["group14"],
|
|
21
|
-
* encryptions: ["aes-256-cbc"],
|
|
22
|
-
* });
|
|
23
|
-
* // --- DEPENDENCY 2: IKE Gateway ---
|
|
24
|
-
* // This defines the VPN peer. It depends on the IKE Crypto Profile created above.
|
|
25
|
-
* // The values are taken from the 'createTestIKEGateway' helper function.
|
|
26
|
-
* const exampleIkeGateway = new scm.IkeGateway("example", {
|
|
27
|
-
* name: "example-ike-gateway-for-rn",
|
|
28
|
-
* folder: "Remote Networks",
|
|
29
|
-
* authentication: {
|
|
30
|
-
* preSharedKey: {
|
|
31
|
-
* key: "secret",
|
|
32
|
-
* },
|
|
33
|
-
* },
|
|
34
|
-
* peerAddress: {
|
|
35
|
-
* ip: "1.1.1.1",
|
|
36
|
-
* },
|
|
37
|
-
* protocol: {
|
|
38
|
-
* ikev1: {
|
|
39
|
-
* ikeCryptoProfile: example.name,
|
|
40
|
-
* },
|
|
41
|
-
* },
|
|
42
|
-
* }, {
|
|
43
|
-
* dependsOn: [example],
|
|
44
|
-
* });
|
|
45
|
-
* // --- DEPENDENCY 3: IPsec Tunnel ---
|
|
46
|
-
* // This defines the tunnel interface itself and uses the IKE Gateway.
|
|
47
|
-
* // The values are taken from the 'createTestIPsecTunnel' helper function.
|
|
48
|
-
* const exampleIpsecTunnel = new scm.IpsecTunnel("example", {
|
|
49
|
-
* name: "example-ipsec-tunnel-for-rn",
|
|
50
|
-
* folder: "Remote Networks",
|
|
51
|
-
* antiReplay: true,
|
|
52
|
-
* copyTos: false,
|
|
53
|
-
* enableGreEncapsulation: false,
|
|
54
|
-
* autoKey: {
|
|
55
|
-
* ikeGateways: [{
|
|
56
|
-
* name: exampleIkeGateway.name,
|
|
57
|
-
* }],
|
|
58
|
-
* ipsecCryptoProfile: "PaloAlto-Networks-IPSec-Crypto",
|
|
59
|
-
* },
|
|
60
|
-
* }, {
|
|
61
|
-
* dependsOn: [exampleIkeGateway],
|
|
62
|
-
* });
|
|
63
|
-
* // --- MAIN RESOURCE: Remote Network ---
|
|
64
|
-
* // This is the final resource, which uses the IPsec Tunnel created above.
|
|
65
|
-
* // The values are taken directly from the 'Test_deployment_services_RemoteNetworksAPIService_Create' test.
|
|
66
|
-
* const exampleRemoteNetwork = new scm.RemoteNetwork("example", {
|
|
67
|
-
* name: "example-remote-network",
|
|
68
|
-
* folder: "Remote Networks",
|
|
69
|
-
* licenseType: "FWAAS-AGGREGATE",
|
|
70
|
-
* region: "us-west-2",
|
|
71
|
-
* spnName: "us-west-dakota",
|
|
72
|
-
* subnets: ["192.168.1.0/24"],
|
|
73
|
-
* ipsecTunnel: exampleIpsecTunnel.name,
|
|
74
|
-
* protocol: {
|
|
75
|
-
* bgp: {
|
|
76
|
-
* enable: true,
|
|
77
|
-
* peerAs: "65000",
|
|
78
|
-
* localIpAddress: "169.254.1.1",
|
|
79
|
-
* peerIpAddress: "169.254.1.2",
|
|
80
|
-
* doNotExportRoutes: false,
|
|
81
|
-
* originateDefaultRoute: false,
|
|
82
|
-
* summarizeMobileUserRoutes: false,
|
|
83
|
-
* },
|
|
84
|
-
* },
|
|
85
|
-
* }, {
|
|
86
|
-
* dependsOn: [exampleIpsecTunnel],
|
|
87
|
-
* });
|
|
88
|
-
* ```
|
|
89
8
|
*/
|
|
90
9
|
export declare class RemoteNetwork extends pulumi.CustomResource {
|
|
91
10
|
/**
|