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