@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
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* `f5bigip.ltm.PoolAttachment` Manages nodes membership in pools
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* There are two ways to use ltmPoolAttachment resource, where we can take node reference from ltmNode or we can specify node directly with ip:port/fqdn:port which will also create node and atach to pool.
|
|
8
|
+
*
|
|
9
|
+
* Pool attachment with node directly taking ip:port/fqdn:port
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as f5bigip from "@pulumi/f5bigip";
|
|
14
|
+
*
|
|
15
|
+
* const monitor = new f5bigip.ltm.Monitor("monitor", {
|
|
16
|
+
* name: "/Common/terraform_monitor",
|
|
17
|
+
* parent: "/Common/http",
|
|
18
|
+
* send: "GET /some/path
|
|
19
|
+
\n",
|
|
20
|
+
* timeout: "999",
|
|
21
|
+
* interval: "998",
|
|
22
|
+
* });
|
|
23
|
+
* const pool = new f5bigip.ltm.Pool("pool", {
|
|
24
|
+
* name: "/Common/terraform-pool",
|
|
25
|
+
* loadBalancingMode: "round-robin",
|
|
26
|
+
* monitors: [monitor.name],
|
|
27
|
+
* allowSnat: "yes",
|
|
28
|
+
* allowNat: "yes",
|
|
29
|
+
* });
|
|
30
|
+
* const attachNode = new f5bigip.ltm.PoolAttachment("attachNode", {
|
|
31
|
+
* pool: pool.name,
|
|
32
|
+
* node: "1.1.1.1:80",
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* Pool attachment with node reference from ltmNode
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as f5bigip from "@pulumi/f5bigip";
|
|
41
|
+
*
|
|
42
|
+
* const monitor = new f5bigip.ltm.Monitor("monitor", {
|
|
43
|
+
* name: "/Common/terraform_monitor",
|
|
44
|
+
* parent: "/Common/http",
|
|
45
|
+
* send: "GET /some/path
|
|
46
|
+
\n",
|
|
47
|
+
* timeout: "999",
|
|
48
|
+
* interval: "998",
|
|
49
|
+
* });
|
|
50
|
+
* const pool = new f5bigip.ltm.Pool("pool", {
|
|
51
|
+
* name: "/Common/terraform-pool",
|
|
52
|
+
* loadBalancingMode: "round-robin",
|
|
53
|
+
* monitors: [monitor.name],
|
|
54
|
+
* allowSnat: "yes",
|
|
55
|
+
* allowNat: "yes",
|
|
56
|
+
* });
|
|
57
|
+
* const node = new f5bigip.ltm.Node("node", {
|
|
58
|
+
* name: "/Common/terraform_node",
|
|
59
|
+
* address: "192.168.30.2",
|
|
60
|
+
* });
|
|
61
|
+
* const attachNode = new f5bigip.ltm.PoolAttachment("attachNode", {
|
|
62
|
+
* pool: pool.name,
|
|
63
|
+
* node: pulumi.interpolate`${node.name}:80`,
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare class PoolAttachment extends pulumi.CustomResource {
|
|
68
|
+
/**
|
|
69
|
+
* Get an existing PoolAttachment resource's state with the given name, ID, and optional extra
|
|
70
|
+
* properties used to qualify the lookup.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resulting resource.
|
|
73
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
+
* @param state Any extra arguments used during the lookup.
|
|
75
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
+
*/
|
|
77
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PoolAttachmentState, opts?: pulumi.CustomResourceOptions): PoolAttachment;
|
|
78
|
+
/**
|
|
79
|
+
* Returns true if the given object is an instance of PoolAttachment. This is designed to work even
|
|
80
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
81
|
+
*/
|
|
82
|
+
static isInstance(obj: any): obj is PoolAttachment;
|
|
83
|
+
/**
|
|
84
|
+
* Specifies a maximum established connection limit for a pool member or node.The default is 0, meaning that there is no limit to the number of connections.
|
|
85
|
+
*/
|
|
86
|
+
readonly connectionLimit: pulumi.Output<number>;
|
|
87
|
+
/**
|
|
88
|
+
* Specifies the maximum number of connections-per-second allowed for a pool member,The default is 0.
|
|
89
|
+
*/
|
|
90
|
+
readonly connectionRateLimit: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Specifies the fixed ratio value used for a node during ratio load balancing.
|
|
93
|
+
*/
|
|
94
|
+
readonly dynamicRatio: pulumi.Output<number>;
|
|
95
|
+
/**
|
|
96
|
+
* Specifies whether the system automatically creates ephemeral nodes using the IP addresses returned by the resolution of a DNS query for a node defined by an FQDN. The default is enabled
|
|
97
|
+
*/
|
|
98
|
+
readonly fqdnAutopopulate: pulumi.Output<string | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* Pool member address/fqdn with service port, (ex: `1.1.1.1:80/www.google.com:80`). (Note: Member will be in same partition of Pool)
|
|
101
|
+
*/
|
|
102
|
+
readonly node: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Name of the pool to which members should be attached,it should be "full path".The full path is the combination of the partition + name of the pool.(For example `/Common/my-pool`) or partition + directory + name of the pool (For example `/Common/test/my-pool`).When including directory in fullpath we have to make sure it is created in the given partition before using it.
|
|
105
|
+
*/
|
|
106
|
+
readonly pool: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Specifies a number representing the priority group for the pool member. The default is 0, meaning that the member has no priority
|
|
109
|
+
*/
|
|
110
|
+
readonly priorityGroup: pulumi.Output<number>;
|
|
111
|
+
/**
|
|
112
|
+
* "Specifies the ratio weight to assign to the pool member. Valid values range from 1 through 65535. The default is 1, which means that each pool member has an equal ratio proportion.".
|
|
113
|
+
*/
|
|
114
|
+
readonly ratio: pulumi.Output<number>;
|
|
115
|
+
/**
|
|
116
|
+
* Create a PoolAttachment resource with the given unique name, arguments, and options.
|
|
117
|
+
*
|
|
118
|
+
* @param name The _unique_ name of the resource.
|
|
119
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
120
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
121
|
+
*/
|
|
122
|
+
constructor(name: string, args: PoolAttachmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Input properties used for looking up and filtering PoolAttachment resources.
|
|
126
|
+
*/
|
|
127
|
+
export interface PoolAttachmentState {
|
|
128
|
+
/**
|
|
129
|
+
* Specifies a maximum established connection limit for a pool member or node.The default is 0, meaning that there is no limit to the number of connections.
|
|
130
|
+
*/
|
|
131
|
+
connectionLimit?: pulumi.Input<number>;
|
|
132
|
+
/**
|
|
133
|
+
* Specifies the maximum number of connections-per-second allowed for a pool member,The default is 0.
|
|
134
|
+
*/
|
|
135
|
+
connectionRateLimit?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* Specifies the fixed ratio value used for a node during ratio load balancing.
|
|
138
|
+
*/
|
|
139
|
+
dynamicRatio?: pulumi.Input<number>;
|
|
140
|
+
/**
|
|
141
|
+
* Specifies whether the system automatically creates ephemeral nodes using the IP addresses returned by the resolution of a DNS query for a node defined by an FQDN. The default is enabled
|
|
142
|
+
*/
|
|
143
|
+
fqdnAutopopulate?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Pool member address/fqdn with service port, (ex: `1.1.1.1:80/www.google.com:80`). (Note: Member will be in same partition of Pool)
|
|
146
|
+
*/
|
|
147
|
+
node?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Name of the pool to which members should be attached,it should be "full path".The full path is the combination of the partition + name of the pool.(For example `/Common/my-pool`) or partition + directory + name of the pool (For example `/Common/test/my-pool`).When including directory in fullpath we have to make sure it is created in the given partition before using it.
|
|
150
|
+
*/
|
|
151
|
+
pool?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Specifies a number representing the priority group for the pool member. The default is 0, meaning that the member has no priority
|
|
154
|
+
*/
|
|
155
|
+
priorityGroup?: pulumi.Input<number>;
|
|
156
|
+
/**
|
|
157
|
+
* "Specifies the ratio weight to assign to the pool member. Valid values range from 1 through 65535. The default is 1, which means that each pool member has an equal ratio proportion.".
|
|
158
|
+
*/
|
|
159
|
+
ratio?: pulumi.Input<number>;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* The set of arguments for constructing a PoolAttachment resource.
|
|
163
|
+
*/
|
|
164
|
+
export interface PoolAttachmentArgs {
|
|
165
|
+
/**
|
|
166
|
+
* Specifies a maximum established connection limit for a pool member or node.The default is 0, meaning that there is no limit to the number of connections.
|
|
167
|
+
*/
|
|
168
|
+
connectionLimit?: pulumi.Input<number>;
|
|
169
|
+
/**
|
|
170
|
+
* Specifies the maximum number of connections-per-second allowed for a pool member,The default is 0.
|
|
171
|
+
*/
|
|
172
|
+
connectionRateLimit?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Specifies the fixed ratio value used for a node during ratio load balancing.
|
|
175
|
+
*/
|
|
176
|
+
dynamicRatio?: pulumi.Input<number>;
|
|
177
|
+
/**
|
|
178
|
+
* Specifies whether the system automatically creates ephemeral nodes using the IP addresses returned by the resolution of a DNS query for a node defined by an FQDN. The default is enabled
|
|
179
|
+
*/
|
|
180
|
+
fqdnAutopopulate?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* Pool member address/fqdn with service port, (ex: `1.1.1.1:80/www.google.com:80`). (Note: Member will be in same partition of Pool)
|
|
183
|
+
*/
|
|
184
|
+
node: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* Name of the pool to which members should be attached,it should be "full path".The full path is the combination of the partition + name of the pool.(For example `/Common/my-pool`) or partition + directory + name of the pool (For example `/Common/test/my-pool`).When including directory in fullpath we have to make sure it is created in the given partition before using it.
|
|
187
|
+
*/
|
|
188
|
+
pool: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Specifies a number representing the priority group for the pool member. The default is 0, meaning that the member has no priority
|
|
191
|
+
*/
|
|
192
|
+
priorityGroup?: pulumi.Input<number>;
|
|
193
|
+
/**
|
|
194
|
+
* "Specifies the ratio weight to assign to the pool member. Valid values range from 1 through 65535. The default is 1, which means that each pool member has an equal ratio proportion.".
|
|
195
|
+
*/
|
|
196
|
+
ratio?: pulumi.Input<number>;
|
|
197
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
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.ltm.PoolAttachment` Manages nodes membership in pools
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* There are two ways to use ltmPoolAttachment resource, where we can take node reference from ltmNode or we can specify node directly with ip:port/fqdn:port which will also create node and atach to pool.
|
|
13
|
+
*
|
|
14
|
+
* Pool attachment with node directly taking ip:port/fqdn:port
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as f5bigip from "@pulumi/f5bigip";
|
|
19
|
+
*
|
|
20
|
+
* const monitor = new f5bigip.ltm.Monitor("monitor", {
|
|
21
|
+
* name: "/Common/terraform_monitor",
|
|
22
|
+
* parent: "/Common/http",
|
|
23
|
+
* send: "GET /some/path
|
|
24
|
+
\n",
|
|
25
|
+
* timeout: "999",
|
|
26
|
+
* interval: "998",
|
|
27
|
+
* });
|
|
28
|
+
* const pool = new f5bigip.ltm.Pool("pool", {
|
|
29
|
+
* name: "/Common/terraform-pool",
|
|
30
|
+
* loadBalancingMode: "round-robin",
|
|
31
|
+
* monitors: [monitor.name],
|
|
32
|
+
* allowSnat: "yes",
|
|
33
|
+
* allowNat: "yes",
|
|
34
|
+
* });
|
|
35
|
+
* const attachNode = new f5bigip.ltm.PoolAttachment("attachNode", {
|
|
36
|
+
* pool: pool.name,
|
|
37
|
+
* node: "1.1.1.1:80",
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* Pool attachment with node reference from ltmNode
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as f5bigip from "@pulumi/f5bigip";
|
|
46
|
+
*
|
|
47
|
+
* const monitor = new f5bigip.ltm.Monitor("monitor", {
|
|
48
|
+
* name: "/Common/terraform_monitor",
|
|
49
|
+
* parent: "/Common/http",
|
|
50
|
+
* send: "GET /some/path
|
|
51
|
+
\n",
|
|
52
|
+
* timeout: "999",
|
|
53
|
+
* interval: "998",
|
|
54
|
+
* });
|
|
55
|
+
* const pool = new f5bigip.ltm.Pool("pool", {
|
|
56
|
+
* name: "/Common/terraform-pool",
|
|
57
|
+
* loadBalancingMode: "round-robin",
|
|
58
|
+
* monitors: [monitor.name],
|
|
59
|
+
* allowSnat: "yes",
|
|
60
|
+
* allowNat: "yes",
|
|
61
|
+
* });
|
|
62
|
+
* const node = new f5bigip.ltm.Node("node", {
|
|
63
|
+
* name: "/Common/terraform_node",
|
|
64
|
+
* address: "192.168.30.2",
|
|
65
|
+
* });
|
|
66
|
+
* const attachNode = new f5bigip.ltm.PoolAttachment("attachNode", {
|
|
67
|
+
* pool: pool.name,
|
|
68
|
+
* node: pulumi.interpolate`${node.name}:80`,
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
class PoolAttachment extends pulumi.CustomResource {
|
|
73
|
+
constructor(name, argsOrState, opts) {
|
|
74
|
+
let inputs = {};
|
|
75
|
+
opts = opts || {};
|
|
76
|
+
if (opts.id) {
|
|
77
|
+
const state = argsOrState;
|
|
78
|
+
inputs["connectionLimit"] = state ? state.connectionLimit : undefined;
|
|
79
|
+
inputs["connectionRateLimit"] = state ? state.connectionRateLimit : undefined;
|
|
80
|
+
inputs["dynamicRatio"] = state ? state.dynamicRatio : undefined;
|
|
81
|
+
inputs["fqdnAutopopulate"] = state ? state.fqdnAutopopulate : undefined;
|
|
82
|
+
inputs["node"] = state ? state.node : undefined;
|
|
83
|
+
inputs["pool"] = state ? state.pool : undefined;
|
|
84
|
+
inputs["priorityGroup"] = state ? state.priorityGroup : undefined;
|
|
85
|
+
inputs["ratio"] = state ? state.ratio : undefined;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
const args = argsOrState;
|
|
89
|
+
if ((!args || args.node === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'node'");
|
|
91
|
+
}
|
|
92
|
+
if ((!args || args.pool === undefined) && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'pool'");
|
|
94
|
+
}
|
|
95
|
+
inputs["connectionLimit"] = args ? args.connectionLimit : undefined;
|
|
96
|
+
inputs["connectionRateLimit"] = args ? args.connectionRateLimit : undefined;
|
|
97
|
+
inputs["dynamicRatio"] = args ? args.dynamicRatio : undefined;
|
|
98
|
+
inputs["fqdnAutopopulate"] = args ? args.fqdnAutopopulate : undefined;
|
|
99
|
+
inputs["node"] = args ? args.node : undefined;
|
|
100
|
+
inputs["pool"] = args ? args.pool : undefined;
|
|
101
|
+
inputs["priorityGroup"] = args ? args.priorityGroup : undefined;
|
|
102
|
+
inputs["ratio"] = args ? args.ratio : undefined;
|
|
103
|
+
}
|
|
104
|
+
if (!opts.version) {
|
|
105
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
106
|
+
}
|
|
107
|
+
super(PoolAttachment.__pulumiType, name, inputs, opts);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Get an existing PoolAttachment resource's state with the given name, ID, and optional extra
|
|
111
|
+
* properties used to qualify the lookup.
|
|
112
|
+
*
|
|
113
|
+
* @param name The _unique_ name of the resulting resource.
|
|
114
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
115
|
+
* @param state Any extra arguments used during the lookup.
|
|
116
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
117
|
+
*/
|
|
118
|
+
static get(name, id, state, opts) {
|
|
119
|
+
return new PoolAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Returns true if the given object is an instance of PoolAttachment. This is designed to work even
|
|
123
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
124
|
+
*/
|
|
125
|
+
static isInstance(obj) {
|
|
126
|
+
if (obj === undefined || obj === null) {
|
|
127
|
+
return false;
|
|
128
|
+
}
|
|
129
|
+
return obj['__pulumiType'] === PoolAttachment.__pulumiType;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.PoolAttachment = PoolAttachment;
|
|
133
|
+
/** @internal */
|
|
134
|
+
PoolAttachment.__pulumiType = 'f5bigip:ltm/poolAttachment:PoolAttachment';
|
|
135
|
+
//# sourceMappingURL=poolAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poolAttachment.js","sourceRoot":"","sources":["../../ltm/poolAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,i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