@pulumi/f5bigip 3.4.1
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/LICENSE +202 -0
- package/README.md +60 -0
- package/as3.d.ts +575 -0
- package/as3.js +524 -0
- package/as3.js.map +1 -0
- package/bigIqAs3.d.ts +153 -0
- package/bigIqAs3.js +97 -0
- package/bigIqAs3.js.map +1 -0
- package/cm/device.d.ts +102 -0
- package/cm/device.js +80 -0
- package/cm/device.js.map +1 -0
- package/cm/deviceGroup.d.ts +182 -0
- package/cm/deviceGroup.js +93 -0
- package/cm/deviceGroup.js.map +1 -0
- package/cm/index.d.ts +2 -0
- package/cm/index.js +31 -0
- package/cm/index.js.map +1 -0
- package/command.d.ts +80 -0
- package/command.js +74 -0
- package/command.js.map +1 -0
- package/commonLicenseManageBigIq.d.ts +291 -0
- package/commonLicenseManageBigIq.js +158 -0
- package/commonLicenseManageBigIq.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +10 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +32 -0
- package/config/vars.js +39 -0
- package/config/vars.js.map +1 -0
- package/do.d.ts +95 -0
- package/do.js +74 -0
- package/do.js.map +1 -0
- package/eventServiceDiscovery.d.ts +61 -0
- package/eventServiceDiscovery.js +55 -0
- package/eventServiceDiscovery.js.map +1 -0
- package/fastApplication.d.ts +92 -0
- package/fastApplication.js +75 -0
- package/fastApplication.js.map +1 -0
- package/fastTemplate.d.ts +76 -0
- package/fastTemplate.js +64 -0
- package/fastTemplate.js.map +1 -0
- package/index.d.ts +21 -0
- package/index.js +107 -0
- package/index.js.map +1 -0
- package/ipsecPolicy.d.ts +214 -0
- package/ipsecPolicy.js +100 -0
- package/ipsecPolicy.js.map +1 -0
- package/ltm/dataGroup.d.ts +100 -0
- package/ltm/dataGroup.js +87 -0
- package/ltm/dataGroup.js.map +1 -0
- package/ltm/getDataGroup.d.ts +58 -0
- package/ltm/getDataGroup.js +37 -0
- package/ltm/getDataGroup.js.map +1 -0
- package/ltm/getIrule.d.ts +53 -0
- package/ltm/getIrule.js +37 -0
- package/ltm/getIrule.js.map +1 -0
- package/ltm/getMonitor.d.ts +81 -0
- package/ltm/getMonitor.js +35 -0
- package/ltm/getMonitor.js.map +1 -0
- package/ltm/getNode.d.ts +81 -0
- package/ltm/getNode.js +27 -0
- package/ltm/getNode.js.map +1 -0
- package/ltm/getPool.d.ts +45 -0
- package/ltm/getPool.js +35 -0
- package/ltm/getPool.js.map +1 -0
- package/ltm/index.d.ts +30 -0
- package/ltm/index.js +151 -0
- package/ltm/index.js.map +1 -0
- package/ltm/irule.d.ts +65 -0
- package/ltm/irule.js +63 -0
- package/ltm/irule.js.map +1 -0
- package/ltm/monitor.d.ts +341 -0
- package/ltm/monitor.js +139 -0
- package/ltm/monitor.js.map +1 -0
- package/ltm/node.d.ts +186 -0
- package/ltm/node.js +102 -0
- package/ltm/node.js.map +1 -0
- package/ltm/persistenceProfileCookie.d.ts +309 -0
- package/ltm/persistenceProfileCookie.js +153 -0
- package/ltm/persistenceProfileCookie.js.map +1 -0
- package/ltm/persistenceProfileDstAddr.d.ts +206 -0
- package/ltm/persistenceProfileDstAddr.js +117 -0
- package/ltm/persistenceProfileDstAddr.js.map +1 -0
- package/ltm/persistenceProfileSrcAddr.d.ts +225 -0
- package/ltm/persistenceProfileSrcAddr.js +126 -0
- package/ltm/persistenceProfileSrcAddr.js.map +1 -0
- package/ltm/persistenceProfileSsl.d.ts +177 -0
- package/ltm/persistenceProfileSsl.js +111 -0
- package/ltm/persistenceProfileSsl.js.map +1 -0
- package/ltm/policy.d.ts +143 -0
- package/ltm/policy.js +97 -0
- package/ltm/policy.js.map +1 -0
- package/ltm/pool.d.ts +179 -0
- package/ltm/pool.js +94 -0
- package/ltm/pool.js.map +1 -0
- package/ltm/poolAttachment.d.ts +197 -0
- package/ltm/poolAttachment.js +135 -0
- package/ltm/poolAttachment.js.map +1 -0
- package/ltm/profileClientSsl.d.ts +725 -0
- package/ltm/profileClientSsl.js +180 -0
- package/ltm/profileClientSsl.js.map +1 -0
- package/ltm/profileFastHttp.d.ts +194 -0
- package/ltm/profileFastHttp.js +99 -0
- package/ltm/profileFastHttp.js.map +1 -0
- package/ltm/profileFastL4.d.ts +188 -0
- package/ltm/profileFastL4.js +103 -0
- package/ltm/profileFastL4.js.map +1 -0
- package/ltm/profileFtp.d.ts +285 -0
- package/ltm/profileFtp.js +134 -0
- package/ltm/profileFtp.js.map +1 -0
- package/ltm/profileHttp.d.ts +397 -0
- package/ltm/profileHttp.js +136 -0
- package/ltm/profileHttp.js.map +1 -0
- package/ltm/profileHttp2.d.ts +223 -0
- package/ltm/profileHttp2.js +108 -0
- package/ltm/profileHttp2.js.map +1 -0
- package/ltm/profileHttpCompress.d.ts +132 -0
- package/ltm/profileHttpCompress.js +87 -0
- package/ltm/profileHttpCompress.js.map +1 -0
- package/ltm/profileOneConnect.d.ts +180 -0
- package/ltm/profileOneConnect.js +95 -0
- package/ltm/profileOneConnect.js.map +1 -0
- package/ltm/profileServerSsl.d.ts +676 -0
- package/ltm/profileServerSsl.js +170 -0
- package/ltm/profileServerSsl.js.map +1 -0
- package/ltm/profileTcp.d.ts +179 -0
- package/ltm/profileTcp.js +94 -0
- package/ltm/profileTcp.js.map +1 -0
- package/ltm/snat.d.ts +199 -0
- package/ltm/snat.js +106 -0
- package/ltm/snat.js.map +1 -0
- package/ltm/snatPool.d.ts +80 -0
- package/ltm/snatPool.js +78 -0
- package/ltm/snatPool.js.map +1 -0
- package/ltm/virtualAddress.d.ts +149 -0
- package/ltm/virtualAddress.js +84 -0
- package/ltm/virtualAddress.js.map +1 -0
- package/ltm/virtualServer.d.ts +355 -0
- package/ltm/virtualServer.js +153 -0
- package/ltm/virtualServer.js.map +1 -0
- package/net/index.d.ts +3 -0
- package/net/index.js +36 -0
- package/net/index.js.map +1 -0
- package/net/route.d.ts +114 -0
- package/net/route.js +82 -0
- package/net/route.js.map +1 -0
- package/net/selfIp.d.ts +105 -0
- package/net/selfIp.js +86 -0
- package/net/selfIp.js.map +1 -0
- package/net/vlan.d.ts +94 -0
- package/net/vlan.js +78 -0
- package/net/vlan.js.map +1 -0
- package/netIkePeer.d.ts +460 -0
- package/netIkePeer.js +138 -0
- package/netIkePeer.js.map +1 -0
- package/netTunnel.d.ts +256 -0
- package/netTunnel.js +107 -0
- package/netTunnel.js.map +1 -0
- package/package.json +26 -0
- package/package.json.bak +25 -0
- package/package.json.dev +25 -0
- package/provider.d.ts +83 -0
- package/provider.js +53 -0
- package/provider.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +21 -0
- package/ssl/certificate.d.ts +102 -0
- package/ssl/certificate.js +80 -0
- package/ssl/certificate.js.map +1 -0
- package/ssl/getCertificate.d.ts +50 -0
- package/ssl/getCertificate.js +37 -0
- package/ssl/getCertificate.js.map +1 -0
- package/ssl/getVWanConfig.d.ts +80 -0
- package/ssl/getVWanConfig.js +50 -0
- package/ssl/getVWanConfig.js.map +1 -0
- package/ssl/index.d.ts +4 -0
- package/ssl/index.js +33 -0
- package/ssl/index.js.map +1 -0
- package/ssl/key.d.ts +102 -0
- package/ssl/key.js +80 -0
- package/ssl/key.js.map +1 -0
- package/sys/bigIpLicense.d.ts +60 -0
- package/sys/bigIpLicense.js +58 -0
- package/sys/bigIpLicense.js.map +1 -0
- package/sys/dns.d.ts +101 -0
- package/sys/dns.js +76 -0
- package/sys/dns.js.map +1 -0
- package/sys/iapp.d.ts +241 -0
- package/sys/iapp.js +118 -0
- package/sys/iapp.js.map +1 -0
- package/sys/index.d.ts +7 -0
- package/sys/index.js +56 -0
- package/sys/index.js.map +1 -0
- package/sys/ntp.d.ts +89 -0
- package/sys/ntp.js +74 -0
- package/sys/ntp.js.map +1 -0
- package/sys/provision.d.ts +126 -0
- package/sys/provision.js +81 -0
- package/sys/provision.js.map +1 -0
- package/sys/snmp.d.ts +87 -0
- package/sys/snmp.js +69 -0
- package/sys/snmp.js.map +1 -0
- package/sys/snmpTraps.d.ts +221 -0
- package/sys/snmpTraps.js +93 -0
- package/sys/snmpTraps.js.map +1 -0
- package/trafficSelector.d.ts +177 -0
- package/trafficSelector.js +95 -0
- package/trafficSelector.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +10 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +353 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +352 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +51 -0
- package/utilities.js.map +1 -0
package/netTunnel.d.ts
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* `f5bigip.NetTunnel` Manages a tunnel configuration
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as f5bigip from "@pulumi/f5bigip";
|
|
10
|
+
*
|
|
11
|
+
* const example1 = new f5bigip.NetTunnel("example1", {
|
|
12
|
+
* localAddress: "192.16.81.240",
|
|
13
|
+
* name: "example1",
|
|
14
|
+
* profile: "/Common/dslite",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare class NetTunnel extends pulumi.CustomResource {
|
|
19
|
+
/**
|
|
20
|
+
* Get an existing NetTunnel resource's state with the given name, ID, and optional extra
|
|
21
|
+
* properties used to qualify the lookup.
|
|
22
|
+
*
|
|
23
|
+
* @param name The _unique_ name of the resulting resource.
|
|
24
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
25
|
+
* @param state Any extra arguments used during the lookup.
|
|
26
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
27
|
+
*/
|
|
28
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetTunnelState, opts?: pulumi.CustomResourceOptions): NetTunnel;
|
|
29
|
+
/**
|
|
30
|
+
* Returns true if the given object is an instance of NetTunnel. This is designed to work even
|
|
31
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
32
|
+
*/
|
|
33
|
+
static isInstance(obj: any): obj is NetTunnel;
|
|
34
|
+
/**
|
|
35
|
+
* The application service that the object belongs to
|
|
36
|
+
*/
|
|
37
|
+
readonly appService: pulumi.Output<string | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Specifies whether auto lasthop is enabled or not
|
|
40
|
+
*/
|
|
41
|
+
readonly autoLastHop: pulumi.Output<string | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* User defined description
|
|
44
|
+
*/
|
|
45
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Specifies an idle timeout for wildcard tunnels in seconds
|
|
48
|
+
*/
|
|
49
|
+
readonly idleTimeout: pulumi.Output<number | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* The key field may represent different values depending on the type of the tunnel
|
|
52
|
+
*/
|
|
53
|
+
readonly key: pulumi.Output<number | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* Specifies a local IP address. This option is required
|
|
56
|
+
*/
|
|
57
|
+
readonly localAddress: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies how the tunnel carries traffic
|
|
60
|
+
*/
|
|
61
|
+
readonly mode: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* Specifies the maximum transmission unit (MTU) of the tunnel
|
|
64
|
+
*/
|
|
65
|
+
readonly mtu: pulumi.Output<number | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Name of the tunnel
|
|
68
|
+
*/
|
|
69
|
+
readonly name: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Displays the admin-partition within which this component resides
|
|
72
|
+
*/
|
|
73
|
+
readonly partition: pulumi.Output<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* Specifies the profile that you want to associate with the tunnel
|
|
76
|
+
*/
|
|
77
|
+
readonly profile: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Specifies a remote IP address
|
|
80
|
+
*/
|
|
81
|
+
readonly remoteAddress: pulumi.Output<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* Specifies a secondary non-floating IP address when the local-address is set to a floating address
|
|
84
|
+
*/
|
|
85
|
+
readonly secondaryAddress: pulumi.Output<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* Specifies a value for insertion into the Type of Service (ToS) octet within the IP header of the encapsulating header of transmitted packets
|
|
88
|
+
*/
|
|
89
|
+
readonly tos: pulumi.Output<string | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* Specifies a traffic-group for use with the tunnel
|
|
92
|
+
*/
|
|
93
|
+
readonly trafficGroup: pulumi.Output<string | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* Enables or disables the tunnel to be transparent
|
|
96
|
+
*/
|
|
97
|
+
readonly transparent: pulumi.Output<string | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* Enables or disables the tunnel to use the PMTU (Path MTU) information provided by ICMP NeedFrag error messages
|
|
100
|
+
*/
|
|
101
|
+
readonly usePmtu: pulumi.Output<string | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* Create a NetTunnel resource with the given unique name, arguments, and options.
|
|
104
|
+
*
|
|
105
|
+
* @param name The _unique_ name of the resource.
|
|
106
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
107
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
108
|
+
*/
|
|
109
|
+
constructor(name: string, args: NetTunnelArgs, opts?: pulumi.CustomResourceOptions);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Input properties used for looking up and filtering NetTunnel resources.
|
|
113
|
+
*/
|
|
114
|
+
export interface NetTunnelState {
|
|
115
|
+
/**
|
|
116
|
+
* The application service that the object belongs to
|
|
117
|
+
*/
|
|
118
|
+
appService?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Specifies whether auto lasthop is enabled or not
|
|
121
|
+
*/
|
|
122
|
+
autoLastHop?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* User defined description
|
|
125
|
+
*/
|
|
126
|
+
description?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Specifies an idle timeout for wildcard tunnels in seconds
|
|
129
|
+
*/
|
|
130
|
+
idleTimeout?: pulumi.Input<number>;
|
|
131
|
+
/**
|
|
132
|
+
* The key field may represent different values depending on the type of the tunnel
|
|
133
|
+
*/
|
|
134
|
+
key?: pulumi.Input<number>;
|
|
135
|
+
/**
|
|
136
|
+
* Specifies a local IP address. This option is required
|
|
137
|
+
*/
|
|
138
|
+
localAddress?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Specifies how the tunnel carries traffic
|
|
141
|
+
*/
|
|
142
|
+
mode?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Specifies the maximum transmission unit (MTU) of the tunnel
|
|
145
|
+
*/
|
|
146
|
+
mtu?: pulumi.Input<number>;
|
|
147
|
+
/**
|
|
148
|
+
* Name of the tunnel
|
|
149
|
+
*/
|
|
150
|
+
name?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Displays the admin-partition within which this component resides
|
|
153
|
+
*/
|
|
154
|
+
partition?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Specifies the profile that you want to associate with the tunnel
|
|
157
|
+
*/
|
|
158
|
+
profile?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Specifies a remote IP address
|
|
161
|
+
*/
|
|
162
|
+
remoteAddress?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Specifies a secondary non-floating IP address when the local-address is set to a floating address
|
|
165
|
+
*/
|
|
166
|
+
secondaryAddress?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Specifies a value for insertion into the Type of Service (ToS) octet within the IP header of the encapsulating header of transmitted packets
|
|
169
|
+
*/
|
|
170
|
+
tos?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* Specifies a traffic-group for use with the tunnel
|
|
173
|
+
*/
|
|
174
|
+
trafficGroup?: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Enables or disables the tunnel to be transparent
|
|
177
|
+
*/
|
|
178
|
+
transparent?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* Enables or disables the tunnel to use the PMTU (Path MTU) information provided by ICMP NeedFrag error messages
|
|
181
|
+
*/
|
|
182
|
+
usePmtu?: pulumi.Input<string>;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* The set of arguments for constructing a NetTunnel resource.
|
|
186
|
+
*/
|
|
187
|
+
export interface NetTunnelArgs {
|
|
188
|
+
/**
|
|
189
|
+
* The application service that the object belongs to
|
|
190
|
+
*/
|
|
191
|
+
appService?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Specifies whether auto lasthop is enabled or not
|
|
194
|
+
*/
|
|
195
|
+
autoLastHop?: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* User defined description
|
|
198
|
+
*/
|
|
199
|
+
description?: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* Specifies an idle timeout for wildcard tunnels in seconds
|
|
202
|
+
*/
|
|
203
|
+
idleTimeout?: pulumi.Input<number>;
|
|
204
|
+
/**
|
|
205
|
+
* The key field may represent different values depending on the type of the tunnel
|
|
206
|
+
*/
|
|
207
|
+
key?: pulumi.Input<number>;
|
|
208
|
+
/**
|
|
209
|
+
* Specifies a local IP address. This option is required
|
|
210
|
+
*/
|
|
211
|
+
localAddress: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* Specifies how the tunnel carries traffic
|
|
214
|
+
*/
|
|
215
|
+
mode?: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* Specifies the maximum transmission unit (MTU) of the tunnel
|
|
218
|
+
*/
|
|
219
|
+
mtu?: pulumi.Input<number>;
|
|
220
|
+
/**
|
|
221
|
+
* Name of the tunnel
|
|
222
|
+
*/
|
|
223
|
+
name: pulumi.Input<string>;
|
|
224
|
+
/**
|
|
225
|
+
* Displays the admin-partition within which this component resides
|
|
226
|
+
*/
|
|
227
|
+
partition?: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* Specifies the profile that you want to associate with the tunnel
|
|
230
|
+
*/
|
|
231
|
+
profile: pulumi.Input<string>;
|
|
232
|
+
/**
|
|
233
|
+
* Specifies a remote IP address
|
|
234
|
+
*/
|
|
235
|
+
remoteAddress?: pulumi.Input<string>;
|
|
236
|
+
/**
|
|
237
|
+
* Specifies a secondary non-floating IP address when the local-address is set to a floating address
|
|
238
|
+
*/
|
|
239
|
+
secondaryAddress?: pulumi.Input<string>;
|
|
240
|
+
/**
|
|
241
|
+
* Specifies a value for insertion into the Type of Service (ToS) octet within the IP header of the encapsulating header of transmitted packets
|
|
242
|
+
*/
|
|
243
|
+
tos?: pulumi.Input<string>;
|
|
244
|
+
/**
|
|
245
|
+
* Specifies a traffic-group for use with the tunnel
|
|
246
|
+
*/
|
|
247
|
+
trafficGroup?: pulumi.Input<string>;
|
|
248
|
+
/**
|
|
249
|
+
* Enables or disables the tunnel to be transparent
|
|
250
|
+
*/
|
|
251
|
+
transparent?: pulumi.Input<string>;
|
|
252
|
+
/**
|
|
253
|
+
* Enables or disables the tunnel to use the PMTU (Path MTU) information provided by ICMP NeedFrag error messages
|
|
254
|
+
*/
|
|
255
|
+
usePmtu?: pulumi.Input<string>;
|
|
256
|
+
}
|
package/netTunnel.js
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("./utilities");
|
|
7
|
+
/**
|
|
8
|
+
* `f5bigip.NetTunnel` Manages a tunnel configuration
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as f5bigip from "@pulumi/f5bigip";
|
|
15
|
+
*
|
|
16
|
+
* const example1 = new f5bigip.NetTunnel("example1", {
|
|
17
|
+
* localAddress: "192.16.81.240",
|
|
18
|
+
* name: "example1",
|
|
19
|
+
* profile: "/Common/dslite",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
class NetTunnel extends pulumi.CustomResource {
|
|
24
|
+
constructor(name, argsOrState, opts) {
|
|
25
|
+
let inputs = {};
|
|
26
|
+
opts = opts || {};
|
|
27
|
+
if (opts.id) {
|
|
28
|
+
const state = argsOrState;
|
|
29
|
+
inputs["appService"] = state ? state.appService : undefined;
|
|
30
|
+
inputs["autoLastHop"] = state ? state.autoLastHop : undefined;
|
|
31
|
+
inputs["description"] = state ? state.description : undefined;
|
|
32
|
+
inputs["idleTimeout"] = state ? state.idleTimeout : undefined;
|
|
33
|
+
inputs["key"] = state ? state.key : undefined;
|
|
34
|
+
inputs["localAddress"] = state ? state.localAddress : undefined;
|
|
35
|
+
inputs["mode"] = state ? state.mode : undefined;
|
|
36
|
+
inputs["mtu"] = state ? state.mtu : undefined;
|
|
37
|
+
inputs["name"] = state ? state.name : undefined;
|
|
38
|
+
inputs["partition"] = state ? state.partition : undefined;
|
|
39
|
+
inputs["profile"] = state ? state.profile : undefined;
|
|
40
|
+
inputs["remoteAddress"] = state ? state.remoteAddress : undefined;
|
|
41
|
+
inputs["secondaryAddress"] = state ? state.secondaryAddress : undefined;
|
|
42
|
+
inputs["tos"] = state ? state.tos : undefined;
|
|
43
|
+
inputs["trafficGroup"] = state ? state.trafficGroup : undefined;
|
|
44
|
+
inputs["transparent"] = state ? state.transparent : undefined;
|
|
45
|
+
inputs["usePmtu"] = state ? state.usePmtu : undefined;
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
const args = argsOrState;
|
|
49
|
+
if ((!args || args.localAddress === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'localAddress'");
|
|
51
|
+
}
|
|
52
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'name'");
|
|
54
|
+
}
|
|
55
|
+
if ((!args || args.profile === undefined) && !opts.urn) {
|
|
56
|
+
throw new Error("Missing required property 'profile'");
|
|
57
|
+
}
|
|
58
|
+
inputs["appService"] = args ? args.appService : undefined;
|
|
59
|
+
inputs["autoLastHop"] = args ? args.autoLastHop : undefined;
|
|
60
|
+
inputs["description"] = args ? args.description : undefined;
|
|
61
|
+
inputs["idleTimeout"] = args ? args.idleTimeout : undefined;
|
|
62
|
+
inputs["key"] = args ? args.key : undefined;
|
|
63
|
+
inputs["localAddress"] = args ? args.localAddress : undefined;
|
|
64
|
+
inputs["mode"] = args ? args.mode : undefined;
|
|
65
|
+
inputs["mtu"] = args ? args.mtu : undefined;
|
|
66
|
+
inputs["name"] = args ? args.name : undefined;
|
|
67
|
+
inputs["partition"] = args ? args.partition : undefined;
|
|
68
|
+
inputs["profile"] = args ? args.profile : undefined;
|
|
69
|
+
inputs["remoteAddress"] = args ? args.remoteAddress : undefined;
|
|
70
|
+
inputs["secondaryAddress"] = args ? args.secondaryAddress : undefined;
|
|
71
|
+
inputs["tos"] = args ? args.tos : undefined;
|
|
72
|
+
inputs["trafficGroup"] = args ? args.trafficGroup : undefined;
|
|
73
|
+
inputs["transparent"] = args ? args.transparent : undefined;
|
|
74
|
+
inputs["usePmtu"] = args ? args.usePmtu : undefined;
|
|
75
|
+
}
|
|
76
|
+
if (!opts.version) {
|
|
77
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
78
|
+
}
|
|
79
|
+
super(NetTunnel.__pulumiType, name, inputs, opts);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Get an existing NetTunnel resource's state with the given name, ID, and optional extra
|
|
83
|
+
* properties used to qualify the lookup.
|
|
84
|
+
*
|
|
85
|
+
* @param name The _unique_ name of the resulting resource.
|
|
86
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
87
|
+
* @param state Any extra arguments used during the lookup.
|
|
88
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
89
|
+
*/
|
|
90
|
+
static get(name, id, state, opts) {
|
|
91
|
+
return new NetTunnel(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Returns true if the given object is an instance of NetTunnel. This is designed to work even
|
|
95
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
96
|
+
*/
|
|
97
|
+
static isInstance(obj) {
|
|
98
|
+
if (obj === undefined || obj === null) {
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
return obj['__pulumiType'] === NetTunnel.__pulumiType;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.NetTunnel = NetTunnel;
|
|
105
|
+
/** @internal */
|
|
106
|
+
NetTunnel.__pulumiType = 'f5bigip:index/netTunnel:NetTunnel';
|
|
107
|
+
//# sourceMappingURL=netTunnel.js.map
|
package/netTunnel.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"netTunnel.js","sourceRoot":"","sources":["../netTunnel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAyGhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,MAAM,G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AG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BAiKC;AAnJG,gBAAgB;AACO,sBAAY,GAAG,mCAAmC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pulumi/f5bigip",
|
|
3
|
+
"version": "v3.4.1",
|
|
4
|
+
"description": "A Pulumi package for creating and managing F5 BigIP resources.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pulumi",
|
|
7
|
+
"f5",
|
|
8
|
+
"bigip"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://pulumi.io",
|
|
11
|
+
"repository": "https://github.com/pulumi/pulumi-f5bigip",
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsc",
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource f5bigip v3.4.1"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@pulumi/pulumi": "^3.0.0"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@types/node": "^10.0.0"
|
|
22
|
+
},
|
|
23
|
+
"pulumi": {
|
|
24
|
+
"resource": true
|
|
25
|
+
}
|
|
26
|
+
}
|
package/package.json.bak
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pulumi/f5bigip",
|
|
3
|
+
"version": "${VERSION}",
|
|
4
|
+
"description": "A Pulumi package for creating and managing F5 BigIP resources.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pulumi",
|
|
7
|
+
"f5",
|
|
8
|
+
"bigip"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://pulumi.io",
|
|
11
|
+
"repository": "https://github.com/pulumi/pulumi-f5bigip",
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsc"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@pulumi/pulumi": "^3.0.0"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@types/node": "^10.0.0"
|
|
21
|
+
},
|
|
22
|
+
"pulumi": {
|
|
23
|
+
"resource": true
|
|
24
|
+
}
|
|
25
|
+
}
|
package/package.json.dev
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pulumi/f5bigip",
|
|
3
|
+
"version": "v3.4.1",
|
|
4
|
+
"description": "A Pulumi package for creating and managing F5 BigIP resources.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pulumi",
|
|
7
|
+
"f5",
|
|
8
|
+
"bigip"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://pulumi.io",
|
|
11
|
+
"repository": "https://github.com/pulumi/pulumi-f5bigip",
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsc"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@pulumi/pulumi": "^3.0.0"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@types/node": "^10.0.0"
|
|
21
|
+
},
|
|
22
|
+
"pulumi": {
|
|
23
|
+
"resource": true
|
|
24
|
+
}
|
|
25
|
+
}
|
package/provider.d.ts
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The provider type for the bigip package. By default, resources use package-wide configuration
|
|
4
|
+
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
5
|
+
* construction to achieve fine-grained programmatic control over provider settings. See the
|
|
6
|
+
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Provider extends pulumi.ProviderResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
11
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
|
+
*/
|
|
13
|
+
static isInstance(obj: any): obj is Provider;
|
|
14
|
+
/**
|
|
15
|
+
* Domain name/IP of the BigIP
|
|
16
|
+
*/
|
|
17
|
+
readonly address: pulumi.Output<string | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Login reference for token authentication (see BIG-IP REST docs for details)
|
|
20
|
+
*/
|
|
21
|
+
readonly loginRef: pulumi.Output<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* The user's password. Leave empty if using token_value
|
|
24
|
+
*/
|
|
25
|
+
readonly password: pulumi.Output<string | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Management Port to connect to Bigip
|
|
28
|
+
*/
|
|
29
|
+
readonly port: pulumi.Output<string | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* A token generated outside the provider, in place of password
|
|
32
|
+
*/
|
|
33
|
+
readonly tokenValue: pulumi.Output<string | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Username with API access to the BigIP
|
|
36
|
+
*/
|
|
37
|
+
readonly username: pulumi.Output<string | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The set of arguments for constructing a Provider resource.
|
|
49
|
+
*/
|
|
50
|
+
export interface ProviderArgs {
|
|
51
|
+
/**
|
|
52
|
+
* Domain name/IP of the BigIP
|
|
53
|
+
*/
|
|
54
|
+
address?: pulumi.Input<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Login reference for token authentication (see BIG-IP REST docs for details)
|
|
57
|
+
*/
|
|
58
|
+
loginRef?: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The user's password. Leave empty if using token_value
|
|
61
|
+
*/
|
|
62
|
+
password?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Management Port to connect to Bigip
|
|
65
|
+
*/
|
|
66
|
+
port?: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* If this flag set to true,sending telemetry data to TEEM will be disabled
|
|
69
|
+
*/
|
|
70
|
+
teemDisable?: pulumi.Input<boolean>;
|
|
71
|
+
/**
|
|
72
|
+
* Enable to use an external authentication source (LDAP, TACACS, etc)
|
|
73
|
+
*/
|
|
74
|
+
tokenAuth?: pulumi.Input<boolean>;
|
|
75
|
+
/**
|
|
76
|
+
* A token generated outside the provider, in place of password
|
|
77
|
+
*/
|
|
78
|
+
tokenValue?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Username with API access to the BigIP
|
|
81
|
+
*/
|
|
82
|
+
username?: pulumi.Input<string>;
|
|
83
|
+
}
|
package/provider.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("./utilities");
|
|
7
|
+
/**
|
|
8
|
+
* The provider type for the bigip package. By default, resources use package-wide configuration
|
|
9
|
+
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
10
|
+
* construction to achieve fine-grained programmatic control over provider settings. See the
|
|
11
|
+
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
12
|
+
*/
|
|
13
|
+
class Provider extends pulumi.ProviderResource {
|
|
14
|
+
/**
|
|
15
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resource.
|
|
18
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
19
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
20
|
+
*/
|
|
21
|
+
constructor(name, args, opts) {
|
|
22
|
+
let inputs = {};
|
|
23
|
+
opts = opts || {};
|
|
24
|
+
{
|
|
25
|
+
inputs["address"] = args ? args.address : undefined;
|
|
26
|
+
inputs["loginRef"] = args ? args.loginRef : undefined;
|
|
27
|
+
inputs["password"] = args ? args.password : undefined;
|
|
28
|
+
inputs["port"] = args ? args.port : undefined;
|
|
29
|
+
inputs["teemDisable"] = pulumi.output(args ? args.teemDisable : undefined).apply(JSON.stringify);
|
|
30
|
+
inputs["tokenAuth"] = pulumi.output(args ? args.tokenAuth : undefined).apply(JSON.stringify);
|
|
31
|
+
inputs["tokenValue"] = args ? args.tokenValue : undefined;
|
|
32
|
+
inputs["username"] = args ? args.username : undefined;
|
|
33
|
+
}
|
|
34
|
+
if (!opts.version) {
|
|
35
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
36
|
+
}
|
|
37
|
+
super(Provider.__pulumiType, name, inputs, opts);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj) {
|
|
44
|
+
if (obj === undefined || obj === null) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
return obj['__pulumiType'] === Provider.__pulumiType;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.Provider = Provider;
|
|
51
|
+
/** @internal */
|
|
52
|
+
Provider.__pulumiType = 'f5bigip';
|
|
53
|
+
//# sourceMappingURL=provider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C,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;IA5DD;;;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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAbL,4BAiEC;AAhEG,gBAAgB;AACO,qBAAY,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var childProcess = require("child_process");
|
|
3
|
+
|
|
4
|
+
var args = process.argv.slice(2);
|
|
5
|
+
var res = childProcess.spawnSync("pulumi", ["plugin", "install"].concat(args), {
|
|
6
|
+
stdio: ["ignore", "inherit", "inherit"]
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
if (res.error && res.error.code === "ENOENT") {
|
|
10
|
+
console.error("\nThere was an error installing the resource provider plugin. " +
|
|
11
|
+
"It looks like `pulumi` is not installed on your system. " +
|
|
12
|
+
"Please visit https://pulumi.com/ to install the Pulumi CLI.\n" +
|
|
13
|
+
"You may try manually installing the plugin by running " +
|
|
14
|
+
"`pulumi plugin install " + args.join(" ") + "`");
|
|
15
|
+
} else if (res.error || res.status !== 0) {
|
|
16
|
+
console.error("\nThere was an error installing the resource provider plugin. " +
|
|
17
|
+
"You may try to manually installing the plugin by running " +
|
|
18
|
+
"`pulumi plugin install " + args.join(" ") + "`");
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
process.exit(0);
|