@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/as3.js
ADDED
|
@@ -0,0 +1,524 @@
|
|
|
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.As3` provides details about bigip as3 resource
|
|
9
|
+
*
|
|
10
|
+
* This resource is helpful to configure as3 declarative JSON on BIG-IP.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as f5bigip from "@pulumi/f5bigip";
|
|
17
|
+
* import * from "fs";
|
|
18
|
+
*
|
|
19
|
+
* // Example Usage for json file
|
|
20
|
+
* const as3_example1As3 = new f5bigip.As3("as3-example1As3", {as3Json: fs.readFileSync("example1.json")});
|
|
21
|
+
* // Example Usage for json file with tenant filter
|
|
22
|
+
* const as3_example1Index_as3As3 = new f5bigip.As3("as3-example1Index/as3As3", {
|
|
23
|
+
* as3Json: fs.readFileSync("example2.json"),
|
|
24
|
+
* tenantFilter: "Sample_03",
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* As3 resources can be imported using the partition name, e.g., ( use comma separated partition names if there are multiple partitions in as3 deployments )
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import f5bigip:index/as3:As3 bigip_as3.test Sample_http_01
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import f5bigip:index/as3:As3 bigip_as3.test Sample_http_01,Sample_non_http_01
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* #### Import examples ( single and multiple partitions )
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import f5bigip:index/as3:As3 test Sample_http_01
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* bigip_as3.testImporting from ID "Sample_http_01"... bigip_as3.testImport prepared!
|
|
47
|
+
*
|
|
48
|
+
* Prepared bigip_as3 for import bigip_as3.testRefreshing state... [id=Sample_http_01] Import successful! The resources that were imported are shown above. These resources are now in your Terraform state and will henceforth be managed by Terraform. $ terraform show # bigip_as3.testresource "bigip_as3" "test" {
|
|
49
|
+
*
|
|
50
|
+
* as3_json
|
|
51
|
+
*
|
|
52
|
+
* = jsonencode(
|
|
53
|
+
*
|
|
54
|
+
* {
|
|
55
|
+
*
|
|
56
|
+
* action
|
|
57
|
+
*
|
|
58
|
+
* = "deploy"
|
|
59
|
+
*
|
|
60
|
+
* class
|
|
61
|
+
*
|
|
62
|
+
* = "AS3"
|
|
63
|
+
*
|
|
64
|
+
* declaration = {
|
|
65
|
+
*
|
|
66
|
+
* Sample_http_01 = {
|
|
67
|
+
*
|
|
68
|
+
* A1
|
|
69
|
+
*
|
|
70
|
+
* = {
|
|
71
|
+
*
|
|
72
|
+
* class
|
|
73
|
+
*
|
|
74
|
+
* = "Application"
|
|
75
|
+
*
|
|
76
|
+
* jsessionid = {
|
|
77
|
+
*
|
|
78
|
+
* class
|
|
79
|
+
*
|
|
80
|
+
* = "Persist"
|
|
81
|
+
*
|
|
82
|
+
* cookieMethod
|
|
83
|
+
*
|
|
84
|
+
* = "hash"
|
|
85
|
+
*
|
|
86
|
+
* cookieName
|
|
87
|
+
*
|
|
88
|
+
* = "JSESSIONID"
|
|
89
|
+
*
|
|
90
|
+
* persistenceMethod = "cookie"
|
|
91
|
+
*
|
|
92
|
+
* }
|
|
93
|
+
*
|
|
94
|
+
* service
|
|
95
|
+
*
|
|
96
|
+
* = {
|
|
97
|
+
*
|
|
98
|
+
* class
|
|
99
|
+
*
|
|
100
|
+
* = "Service_HTTP"
|
|
101
|
+
*
|
|
102
|
+
* persistenceMethods = [
|
|
103
|
+
*
|
|
104
|
+
* {
|
|
105
|
+
*
|
|
106
|
+
* use = "jsessionid"
|
|
107
|
+
*
|
|
108
|
+
* },
|
|
109
|
+
*
|
|
110
|
+
* ]
|
|
111
|
+
*
|
|
112
|
+
* pool
|
|
113
|
+
*
|
|
114
|
+
* = "web_pool"
|
|
115
|
+
*
|
|
116
|
+
* virtualAddresses
|
|
117
|
+
*
|
|
118
|
+
* = [
|
|
119
|
+
*
|
|
120
|
+
* "10.0.2.10",
|
|
121
|
+
*
|
|
122
|
+
* ]
|
|
123
|
+
*
|
|
124
|
+
* }
|
|
125
|
+
*
|
|
126
|
+
* web_pool
|
|
127
|
+
*
|
|
128
|
+
* = {
|
|
129
|
+
*
|
|
130
|
+
* class
|
|
131
|
+
*
|
|
132
|
+
* = "Pool"
|
|
133
|
+
*
|
|
134
|
+
* members
|
|
135
|
+
*
|
|
136
|
+
* = [
|
|
137
|
+
*
|
|
138
|
+
* {
|
|
139
|
+
*
|
|
140
|
+
* serverAddresses = [
|
|
141
|
+
*
|
|
142
|
+
* "192.0.2.10",
|
|
143
|
+
*
|
|
144
|
+
* "192.0.2.11",
|
|
145
|
+
*
|
|
146
|
+
* ]
|
|
147
|
+
*
|
|
148
|
+
* servicePort
|
|
149
|
+
*
|
|
150
|
+
* = 80
|
|
151
|
+
*
|
|
152
|
+
* },
|
|
153
|
+
*
|
|
154
|
+
* ]
|
|
155
|
+
*
|
|
156
|
+
* monitors = [
|
|
157
|
+
*
|
|
158
|
+
* "http",
|
|
159
|
+
*
|
|
160
|
+
* ]
|
|
161
|
+
*
|
|
162
|
+
* }
|
|
163
|
+
*
|
|
164
|
+
* }
|
|
165
|
+
*
|
|
166
|
+
* class = "Tenant"
|
|
167
|
+
*
|
|
168
|
+
* }
|
|
169
|
+
*
|
|
170
|
+
* class
|
|
171
|
+
*
|
|
172
|
+
* = "ADC"
|
|
173
|
+
*
|
|
174
|
+
* id
|
|
175
|
+
*
|
|
176
|
+
* = "UDP_DNS_Sample"
|
|
177
|
+
*
|
|
178
|
+
* label
|
|
179
|
+
*
|
|
180
|
+
* = "UDP_DNS_Sample"
|
|
181
|
+
*
|
|
182
|
+
* remark
|
|
183
|
+
*
|
|
184
|
+
* = "Sample of a UDP DNS Load Balancer Service"
|
|
185
|
+
*
|
|
186
|
+
* schemaVersion
|
|
187
|
+
*
|
|
188
|
+
* = "3.0.0"
|
|
189
|
+
*
|
|
190
|
+
* }
|
|
191
|
+
*
|
|
192
|
+
* persist
|
|
193
|
+
*
|
|
194
|
+
* = true
|
|
195
|
+
*
|
|
196
|
+
* }
|
|
197
|
+
*
|
|
198
|
+
* )
|
|
199
|
+
*
|
|
200
|
+
* id
|
|
201
|
+
*
|
|
202
|
+
* = "Sample_http_01"
|
|
203
|
+
*
|
|
204
|
+
* tenant_filter = "Sample_http_01"
|
|
205
|
+
*
|
|
206
|
+
* tenant_list
|
|
207
|
+
*
|
|
208
|
+
* = "Sample_http_01" }
|
|
209
|
+
*
|
|
210
|
+
* ```sh
|
|
211
|
+
* $ pulumi import f5bigip:index/as3:As3 test Sample_http_01,Sample_non_http_01
|
|
212
|
+
* ```
|
|
213
|
+
*
|
|
214
|
+
* bigip_as3.testImporting from ID "Sample_http_01,Sample_non_http_01"... bigip_as3.testImport prepared!
|
|
215
|
+
*
|
|
216
|
+
* Prepared bigip_as3 for import bigip_as3.testRefreshing state... [id=Sample_http_01,Sample_non_http_01] Import successful! The resources that were imported are shown above. These resources are now in your Terraform state and will henceforth be managed by Terraform. $ terraform show # bigip_as3.testresource "bigip_as3" "test" {
|
|
217
|
+
*
|
|
218
|
+
* as3_json
|
|
219
|
+
*
|
|
220
|
+
* = jsonencode(
|
|
221
|
+
*
|
|
222
|
+
* {
|
|
223
|
+
*
|
|
224
|
+
* action
|
|
225
|
+
*
|
|
226
|
+
* = "deploy"
|
|
227
|
+
*
|
|
228
|
+
* class
|
|
229
|
+
*
|
|
230
|
+
* = "AS3"
|
|
231
|
+
*
|
|
232
|
+
* declaration = {
|
|
233
|
+
*
|
|
234
|
+
* Sample_http_01
|
|
235
|
+
*
|
|
236
|
+
* = {
|
|
237
|
+
*
|
|
238
|
+
* A1
|
|
239
|
+
*
|
|
240
|
+
* = {
|
|
241
|
+
*
|
|
242
|
+
* class
|
|
243
|
+
*
|
|
244
|
+
* = "Application"
|
|
245
|
+
*
|
|
246
|
+
* jsessionid = {
|
|
247
|
+
*
|
|
248
|
+
* class
|
|
249
|
+
*
|
|
250
|
+
* = "Persist"
|
|
251
|
+
*
|
|
252
|
+
* cookieMethod
|
|
253
|
+
*
|
|
254
|
+
* = "hash"
|
|
255
|
+
*
|
|
256
|
+
* cookieName
|
|
257
|
+
*
|
|
258
|
+
* = "JSESSIONID"
|
|
259
|
+
*
|
|
260
|
+
* persistenceMethod = "cookie"
|
|
261
|
+
*
|
|
262
|
+
* }
|
|
263
|
+
*
|
|
264
|
+
* service
|
|
265
|
+
*
|
|
266
|
+
* = {
|
|
267
|
+
*
|
|
268
|
+
* class
|
|
269
|
+
*
|
|
270
|
+
* = "Service_HTTP"
|
|
271
|
+
*
|
|
272
|
+
* persistenceMethods = [
|
|
273
|
+
*
|
|
274
|
+
* {
|
|
275
|
+
*
|
|
276
|
+
* use = "jsessionid"
|
|
277
|
+
*
|
|
278
|
+
* },
|
|
279
|
+
*
|
|
280
|
+
* ]
|
|
281
|
+
*
|
|
282
|
+
* pool
|
|
283
|
+
*
|
|
284
|
+
* = "web_pool"
|
|
285
|
+
*
|
|
286
|
+
* virtualAddresses
|
|
287
|
+
*
|
|
288
|
+
* = [
|
|
289
|
+
*
|
|
290
|
+
* "10.0.2.10",
|
|
291
|
+
*
|
|
292
|
+
* ]
|
|
293
|
+
*
|
|
294
|
+
* }
|
|
295
|
+
*
|
|
296
|
+
* web_pool
|
|
297
|
+
*
|
|
298
|
+
* = {
|
|
299
|
+
*
|
|
300
|
+
* class
|
|
301
|
+
*
|
|
302
|
+
* = "Pool"
|
|
303
|
+
*
|
|
304
|
+
* members
|
|
305
|
+
*
|
|
306
|
+
* = [
|
|
307
|
+
*
|
|
308
|
+
* {
|
|
309
|
+
*
|
|
310
|
+
* serverAddresses = [
|
|
311
|
+
*
|
|
312
|
+
* "192.0.2.10",
|
|
313
|
+
*
|
|
314
|
+
* "192.0.2.11",
|
|
315
|
+
*
|
|
316
|
+
* ]
|
|
317
|
+
*
|
|
318
|
+
* servicePort
|
|
319
|
+
*
|
|
320
|
+
* = 80
|
|
321
|
+
*
|
|
322
|
+
* },
|
|
323
|
+
*
|
|
324
|
+
* ]
|
|
325
|
+
*
|
|
326
|
+
* monitors = [
|
|
327
|
+
*
|
|
328
|
+
* "http",
|
|
329
|
+
*
|
|
330
|
+
* ]
|
|
331
|
+
*
|
|
332
|
+
* }
|
|
333
|
+
*
|
|
334
|
+
* }
|
|
335
|
+
*
|
|
336
|
+
* class = "Tenant"
|
|
337
|
+
*
|
|
338
|
+
* }
|
|
339
|
+
*
|
|
340
|
+
* Sample_non_http_01 = {
|
|
341
|
+
*
|
|
342
|
+
* DNS_Service = {
|
|
343
|
+
*
|
|
344
|
+
* Pool1
|
|
345
|
+
*
|
|
346
|
+
* = {
|
|
347
|
+
*
|
|
348
|
+
* class
|
|
349
|
+
*
|
|
350
|
+
* = "Pool"
|
|
351
|
+
*
|
|
352
|
+
* members
|
|
353
|
+
*
|
|
354
|
+
* = [
|
|
355
|
+
*
|
|
356
|
+
* {
|
|
357
|
+
*
|
|
358
|
+
* serverAddresses = [
|
|
359
|
+
*
|
|
360
|
+
* "10.1.10.100",
|
|
361
|
+
*
|
|
362
|
+
* ]
|
|
363
|
+
*
|
|
364
|
+
* servicePort
|
|
365
|
+
*
|
|
366
|
+
* = 53
|
|
367
|
+
*
|
|
368
|
+
* },
|
|
369
|
+
*
|
|
370
|
+
* {
|
|
371
|
+
*
|
|
372
|
+
* serverAddresses = [
|
|
373
|
+
*
|
|
374
|
+
* "10.1.10.101",
|
|
375
|
+
*
|
|
376
|
+
* ]
|
|
377
|
+
*
|
|
378
|
+
* servicePort
|
|
379
|
+
*
|
|
380
|
+
* = 53
|
|
381
|
+
*
|
|
382
|
+
* },
|
|
383
|
+
*
|
|
384
|
+
* ]
|
|
385
|
+
*
|
|
386
|
+
* monitors = [
|
|
387
|
+
*
|
|
388
|
+
* "icmp",
|
|
389
|
+
*
|
|
390
|
+
* ]
|
|
391
|
+
*
|
|
392
|
+
* }
|
|
393
|
+
*
|
|
394
|
+
* class
|
|
395
|
+
*
|
|
396
|
+
* = "Application"
|
|
397
|
+
*
|
|
398
|
+
* service = {
|
|
399
|
+
*
|
|
400
|
+
* class
|
|
401
|
+
*
|
|
402
|
+
* = "Service_UDP"
|
|
403
|
+
*
|
|
404
|
+
* pool
|
|
405
|
+
*
|
|
406
|
+
* = "Pool1"
|
|
407
|
+
*
|
|
408
|
+
* virtualAddresses = [
|
|
409
|
+
*
|
|
410
|
+
* "10.1.20.121",
|
|
411
|
+
*
|
|
412
|
+
* ]
|
|
413
|
+
*
|
|
414
|
+
* virtualPort
|
|
415
|
+
*
|
|
416
|
+
* = 53
|
|
417
|
+
*
|
|
418
|
+
* }
|
|
419
|
+
*
|
|
420
|
+
* }
|
|
421
|
+
*
|
|
422
|
+
* class
|
|
423
|
+
*
|
|
424
|
+
* = "Tenant"
|
|
425
|
+
*
|
|
426
|
+
* }
|
|
427
|
+
*
|
|
428
|
+
* class
|
|
429
|
+
*
|
|
430
|
+
* = "ADC"
|
|
431
|
+
*
|
|
432
|
+
* id
|
|
433
|
+
*
|
|
434
|
+
* = "UDP_DNS_Sample"
|
|
435
|
+
*
|
|
436
|
+
* label
|
|
437
|
+
*
|
|
438
|
+
* = "UDP_DNS_Sample"
|
|
439
|
+
*
|
|
440
|
+
* remark
|
|
441
|
+
*
|
|
442
|
+
* = "Sample of a UDP DNS Load Balancer Service"
|
|
443
|
+
*
|
|
444
|
+
* schemaVersion
|
|
445
|
+
*
|
|
446
|
+
* = "3.0.0"
|
|
447
|
+
*
|
|
448
|
+
* }
|
|
449
|
+
*
|
|
450
|
+
* persist
|
|
451
|
+
*
|
|
452
|
+
* = true
|
|
453
|
+
*
|
|
454
|
+
* }
|
|
455
|
+
*
|
|
456
|
+
* )
|
|
457
|
+
*
|
|
458
|
+
* id
|
|
459
|
+
*
|
|
460
|
+
* = "Sample_http_01,Sample_non_http_01"
|
|
461
|
+
*
|
|
462
|
+
* tenant_filter = "Sample_http_01,Sample_non_http_01"
|
|
463
|
+
*
|
|
464
|
+
* tenant_list
|
|
465
|
+
*
|
|
466
|
+
* = "Sample_http_01,Sample_non_http_01" } * `AS3 documentation` - https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/latest/userguide/composing-a-declaration.html
|
|
467
|
+
*/
|
|
468
|
+
class As3 extends pulumi.CustomResource {
|
|
469
|
+
constructor(name, argsOrState, opts) {
|
|
470
|
+
let inputs = {};
|
|
471
|
+
opts = opts || {};
|
|
472
|
+
if (opts.id) {
|
|
473
|
+
const state = argsOrState;
|
|
474
|
+
inputs["applicationList"] = state ? state.applicationList : undefined;
|
|
475
|
+
inputs["as3Json"] = state ? state.as3Json : undefined;
|
|
476
|
+
inputs["ignoreMetadata"] = state ? state.ignoreMetadata : undefined;
|
|
477
|
+
inputs["tenantFilter"] = state ? state.tenantFilter : undefined;
|
|
478
|
+
inputs["tenantList"] = state ? state.tenantList : undefined;
|
|
479
|
+
inputs["tenantName"] = state ? state.tenantName : undefined;
|
|
480
|
+
}
|
|
481
|
+
else {
|
|
482
|
+
const args = argsOrState;
|
|
483
|
+
if ((!args || args.as3Json === undefined) && !opts.urn) {
|
|
484
|
+
throw new Error("Missing required property 'as3Json'");
|
|
485
|
+
}
|
|
486
|
+
inputs["applicationList"] = args ? args.applicationList : undefined;
|
|
487
|
+
inputs["as3Json"] = args ? args.as3Json : undefined;
|
|
488
|
+
inputs["ignoreMetadata"] = args ? args.ignoreMetadata : undefined;
|
|
489
|
+
inputs["tenantFilter"] = args ? args.tenantFilter : undefined;
|
|
490
|
+
inputs["tenantList"] = args ? args.tenantList : undefined;
|
|
491
|
+
inputs["tenantName"] = args ? args.tenantName : undefined;
|
|
492
|
+
}
|
|
493
|
+
if (!opts.version) {
|
|
494
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
495
|
+
}
|
|
496
|
+
super(As3.__pulumiType, name, inputs, opts);
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* Get an existing As3 resource's state with the given name, ID, and optional extra
|
|
500
|
+
* properties used to qualify the lookup.
|
|
501
|
+
*
|
|
502
|
+
* @param name The _unique_ name of the resulting resource.
|
|
503
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
504
|
+
* @param state Any extra arguments used during the lookup.
|
|
505
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
506
|
+
*/
|
|
507
|
+
static get(name, id, state, opts) {
|
|
508
|
+
return new As3(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* Returns true if the given object is an instance of As3. This is designed to work even
|
|
512
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
513
|
+
*/
|
|
514
|
+
static isInstance(obj) {
|
|
515
|
+
if (obj === undefined || obj === null) {
|
|
516
|
+
return false;
|
|
517
|
+
}
|
|
518
|
+
return obj['__pulumiType'] === As3.__pulumiType;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
exports.As3 = As3;
|
|
522
|
+
/** @internal */
|
|
523
|
+
As3.__pulumiType = 'f5bigip:index/as3:As3';
|
|
524
|
+
//# sourceMappingURL=as3.js.map
|
package/as3.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"as3.js","sourceRoot":"","sources":["../as3.ts"],"names":[],"mappings":"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"}
|
package/bigIqAs3.d.ts
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* `f5bigip.BigIqAs3` provides details about bigiq as3 resource
|
|
4
|
+
*
|
|
5
|
+
* This resource is helpful to configure as3 declarative JSON on BIG-IP through BIG-IQ.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as f5bigip from "@pulumi/f5bigip";
|
|
12
|
+
* import * as fs from "fs";
|
|
13
|
+
*
|
|
14
|
+
* // Example Usage for json file
|
|
15
|
+
* const exampletask = new f5bigip.BigIqAs3("exampletask", {
|
|
16
|
+
* as3Json: fs.readFileSync("bigiq_example.json", "utf-8"),
|
|
17
|
+
* bigiqAddress: "xx.xx.xxx.xx",
|
|
18
|
+
* bigiqPassword: "xxxxxxxxx",
|
|
19
|
+
* bigiqUser: "xxxxx",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class BigIqAs3 extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing BigIqAs3 resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param state Any extra arguments used during the lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BigIqAs3State, opts?: pulumi.CustomResourceOptions): BigIqAs3;
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of BigIqAs3. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj: any): obj is BigIqAs3;
|
|
39
|
+
/**
|
|
40
|
+
* Path/Filename of Declarative AS3 JSON which is a json file used with builtin ```file``` function
|
|
41
|
+
*/
|
|
42
|
+
readonly as3Json: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Address of the BIG-IQ to which your targer BIG-IP is attached
|
|
45
|
+
*/
|
|
46
|
+
readonly bigiqAddress: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Login reference for token authentication (see BIG-IQ REST docs for details)
|
|
49
|
+
*/
|
|
50
|
+
readonly bigiqLoginRef: pulumi.Output<string | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* Password of the BIG-IQ to which your targer BIG-IP is attached
|
|
53
|
+
*/
|
|
54
|
+
readonly bigiqPassword: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The registration key pool to use
|
|
57
|
+
*/
|
|
58
|
+
readonly bigiqPort: pulumi.Output<string | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Enable to use an external authentication source (LDAP, TACACS, etc)
|
|
61
|
+
*/
|
|
62
|
+
readonly bigiqTokenAuth: pulumi.Output<boolean | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* User name of the BIG-IQ to which your targer BIG-IP is attached
|
|
65
|
+
*/
|
|
66
|
+
readonly bigiqUser: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Name of Tenant
|
|
69
|
+
*/
|
|
70
|
+
readonly tenantList: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a BigIqAs3 resource with the given unique name, arguments, and options.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resource.
|
|
75
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
76
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
77
|
+
*/
|
|
78
|
+
constructor(name: string, args: BigIqAs3Args, opts?: pulumi.CustomResourceOptions);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Input properties used for looking up and filtering BigIqAs3 resources.
|
|
82
|
+
*/
|
|
83
|
+
export interface BigIqAs3State {
|
|
84
|
+
/**
|
|
85
|
+
* Path/Filename of Declarative AS3 JSON which is a json file used with builtin ```file``` function
|
|
86
|
+
*/
|
|
87
|
+
as3Json?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Address of the BIG-IQ to which your targer BIG-IP is attached
|
|
90
|
+
*/
|
|
91
|
+
bigiqAddress?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Login reference for token authentication (see BIG-IQ REST docs for details)
|
|
94
|
+
*/
|
|
95
|
+
bigiqLoginRef?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Password of the BIG-IQ to which your targer BIG-IP is attached
|
|
98
|
+
*/
|
|
99
|
+
bigiqPassword?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The registration key pool to use
|
|
102
|
+
*/
|
|
103
|
+
bigiqPort?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Enable to use an external authentication source (LDAP, TACACS, etc)
|
|
106
|
+
*/
|
|
107
|
+
bigiqTokenAuth?: pulumi.Input<boolean>;
|
|
108
|
+
/**
|
|
109
|
+
* User name of the BIG-IQ to which your targer BIG-IP is attached
|
|
110
|
+
*/
|
|
111
|
+
bigiqUser?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Name of Tenant
|
|
114
|
+
*/
|
|
115
|
+
tenantList?: pulumi.Input<string>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The set of arguments for constructing a BigIqAs3 resource.
|
|
119
|
+
*/
|
|
120
|
+
export interface BigIqAs3Args {
|
|
121
|
+
/**
|
|
122
|
+
* Path/Filename of Declarative AS3 JSON which is a json file used with builtin ```file``` function
|
|
123
|
+
*/
|
|
124
|
+
as3Json: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Address of the BIG-IQ to which your targer BIG-IP is attached
|
|
127
|
+
*/
|
|
128
|
+
bigiqAddress: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Login reference for token authentication (see BIG-IQ REST docs for details)
|
|
131
|
+
*/
|
|
132
|
+
bigiqLoginRef?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Password of the BIG-IQ to which your targer BIG-IP is attached
|
|
135
|
+
*/
|
|
136
|
+
bigiqPassword: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* The registration key pool to use
|
|
139
|
+
*/
|
|
140
|
+
bigiqPort?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* Enable to use an external authentication source (LDAP, TACACS, etc)
|
|
143
|
+
*/
|
|
144
|
+
bigiqTokenAuth?: pulumi.Input<boolean>;
|
|
145
|
+
/**
|
|
146
|
+
* User name of the BIG-IQ to which your targer BIG-IP is attached
|
|
147
|
+
*/
|
|
148
|
+
bigiqUser: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Name of Tenant
|
|
151
|
+
*/
|
|
152
|
+
tenantList?: pulumi.Input<string>;
|
|
153
|
+
}
|