@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/bigIqAs3.js
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
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.BigIqAs3` provides details about bigiq as3 resource
|
|
9
|
+
*
|
|
10
|
+
* This resource is helpful to configure as3 declarative JSON on BIG-IP through BIG-IQ.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as f5bigip from "@pulumi/f5bigip";
|
|
17
|
+
* import * as fs from "fs";
|
|
18
|
+
*
|
|
19
|
+
* // Example Usage for json file
|
|
20
|
+
* const exampletask = new f5bigip.BigIqAs3("exampletask", {
|
|
21
|
+
* as3Json: fs.readFileSync("bigiq_example.json", "utf-8"),
|
|
22
|
+
* bigiqAddress: "xx.xx.xxx.xx",
|
|
23
|
+
* bigiqPassword: "xxxxxxxxx",
|
|
24
|
+
* bigiqUser: "xxxxx",
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
class BigIqAs3 extends pulumi.CustomResource {
|
|
29
|
+
constructor(name, argsOrState, opts) {
|
|
30
|
+
let inputs = {};
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
if (opts.id) {
|
|
33
|
+
const state = argsOrState;
|
|
34
|
+
inputs["as3Json"] = state ? state.as3Json : undefined;
|
|
35
|
+
inputs["bigiqAddress"] = state ? state.bigiqAddress : undefined;
|
|
36
|
+
inputs["bigiqLoginRef"] = state ? state.bigiqLoginRef : undefined;
|
|
37
|
+
inputs["bigiqPassword"] = state ? state.bigiqPassword : undefined;
|
|
38
|
+
inputs["bigiqPort"] = state ? state.bigiqPort : undefined;
|
|
39
|
+
inputs["bigiqTokenAuth"] = state ? state.bigiqTokenAuth : undefined;
|
|
40
|
+
inputs["bigiqUser"] = state ? state.bigiqUser : undefined;
|
|
41
|
+
inputs["tenantList"] = state ? state.tenantList : undefined;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
const args = argsOrState;
|
|
45
|
+
if ((!args || args.as3Json === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'as3Json'");
|
|
47
|
+
}
|
|
48
|
+
if ((!args || args.bigiqAddress === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'bigiqAddress'");
|
|
50
|
+
}
|
|
51
|
+
if ((!args || args.bigiqPassword === undefined) && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'bigiqPassword'");
|
|
53
|
+
}
|
|
54
|
+
if ((!args || args.bigiqUser === undefined) && !opts.urn) {
|
|
55
|
+
throw new Error("Missing required property 'bigiqUser'");
|
|
56
|
+
}
|
|
57
|
+
inputs["as3Json"] = args ? args.as3Json : undefined;
|
|
58
|
+
inputs["bigiqAddress"] = args ? args.bigiqAddress : undefined;
|
|
59
|
+
inputs["bigiqLoginRef"] = args ? args.bigiqLoginRef : undefined;
|
|
60
|
+
inputs["bigiqPassword"] = args ? args.bigiqPassword : undefined;
|
|
61
|
+
inputs["bigiqPort"] = args ? args.bigiqPort : undefined;
|
|
62
|
+
inputs["bigiqTokenAuth"] = args ? args.bigiqTokenAuth : undefined;
|
|
63
|
+
inputs["bigiqUser"] = args ? args.bigiqUser : undefined;
|
|
64
|
+
inputs["tenantList"] = args ? args.tenantList : undefined;
|
|
65
|
+
}
|
|
66
|
+
if (!opts.version) {
|
|
67
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
68
|
+
}
|
|
69
|
+
super(BigIqAs3.__pulumiType, name, inputs, opts);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Get an existing BigIqAs3 resource's state with the given name, ID, and optional extra
|
|
73
|
+
* properties used to qualify the lookup.
|
|
74
|
+
*
|
|
75
|
+
* @param name The _unique_ name of the resulting resource.
|
|
76
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
77
|
+
* @param state Any extra arguments used during the lookup.
|
|
78
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
79
|
+
*/
|
|
80
|
+
static get(name, id, state, opts) {
|
|
81
|
+
return new BigIqAs3(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Returns true if the given object is an instance of BigIqAs3. This is designed to work even
|
|
85
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
86
|
+
*/
|
|
87
|
+
static isInstance(obj) {
|
|
88
|
+
if (obj === undefined || obj === null) {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
return obj['__pulumiType'] === BigIqAs3.__pulumiType;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.BigIqAs3 = BigIqAs3;
|
|
95
|
+
/** @internal */
|
|
96
|
+
BigIqAs3.__pulumiType = 'f5bigip:index/bigIqAs3:BigIqAs3';
|
|
97
|
+
//# sourceMappingURL=bigIqAs3.js.map
|
package/bigIqAs3.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1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"@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* `f5bigip.cm.Device` provides details about a specific bigip
|
|
4
|
+
*
|
|
5
|
+
* This resource is helpful when configuring the BIG-IP device in cluster or in HA mode.
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as f5bigip from "@pulumi/f5bigip";
|
|
11
|
+
*
|
|
12
|
+
* const myNewDevice = new f5bigip.cm.Device("my_new_device", {
|
|
13
|
+
* configsyncIp: "2.2.2.2",
|
|
14
|
+
* mirrorIp: "10.10.10.10",
|
|
15
|
+
* mirrorSecondaryIp: "11.11.11.11",
|
|
16
|
+
* name: "bigip300.f5.com",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare class Device extends pulumi.CustomResource {
|
|
21
|
+
/**
|
|
22
|
+
* Get an existing Device resource's state with the given name, ID, and optional extra
|
|
23
|
+
* properties used to qualify the lookup.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resulting resource.
|
|
26
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
27
|
+
* @param state Any extra arguments used during the lookup.
|
|
28
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
29
|
+
*/
|
|
30
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DeviceState, opts?: pulumi.CustomResourceOptions): Device;
|
|
31
|
+
/**
|
|
32
|
+
* Returns true if the given object is an instance of Device. This is designed to work even
|
|
33
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
34
|
+
*/
|
|
35
|
+
static isInstance(obj: any): obj is Device;
|
|
36
|
+
/**
|
|
37
|
+
* IP address used for config sync
|
|
38
|
+
*/
|
|
39
|
+
readonly configsyncIp: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* IP address used for state mirroring
|
|
42
|
+
*/
|
|
43
|
+
readonly mirrorIp: pulumi.Output<string | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* Secondary IP address used for state mirroring
|
|
46
|
+
*/
|
|
47
|
+
readonly mirrorSecondaryIp: pulumi.Output<string | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Address of the Device which needs to be Deviceensed
|
|
50
|
+
*/
|
|
51
|
+
readonly name: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Create a Device resource with the given unique name, arguments, and options.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resource.
|
|
56
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
57
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
58
|
+
*/
|
|
59
|
+
constructor(name: string, args: DeviceArgs, opts?: pulumi.CustomResourceOptions);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Input properties used for looking up and filtering Device resources.
|
|
63
|
+
*/
|
|
64
|
+
export interface DeviceState {
|
|
65
|
+
/**
|
|
66
|
+
* IP address used for config sync
|
|
67
|
+
*/
|
|
68
|
+
configsyncIp?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* IP address used for state mirroring
|
|
71
|
+
*/
|
|
72
|
+
mirrorIp?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Secondary IP address used for state mirroring
|
|
75
|
+
*/
|
|
76
|
+
mirrorSecondaryIp?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Address of the Device which needs to be Deviceensed
|
|
79
|
+
*/
|
|
80
|
+
name?: pulumi.Input<string>;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The set of arguments for constructing a Device resource.
|
|
84
|
+
*/
|
|
85
|
+
export interface DeviceArgs {
|
|
86
|
+
/**
|
|
87
|
+
* IP address used for config sync
|
|
88
|
+
*/
|
|
89
|
+
configsyncIp: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* IP address used for state mirroring
|
|
92
|
+
*/
|
|
93
|
+
mirrorIp?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Secondary IP address used for state mirroring
|
|
96
|
+
*/
|
|
97
|
+
mirrorSecondaryIp?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Address of the Device which needs to be Deviceensed
|
|
100
|
+
*/
|
|
101
|
+
name: pulumi.Input<string>;
|
|
102
|
+
}
|
package/cm/device.js
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
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.cm.Device` provides details about a specific bigip
|
|
9
|
+
*
|
|
10
|
+
* This resource is helpful when configuring the BIG-IP device in cluster or in HA mode.
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as f5bigip from "@pulumi/f5bigip";
|
|
16
|
+
*
|
|
17
|
+
* const myNewDevice = new f5bigip.cm.Device("my_new_device", {
|
|
18
|
+
* configsyncIp: "2.2.2.2",
|
|
19
|
+
* mirrorIp: "10.10.10.10",
|
|
20
|
+
* mirrorSecondaryIp: "11.11.11.11",
|
|
21
|
+
* name: "bigip300.f5.com",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
class Device extends pulumi.CustomResource {
|
|
26
|
+
constructor(name, argsOrState, opts) {
|
|
27
|
+
let inputs = {};
|
|
28
|
+
opts = opts || {};
|
|
29
|
+
if (opts.id) {
|
|
30
|
+
const state = argsOrState;
|
|
31
|
+
inputs["configsyncIp"] = state ? state.configsyncIp : undefined;
|
|
32
|
+
inputs["mirrorIp"] = state ? state.mirrorIp : undefined;
|
|
33
|
+
inputs["mirrorSecondaryIp"] = state ? state.mirrorSecondaryIp : undefined;
|
|
34
|
+
inputs["name"] = state ? state.name : undefined;
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
const args = argsOrState;
|
|
38
|
+
if ((!args || args.configsyncIp === undefined) && !opts.urn) {
|
|
39
|
+
throw new Error("Missing required property 'configsyncIp'");
|
|
40
|
+
}
|
|
41
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
42
|
+
throw new Error("Missing required property 'name'");
|
|
43
|
+
}
|
|
44
|
+
inputs["configsyncIp"] = args ? args.configsyncIp : undefined;
|
|
45
|
+
inputs["mirrorIp"] = args ? args.mirrorIp : undefined;
|
|
46
|
+
inputs["mirrorSecondaryIp"] = args ? args.mirrorSecondaryIp : undefined;
|
|
47
|
+
inputs["name"] = args ? args.name : undefined;
|
|
48
|
+
}
|
|
49
|
+
if (!opts.version) {
|
|
50
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
51
|
+
}
|
|
52
|
+
super(Device.__pulumiType, name, inputs, opts);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing Device resource's state with the given name, ID, and optional extra
|
|
56
|
+
* properties used to qualify the lookup.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resulting resource.
|
|
59
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
+
* @param state Any extra arguments used during the lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name, id, state, opts) {
|
|
64
|
+
return new Device(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if the given object is an instance of Device. This is designed to work even
|
|
68
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
+
*/
|
|
70
|
+
static isInstance(obj) {
|
|
71
|
+
if (obj === undefined || obj === null) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
return obj['__pulumiType'] === Device.__pulumiType;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.Device = Device;
|
|
78
|
+
/** @internal */
|
|
79
|
+
Device.__pulumiType = 'f5bigip:cm/device:Device';
|
|
80
|
+
//# sourceMappingURL=device.js.map
|
package/cm/device.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device.js","sourceRoot":"","sources":["../../cm/device.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAqD7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACnD;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,IAAI,CAAC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AGG;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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBAgFC;AAlEG,gBAAgB;AACO,mBAAY,GAAG,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* `f5bigip.cm.DeviceGroup` A device group is a collection of BIG-IP devices that are configured to securely synchronize their BIG-IP configuration data, and fail over when needed.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as f5bigip from "@pulumi/f5bigip";
|
|
11
|
+
*
|
|
12
|
+
* const myNewDevicegroup = new f5bigip.cm.DeviceGroup("my_new_devicegroup", {
|
|
13
|
+
* autoSync: "enabled",
|
|
14
|
+
* devices: [
|
|
15
|
+
* {
|
|
16
|
+
* name: "bigip1.cisco.com",
|
|
17
|
+
* },
|
|
18
|
+
* {
|
|
19
|
+
* name: "bigip200.f5.com",
|
|
20
|
+
* },
|
|
21
|
+
* ],
|
|
22
|
+
* fullLoadOnSync: "true",
|
|
23
|
+
* name: "sanjose_devicegroup",
|
|
24
|
+
* type: "sync-only",
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class DeviceGroup extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing DeviceGroup resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DeviceGroupState, opts?: pulumi.CustomResourceOptions): DeviceGroup;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of DeviceGroup. 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: any): obj is DeviceGroup;
|
|
44
|
+
/**
|
|
45
|
+
* Specifies if the device-group will automatically sync configuration data to its members
|
|
46
|
+
*/
|
|
47
|
+
readonly autoSync: pulumi.Output<string | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Description of Device group
|
|
50
|
+
*/
|
|
51
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* Name of the device to be included in device group, this need to be configured before using devicegroup resource
|
|
54
|
+
*/
|
|
55
|
+
readonly devices: pulumi.Output<outputs.cm.DeviceGroupDevice[] | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* Specifies if the device-group will perform a full-load upon sync
|
|
58
|
+
*/
|
|
59
|
+
readonly fullLoadOnSync: pulumi.Output<string | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* Specifies the maximum size (in KB) to devote to incremental config sync cached transactions. The default is 1024 KB.
|
|
62
|
+
*/
|
|
63
|
+
readonly incrementalConfig: pulumi.Output<number | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* Is the name of the device Group
|
|
66
|
+
*/
|
|
67
|
+
readonly name: pulumi.Output<string | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* Specifies if the device-group will use a network connection for failover
|
|
70
|
+
*/
|
|
71
|
+
readonly networkFailover: pulumi.Output<string | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* Device administrative partition
|
|
74
|
+
*/
|
|
75
|
+
readonly partition: pulumi.Output<string | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* Specifies whether the configuration should be saved upon auto-sync.
|
|
78
|
+
*/
|
|
79
|
+
readonly saveOnAutoSync: pulumi.Output<string | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* Specifies if the device-group will be used for failover or resource syncing
|
|
82
|
+
*/
|
|
83
|
+
readonly type: pulumi.Output<string | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* Create a DeviceGroup resource with the given unique name, arguments, and options.
|
|
86
|
+
*
|
|
87
|
+
* @param name The _unique_ name of the resource.
|
|
88
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
89
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
90
|
+
*/
|
|
91
|
+
constructor(name: string, args?: DeviceGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Input properties used for looking up and filtering DeviceGroup resources.
|
|
95
|
+
*/
|
|
96
|
+
export interface DeviceGroupState {
|
|
97
|
+
/**
|
|
98
|
+
* Specifies if the device-group will automatically sync configuration data to its members
|
|
99
|
+
*/
|
|
100
|
+
autoSync?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Description of Device group
|
|
103
|
+
*/
|
|
104
|
+
description?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Name of the device to be included in device group, this need to be configured before using devicegroup resource
|
|
107
|
+
*/
|
|
108
|
+
devices?: pulumi.Input<pulumi.Input<inputs.cm.DeviceGroupDevice>[]>;
|
|
109
|
+
/**
|
|
110
|
+
* Specifies if the device-group will perform a full-load upon sync
|
|
111
|
+
*/
|
|
112
|
+
fullLoadOnSync?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Specifies the maximum size (in KB) to devote to incremental config sync cached transactions. The default is 1024 KB.
|
|
115
|
+
*/
|
|
116
|
+
incrementalConfig?: pulumi.Input<number>;
|
|
117
|
+
/**
|
|
118
|
+
* Is the name of the device Group
|
|
119
|
+
*/
|
|
120
|
+
name?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Specifies if the device-group will use a network connection for failover
|
|
123
|
+
*/
|
|
124
|
+
networkFailover?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Device administrative partition
|
|
127
|
+
*/
|
|
128
|
+
partition?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Specifies whether the configuration should be saved upon auto-sync.
|
|
131
|
+
*/
|
|
132
|
+
saveOnAutoSync?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Specifies if the device-group will be used for failover or resource syncing
|
|
135
|
+
*/
|
|
136
|
+
type?: pulumi.Input<string>;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* The set of arguments for constructing a DeviceGroup resource.
|
|
140
|
+
*/
|
|
141
|
+
export interface DeviceGroupArgs {
|
|
142
|
+
/**
|
|
143
|
+
* Specifies if the device-group will automatically sync configuration data to its members
|
|
144
|
+
*/
|
|
145
|
+
autoSync?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Description of Device group
|
|
148
|
+
*/
|
|
149
|
+
description?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Name of the device to be included in device group, this need to be configured before using devicegroup resource
|
|
152
|
+
*/
|
|
153
|
+
devices?: pulumi.Input<pulumi.Input<inputs.cm.DeviceGroupDevice>[]>;
|
|
154
|
+
/**
|
|
155
|
+
* Specifies if the device-group will perform a full-load upon sync
|
|
156
|
+
*/
|
|
157
|
+
fullLoadOnSync?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Specifies the maximum size (in KB) to devote to incremental config sync cached transactions. The default is 1024 KB.
|
|
160
|
+
*/
|
|
161
|
+
incrementalConfig?: pulumi.Input<number>;
|
|
162
|
+
/**
|
|
163
|
+
* Is the name of the device Group
|
|
164
|
+
*/
|
|
165
|
+
name?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* Specifies if the device-group will use a network connection for failover
|
|
168
|
+
*/
|
|
169
|
+
networkFailover?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* Device administrative partition
|
|
172
|
+
*/
|
|
173
|
+
partition?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* Specifies whether the configuration should be saved upon auto-sync.
|
|
176
|
+
*/
|
|
177
|
+
saveOnAutoSync?: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* Specifies if the device-group will be used for failover or resource syncing
|
|
180
|
+
*/
|
|
181
|
+
type?: pulumi.Input<string>;
|
|
182
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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.cm.DeviceGroup` A device group is a collection of BIG-IP devices that are configured to securely synchronize their BIG-IP configuration data, and fail over when needed.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as f5bigip from "@pulumi/f5bigip";
|
|
15
|
+
*
|
|
16
|
+
* const myNewDevicegroup = new f5bigip.cm.DeviceGroup("my_new_devicegroup", {
|
|
17
|
+
* autoSync: "enabled",
|
|
18
|
+
* devices: [
|
|
19
|
+
* {
|
|
20
|
+
* name: "bigip1.cisco.com",
|
|
21
|
+
* },
|
|
22
|
+
* {
|
|
23
|
+
* name: "bigip200.f5.com",
|
|
24
|
+
* },
|
|
25
|
+
* ],
|
|
26
|
+
* fullLoadOnSync: "true",
|
|
27
|
+
* name: "sanjose_devicegroup",
|
|
28
|
+
* type: "sync-only",
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class DeviceGroup extends pulumi.CustomResource {
|
|
33
|
+
constructor(name, argsOrState, opts) {
|
|
34
|
+
let inputs = {};
|
|
35
|
+
opts = opts || {};
|
|
36
|
+
if (opts.id) {
|
|
37
|
+
const state = argsOrState;
|
|
38
|
+
inputs["autoSync"] = state ? state.autoSync : undefined;
|
|
39
|
+
inputs["description"] = state ? state.description : undefined;
|
|
40
|
+
inputs["devices"] = state ? state.devices : undefined;
|
|
41
|
+
inputs["fullLoadOnSync"] = state ? state.fullLoadOnSync : undefined;
|
|
42
|
+
inputs["incrementalConfig"] = state ? state.incrementalConfig : undefined;
|
|
43
|
+
inputs["name"] = state ? state.name : undefined;
|
|
44
|
+
inputs["networkFailover"] = state ? state.networkFailover : undefined;
|
|
45
|
+
inputs["partition"] = state ? state.partition : undefined;
|
|
46
|
+
inputs["saveOnAutoSync"] = state ? state.saveOnAutoSync : undefined;
|
|
47
|
+
inputs["type"] = state ? state.type : undefined;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
const args = argsOrState;
|
|
51
|
+
inputs["autoSync"] = args ? args.autoSync : undefined;
|
|
52
|
+
inputs["description"] = args ? args.description : undefined;
|
|
53
|
+
inputs["devices"] = args ? args.devices : undefined;
|
|
54
|
+
inputs["fullLoadOnSync"] = args ? args.fullLoadOnSync : undefined;
|
|
55
|
+
inputs["incrementalConfig"] = args ? args.incrementalConfig : undefined;
|
|
56
|
+
inputs["name"] = args ? args.name : undefined;
|
|
57
|
+
inputs["networkFailover"] = args ? args.networkFailover : undefined;
|
|
58
|
+
inputs["partition"] = args ? args.partition : undefined;
|
|
59
|
+
inputs["saveOnAutoSync"] = args ? args.saveOnAutoSync : undefined;
|
|
60
|
+
inputs["type"] = args ? args.type : undefined;
|
|
61
|
+
}
|
|
62
|
+
if (!opts.version) {
|
|
63
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
64
|
+
}
|
|
65
|
+
super(DeviceGroup.__pulumiType, name, inputs, opts);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing DeviceGroup resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param state Any extra arguments used during the lookup.
|
|
74
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
75
|
+
*/
|
|
76
|
+
static get(name, id, state, opts) {
|
|
77
|
+
return new DeviceGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the given object is an instance of DeviceGroup. This is designed to work even
|
|
81
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
82
|
+
*/
|
|
83
|
+
static isInstance(obj) {
|
|
84
|
+
if (obj === undefined || obj === null) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return obj['__pulumiType'] === DeviceGroup.__pulumiType;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.DeviceGroup = DeviceGroup;
|
|
91
|
+
/** @internal */
|
|
92
|
+
DeviceGroup.__pulumiType = 'f5bigip:cm/deviceGroup:DeviceGroup';
|
|
93
|
+
//# sourceMappingURL=deviceGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deviceGroup.js","sourceRoot":"","sources":["../../cm/deviceGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA6ElD,YAAY,IAAY,EAAE,W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AE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IA5GD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCA8GC;AAhGG,gBAAgB;AACO,wBAAY,GAAG,oCAAoC,CAAC"}
|
package/cm/index.d.ts
ADDED
package/cm/index.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
function __export(m) {
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
const pulumi = require("@pulumi/pulumi");
|
|
9
|
+
const utilities = require("../utilities");
|
|
10
|
+
// Export members:
|
|
11
|
+
__export(require("./device"));
|
|
12
|
+
__export(require("./deviceGroup"));
|
|
13
|
+
// Import resources to register:
|
|
14
|
+
const device_1 = require("./device");
|
|
15
|
+
const deviceGroup_1 = require("./deviceGroup");
|
|
16
|
+
const _module = {
|
|
17
|
+
version: utilities.getVersion(),
|
|
18
|
+
construct: (name, type, urn) => {
|
|
19
|
+
switch (type) {
|
|
20
|
+
case "f5bigip:cm/device:Device":
|
|
21
|
+
return new device_1.Device(name, undefined, { urn });
|
|
22
|
+
case "f5bigip:cm/deviceGroup:DeviceGroup":
|
|
23
|
+
return new deviceGroup_1.DeviceGroup(name, undefined, { urn });
|
|
24
|
+
default:
|
|
25
|
+
throw new Error(`unknown resource type ${type}`);
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
pulumi.runtime.registerResourceModule("f5bigip", "cm/device", _module);
|
|
30
|
+
pulumi.runtime.registerResourceModule("f5bigip", "cm/deviceGroup", _module);
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
package/cm/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cm/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,8BAAyB;AACzB,mCAA8B;AAE9B,gCAAgC;AAChC,qCAAkC;AAClC,+CAA4C;AAE5C,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,0BAA0B;gBAC3B,OAAO,IAAI,eAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,oCAAoC;gBACrC,OAAO,IAAI,yBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;AACtE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA"}
|