@pulumi/f5bigip 3.19.0 → 3.19.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.
Files changed (157) hide show
  1. package/as3.d.ts +3 -6
  2. package/as3.js +20 -20
  3. package/as3.js.map +1 -1
  4. package/bigIqAs3.js +23 -23
  5. package/bigIqAs3.js.map +1 -1
  6. package/cm/device.js +11 -11
  7. package/cm/device.js.map +1 -1
  8. package/cm/deviceGroup.js +21 -21
  9. package/cm/deviceGroup.js.map +1 -1
  10. package/command.js +8 -8
  11. package/command.js.map +1 -1
  12. package/commonLicenseManageBigIq.js +38 -38
  13. package/commonLicenseManageBigIq.js.map +1 -1
  14. package/do.d.ts +3 -3
  15. package/do.js +18 -18
  16. package/do.js.map +1 -1
  17. package/eventServiceDiscovery.js +6 -6
  18. package/eventServiceDiscovery.js.map +1 -1
  19. package/fastApplication.js +8 -8
  20. package/fastApplication.js.map +1 -1
  21. package/fastHttpApp.js +42 -42
  22. package/fastHttpApp.js.map +1 -1
  23. package/fastHttpsApp.js +50 -50
  24. package/fastHttpsApp.js.map +1 -1
  25. package/fastTcpApp.js +32 -32
  26. package/fastTcpApp.js.map +1 -1
  27. package/fastTemplate.js +9 -9
  28. package/fastTemplate.js.map +1 -1
  29. package/fastUdpApp.js +44 -44
  30. package/fastUdpApp.js.map +1 -1
  31. package/ipsecPolicy.js +26 -26
  32. package/ipsecPolicy.js.map +1 -1
  33. package/ipsecProfile.js +10 -10
  34. package/ipsecProfile.js.map +1 -1
  35. package/ltm/cipherGroup.js +12 -12
  36. package/ltm/cipherGroup.js.map +1 -1
  37. package/ltm/cipherRule.js +13 -13
  38. package/ltm/cipherRule.js.map +1 -1
  39. package/ltm/dataGroup.js +13 -13
  40. package/ltm/dataGroup.js.map +1 -1
  41. package/ltm/irule.js +7 -7
  42. package/ltm/irule.js.map +1 -1
  43. package/ltm/monitor.d.ts +6 -24
  44. package/ltm/monitor.js +63 -63
  45. package/ltm/monitor.js.map +1 -1
  46. package/ltm/node.js +25 -25
  47. package/ltm/node.js.map +1 -1
  48. package/ltm/persistenceProfileCookie.d.ts +3 -6
  49. package/ltm/persistenceProfileCookie.js +39 -39
  50. package/ltm/persistenceProfileCookie.js.map +1 -1
  51. package/ltm/persistenceProfileDstAddr.d.ts +6 -12
  52. package/ltm/persistenceProfileDstAddr.js +25 -25
  53. package/ltm/persistenceProfileDstAddr.js.map +1 -1
  54. package/ltm/persistenceProfileSrcAddr.d.ts +6 -12
  55. package/ltm/persistenceProfileSrcAddr.js +27 -27
  56. package/ltm/persistenceProfileSrcAddr.js.map +1 -1
  57. package/ltm/persistenceProfileSsl.d.ts +3 -6
  58. package/ltm/persistenceProfileSsl.js +21 -21
  59. package/ltm/persistenceProfileSsl.js.map +1 -1
  60. package/ltm/policy.js +16 -16
  61. package/ltm/policy.js.map +1 -1
  62. package/ltm/pool.js +22 -22
  63. package/ltm/pool.js.map +1 -1
  64. package/ltm/poolAttachment.js +23 -23
  65. package/ltm/poolAttachment.js.map +1 -1
  66. package/ltm/profileBotDefense.d.ts +6 -12
  67. package/ltm/profileBotDefense.js +12 -12
  68. package/ltm/profileBotDefense.js.map +1 -1
  69. package/ltm/profileClientSsl.d.ts +12 -12
  70. package/ltm/profileClientSsl.js +118 -118
  71. package/ltm/profileClientSsl.js.map +1 -1
  72. package/ltm/profileFastHttp.js +24 -24
  73. package/ltm/profileFastHttp.js.map +1 -1
  74. package/ltm/profileFastL4.js +32 -32
  75. package/ltm/profileFastL4.js.map +1 -1
  76. package/ltm/profileFtp.d.ts +12 -24
  77. package/ltm/profileFtp.js +34 -34
  78. package/ltm/profileFtp.js.map +1 -1
  79. package/ltm/profileHttp.d.ts +3 -6
  80. package/ltm/profileHttp.js +60 -60
  81. package/ltm/profileHttp.js.map +1 -1
  82. package/ltm/profileHttp2.js +28 -28
  83. package/ltm/profileHttp2.js.map +1 -1
  84. package/ltm/profileHttpCompress.js +28 -28
  85. package/ltm/profileHttpCompress.js.map +1 -1
  86. package/ltm/profileOneConnect.js +22 -22
  87. package/ltm/profileOneConnect.js.map +1 -1
  88. package/ltm/profileRewrite.js +33 -33
  89. package/ltm/profileRewrite.js.map +1 -1
  90. package/ltm/profileRewriteUriRules.js +15 -15
  91. package/ltm/profileRewriteUriRules.js.map +1 -1
  92. package/ltm/profileServerSsl.d.ts +21 -21
  93. package/ltm/profileServerSsl.js +104 -104
  94. package/ltm/profileServerSsl.js.map +1 -1
  95. package/ltm/profileTcp.js +46 -46
  96. package/ltm/profileTcp.js.map +1 -1
  97. package/ltm/profileWebAcceleration.js +30 -30
  98. package/ltm/profileWebAcceleration.js.map +1 -1
  99. package/ltm/requestLogProfile.js +42 -42
  100. package/ltm/requestLogProfile.js.map +1 -1
  101. package/ltm/snat.js +25 -25
  102. package/ltm/snat.js.map +1 -1
  103. package/ltm/snatPool.js +7 -7
  104. package/ltm/snatPool.js.map +1 -1
  105. package/ltm/virtualAddress.js +18 -18
  106. package/ltm/virtualAddress.js.map +1 -1
  107. package/ltm/virtualServer.js +60 -60
  108. package/ltm/virtualServer.js.map +1 -1
  109. package/net/route.js +13 -13
  110. package/net/route.js.map +1 -1
  111. package/net/selfIp.js +14 -14
  112. package/net/selfIp.js.map +1 -1
  113. package/net/vlan.js +12 -12
  114. package/net/vlan.js.map +1 -1
  115. package/netIkePeer.d.ts +2 -0
  116. package/netIkePeer.js +73 -71
  117. package/netIkePeer.js.map +1 -1
  118. package/netTunnel.js +38 -38
  119. package/netTunnel.js.map +1 -1
  120. package/package.json +2 -2
  121. package/partition.js +8 -8
  122. package/partition.js.map +1 -1
  123. package/provider.js +13 -13
  124. package/provider.js.map +1 -1
  125. package/saasBotDefenseProfile.js +26 -26
  126. package/saasBotDefenseProfile.js.map +1 -1
  127. package/ssl/certificate.js +17 -17
  128. package/ssl/certificate.js.map +1 -1
  129. package/ssl/key.js +13 -13
  130. package/ssl/key.js.map +1 -1
  131. package/sslKeyCert.js +27 -27
  132. package/sslKeyCert.js.map +1 -1
  133. package/sys/bigIpLicense.js +7 -7
  134. package/sys/bigIpLicense.js.map +1 -1
  135. package/sys/dns.js +11 -11
  136. package/sys/dns.js.map +1 -1
  137. package/sys/iapp.js +37 -37
  138. package/sys/iapp.js.map +1 -1
  139. package/sys/ntp.js +9 -9
  140. package/sys/ntp.js.map +1 -1
  141. package/sys/ocsp.js +36 -36
  142. package/sys/ocsp.js.map +1 -1
  143. package/sys/provision.js +14 -14
  144. package/sys/provision.js.map +1 -1
  145. package/sys/snmp.js +7 -7
  146. package/sys/snmp.js.map +1 -1
  147. package/sys/snmpTraps.js +29 -29
  148. package/sys/snmpTraps.js.map +1 -1
  149. package/trafficSelector.js +24 -24
  150. package/trafficSelector.js.map +1 -1
  151. package/utilities.js +18 -29
  152. package/utilities.js.map +1 -1
  153. package/vcmp/guest.js +30 -30
  154. package/vcmp/guest.js.map +1 -1
  155. package/wafPolicy.d.ts +3 -9
  156. package/wafPolicy.js +56 -56
  157. package/wafPolicy.js.map +1 -1
@@ -85,8 +85,7 @@ export declare class PersistenceProfileSrcAddr extends pulumi.CustomResource {
85
85
  */
86
86
  readonly mapProxies: pulumi.Output<string>;
87
87
  /**
88
- * Identify a range of source IP addresses to manage together as a single source address affinity persistent connection
89
- * when connecting to the pool. Must be a valid IPv4 or IPv6 mask.
88
+ * Identify a range of source IP addresses to manage together as a single source address affinity persistent connection when connecting to the pool. Must be a valid IPv4 or IPv6 mask.
90
89
  */
91
90
  readonly mask: pulumi.Output<string>;
92
91
  /**
@@ -110,8 +109,7 @@ export declare class PersistenceProfileSrcAddr extends pulumi.CustomResource {
110
109
  */
111
110
  readonly name: pulumi.Output<string>;
112
111
  /**
113
- * To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection
114
- * limits remain hard limits and are not overridden.
112
+ * To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
115
113
  */
116
114
  readonly overrideConnLimit: pulumi.Output<string>;
117
115
  /**
@@ -145,8 +143,7 @@ export interface PersistenceProfileSrcAddrState {
145
143
  */
146
144
  mapProxies?: pulumi.Input<string>;
147
145
  /**
148
- * Identify a range of source IP addresses to manage together as a single source address affinity persistent connection
149
- * when connecting to the pool. Must be a valid IPv4 or IPv6 mask.
146
+ * Identify a range of source IP addresses to manage together as a single source address affinity persistent connection when connecting to the pool. Must be a valid IPv4 or IPv6 mask.
150
147
  */
151
148
  mask?: pulumi.Input<string>;
152
149
  /**
@@ -170,8 +167,7 @@ export interface PersistenceProfileSrcAddrState {
170
167
  */
171
168
  name?: pulumi.Input<string>;
172
169
  /**
173
- * To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection
174
- * limits remain hard limits and are not overridden.
170
+ * To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
175
171
  */
176
172
  overrideConnLimit?: pulumi.Input<string>;
177
173
  /**
@@ -197,8 +193,7 @@ export interface PersistenceProfileSrcAddrArgs {
197
193
  */
198
194
  mapProxies?: pulumi.Input<string>;
199
195
  /**
200
- * Identify a range of source IP addresses to manage together as a single source address affinity persistent connection
201
- * when connecting to the pool. Must be a valid IPv4 or IPv6 mask.
196
+ * Identify a range of source IP addresses to manage together as a single source address affinity persistent connection when connecting to the pool. Must be a valid IPv4 or IPv6 mask.
202
197
  */
203
198
  mask?: pulumi.Input<string>;
204
199
  /**
@@ -222,8 +217,7 @@ export interface PersistenceProfileSrcAddrArgs {
222
217
  */
223
218
  name: pulumi.Input<string>;
224
219
  /**
225
- * To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection
226
- * limits remain hard limits and are not overridden.
220
+ * To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
227
221
  */
228
222
  overrideConnLimit?: pulumi.Input<string>;
229
223
  /**
@@ -72,7 +72,7 @@ class PersistenceProfileSrcAddr extends pulumi.CustomResource {
72
72
  * @param opts Optional settings to control the behavior of the CustomResource.
73
73
  */
74
74
  static get(name, id, state, opts) {
75
- return new PersistenceProfileSrcAddr(name, state, Object.assign(Object.assign({}, opts), { id: id }));
75
+ return new PersistenceProfileSrcAddr(name, state, { ...opts, id: id });
76
76
  }
77
77
  /**
78
78
  * Returns true if the given object is an instance of PersistenceProfileSrcAddr. This is designed to work even
@@ -89,39 +89,39 @@ class PersistenceProfileSrcAddr extends pulumi.CustomResource {
89
89
  opts = opts || {};
90
90
  if (opts.id) {
91
91
  const state = argsOrState;
92
- resourceInputs["appService"] = state ? state.appService : undefined;
93
- resourceInputs["defaultsFrom"] = state ? state.defaultsFrom : undefined;
94
- resourceInputs["hashAlgorithm"] = state ? state.hashAlgorithm : undefined;
95
- resourceInputs["mapProxies"] = state ? state.mapProxies : undefined;
96
- resourceInputs["mask"] = state ? state.mask : undefined;
97
- resourceInputs["matchAcrossPools"] = state ? state.matchAcrossPools : undefined;
98
- resourceInputs["matchAcrossServices"] = state ? state.matchAcrossServices : undefined;
99
- resourceInputs["matchAcrossVirtuals"] = state ? state.matchAcrossVirtuals : undefined;
100
- resourceInputs["mirror"] = state ? state.mirror : undefined;
101
- resourceInputs["name"] = state ? state.name : undefined;
102
- resourceInputs["overrideConnLimit"] = state ? state.overrideConnLimit : undefined;
103
- resourceInputs["timeout"] = state ? state.timeout : undefined;
92
+ resourceInputs["appService"] = state?.appService;
93
+ resourceInputs["defaultsFrom"] = state?.defaultsFrom;
94
+ resourceInputs["hashAlgorithm"] = state?.hashAlgorithm;
95
+ resourceInputs["mapProxies"] = state?.mapProxies;
96
+ resourceInputs["mask"] = state?.mask;
97
+ resourceInputs["matchAcrossPools"] = state?.matchAcrossPools;
98
+ resourceInputs["matchAcrossServices"] = state?.matchAcrossServices;
99
+ resourceInputs["matchAcrossVirtuals"] = state?.matchAcrossVirtuals;
100
+ resourceInputs["mirror"] = state?.mirror;
101
+ resourceInputs["name"] = state?.name;
102
+ resourceInputs["overrideConnLimit"] = state?.overrideConnLimit;
103
+ resourceInputs["timeout"] = state?.timeout;
104
104
  }
105
105
  else {
106
106
  const args = argsOrState;
107
- if ((!args || args.defaultsFrom === undefined) && !opts.urn) {
107
+ if (args?.defaultsFrom === undefined && !opts.urn) {
108
108
  throw new Error("Missing required property 'defaultsFrom'");
109
109
  }
110
- if ((!args || args.name === undefined) && !opts.urn) {
110
+ if (args?.name === undefined && !opts.urn) {
111
111
  throw new Error("Missing required property 'name'");
112
112
  }
113
- resourceInputs["appService"] = args ? args.appService : undefined;
114
- resourceInputs["defaultsFrom"] = args ? args.defaultsFrom : undefined;
115
- resourceInputs["hashAlgorithm"] = args ? args.hashAlgorithm : undefined;
116
- resourceInputs["mapProxies"] = args ? args.mapProxies : undefined;
117
- resourceInputs["mask"] = args ? args.mask : undefined;
118
- resourceInputs["matchAcrossPools"] = args ? args.matchAcrossPools : undefined;
119
- resourceInputs["matchAcrossServices"] = args ? args.matchAcrossServices : undefined;
120
- resourceInputs["matchAcrossVirtuals"] = args ? args.matchAcrossVirtuals : undefined;
121
- resourceInputs["mirror"] = args ? args.mirror : undefined;
122
- resourceInputs["name"] = args ? args.name : undefined;
123
- resourceInputs["overrideConnLimit"] = args ? args.overrideConnLimit : undefined;
124
- resourceInputs["timeout"] = args ? args.timeout : undefined;
113
+ resourceInputs["appService"] = args?.appService;
114
+ resourceInputs["defaultsFrom"] = args?.defaultsFrom;
115
+ resourceInputs["hashAlgorithm"] = args?.hashAlgorithm;
116
+ resourceInputs["mapProxies"] = args?.mapProxies;
117
+ resourceInputs["mask"] = args?.mask;
118
+ resourceInputs["matchAcrossPools"] = args?.matchAcrossPools;
119
+ resourceInputs["matchAcrossServices"] = args?.matchAcrossServices;
120
+ resourceInputs["matchAcrossVirtuals"] = args?.matchAcrossVirtuals;
121
+ resourceInputs["mirror"] = args?.mirror;
122
+ resourceInputs["name"] = args?.name;
123
+ resourceInputs["overrideConnLimit"] = args?.overrideConnLimit;
124
+ resourceInputs["timeout"] = args?.timeout;
125
125
  }
126
126
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
127
127
  super(PersistenceProfileSrcAddr.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"persistenceProfileSrcAddr.js","sourceRoot":"","sources":["../../ltm/persistenceProfileSrcAddr.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IA0DD,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,eAAe,CAAC,GAAG,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AAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AA1HL,8DA2HC;AA7GG,gBAAgB;AACO,sCAAY,GAAG,iEAAiE,CAAC"}
@@ -88,8 +88,7 @@ export declare class PersistenceProfileSsl extends pulumi.CustomResource {
88
88
  */
89
89
  readonly name: pulumi.Output<string>;
90
90
  /**
91
- * To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection
92
- * limits remain hard limits and are not overridden.
91
+ * To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
93
92
  */
94
93
  readonly overrideConnLimit: pulumi.Output<string>;
95
94
  /**
@@ -135,8 +134,7 @@ export interface PersistenceProfileSslState {
135
134
  */
136
135
  name?: pulumi.Input<string>;
137
136
  /**
138
- * To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection
139
- * limits remain hard limits and are not overridden.
137
+ * To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
140
138
  */
141
139
  overrideConnLimit?: pulumi.Input<string>;
142
140
  /**
@@ -174,8 +172,7 @@ export interface PersistenceProfileSslArgs {
174
172
  */
175
173
  name: pulumi.Input<string>;
176
174
  /**
177
- * To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection
178
- * limits remain hard limits and are not overridden.
175
+ * To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
179
176
  */
180
177
  overrideConnLimit?: pulumi.Input<string>;
181
178
  /**
@@ -63,7 +63,7 @@ class PersistenceProfileSsl extends pulumi.CustomResource {
63
63
  * @param opts Optional settings to control the behavior of the CustomResource.
64
64
  */
65
65
  static get(name, id, state, opts) {
66
- return new PersistenceProfileSsl(name, state, Object.assign(Object.assign({}, opts), { id: id }));
66
+ return new PersistenceProfileSsl(name, state, { ...opts, id: id });
67
67
  }
68
68
  /**
69
69
  * Returns true if the given object is an instance of PersistenceProfileSsl. This is designed to work even
@@ -80,33 +80,33 @@ class PersistenceProfileSsl extends pulumi.CustomResource {
80
80
  opts = opts || {};
81
81
  if (opts.id) {
82
82
  const state = argsOrState;
83
- resourceInputs["appService"] = state ? state.appService : undefined;
84
- resourceInputs["defaultsFrom"] = state ? state.defaultsFrom : undefined;
85
- resourceInputs["matchAcrossPools"] = state ? state.matchAcrossPools : undefined;
86
- resourceInputs["matchAcrossServices"] = state ? state.matchAcrossServices : undefined;
87
- resourceInputs["matchAcrossVirtuals"] = state ? state.matchAcrossVirtuals : undefined;
88
- resourceInputs["mirror"] = state ? state.mirror : undefined;
89
- resourceInputs["name"] = state ? state.name : undefined;
90
- resourceInputs["overrideConnLimit"] = state ? state.overrideConnLimit : undefined;
91
- resourceInputs["timeout"] = state ? state.timeout : undefined;
83
+ resourceInputs["appService"] = state?.appService;
84
+ resourceInputs["defaultsFrom"] = state?.defaultsFrom;
85
+ resourceInputs["matchAcrossPools"] = state?.matchAcrossPools;
86
+ resourceInputs["matchAcrossServices"] = state?.matchAcrossServices;
87
+ resourceInputs["matchAcrossVirtuals"] = state?.matchAcrossVirtuals;
88
+ resourceInputs["mirror"] = state?.mirror;
89
+ resourceInputs["name"] = state?.name;
90
+ resourceInputs["overrideConnLimit"] = state?.overrideConnLimit;
91
+ resourceInputs["timeout"] = state?.timeout;
92
92
  }
93
93
  else {
94
94
  const args = argsOrState;
95
- if ((!args || args.defaultsFrom === undefined) && !opts.urn) {
95
+ if (args?.defaultsFrom === undefined && !opts.urn) {
96
96
  throw new Error("Missing required property 'defaultsFrom'");
97
97
  }
98
- if ((!args || args.name === undefined) && !opts.urn) {
98
+ if (args?.name === undefined && !opts.urn) {
99
99
  throw new Error("Missing required property 'name'");
100
100
  }
101
- resourceInputs["appService"] = args ? args.appService : undefined;
102
- resourceInputs["defaultsFrom"] = args ? args.defaultsFrom : undefined;
103
- resourceInputs["matchAcrossPools"] = args ? args.matchAcrossPools : undefined;
104
- resourceInputs["matchAcrossServices"] = args ? args.matchAcrossServices : undefined;
105
- resourceInputs["matchAcrossVirtuals"] = args ? args.matchAcrossVirtuals : undefined;
106
- resourceInputs["mirror"] = args ? args.mirror : undefined;
107
- resourceInputs["name"] = args ? args.name : undefined;
108
- resourceInputs["overrideConnLimit"] = args ? args.overrideConnLimit : undefined;
109
- resourceInputs["timeout"] = args ? args.timeout : undefined;
101
+ resourceInputs["appService"] = args?.appService;
102
+ resourceInputs["defaultsFrom"] = args?.defaultsFrom;
103
+ resourceInputs["matchAcrossPools"] = args?.matchAcrossPools;
104
+ resourceInputs["matchAcrossServices"] = args?.matchAcrossServices;
105
+ resourceInputs["matchAcrossVirtuals"] = args?.matchAcrossVirtuals;
106
+ resourceInputs["mirror"] = args?.mirror;
107
+ resourceInputs["name"] = args?.name;
108
+ resourceInputs["overrideConnLimit"] = args?.overrideConnLimit;
109
+ resourceInputs["timeout"] = args?.timeout;
110
110
  }
111
111
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
112
112
  super(PersistenceProfileSsl.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"persistenceProfileSsl.js","sourceRoot":"","sources":["../../ltm/persistenceProfileSsl.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IA6CD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,I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CAAC;YACpC,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAxGL,sDAyGC;AA3FG,gBAAgB;AACO,kCAAY,GAAG,yDAAyD,CAAC"}
package/ltm/policy.js CHANGED
@@ -59,7 +59,7 @@ class Policy extends pulumi.CustomResource {
59
59
  * @param opts Optional settings to control the behavior of the CustomResource.
60
60
  */
61
61
  static get(name, id, state, opts) {
62
- return new Policy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
62
+ return new Policy(name, state, { ...opts, id: id });
63
63
  }
64
64
  /**
65
65
  * Returns true if the given object is an instance of Policy. This is designed to work even
@@ -76,26 +76,26 @@ class Policy extends pulumi.CustomResource {
76
76
  opts = opts || {};
77
77
  if (opts.id) {
78
78
  const state = argsOrState;
79
- resourceInputs["controls"] = state ? state.controls : undefined;
80
- resourceInputs["description"] = state ? state.description : undefined;
81
- resourceInputs["name"] = state ? state.name : undefined;
82
- resourceInputs["publishedCopy"] = state ? state.publishedCopy : undefined;
83
- resourceInputs["requires"] = state ? state.requires : undefined;
84
- resourceInputs["rules"] = state ? state.rules : undefined;
85
- resourceInputs["strategy"] = state ? state.strategy : undefined;
79
+ resourceInputs["controls"] = state?.controls;
80
+ resourceInputs["description"] = state?.description;
81
+ resourceInputs["name"] = state?.name;
82
+ resourceInputs["publishedCopy"] = state?.publishedCopy;
83
+ resourceInputs["requires"] = state?.requires;
84
+ resourceInputs["rules"] = state?.rules;
85
+ resourceInputs["strategy"] = state?.strategy;
86
86
  }
87
87
  else {
88
88
  const args = argsOrState;
89
- if ((!args || args.name === undefined) && !opts.urn) {
89
+ if (args?.name === undefined && !opts.urn) {
90
90
  throw new Error("Missing required property 'name'");
91
91
  }
92
- resourceInputs["controls"] = args ? args.controls : undefined;
93
- resourceInputs["description"] = args ? args.description : undefined;
94
- resourceInputs["name"] = args ? args.name : undefined;
95
- resourceInputs["publishedCopy"] = args ? args.publishedCopy : undefined;
96
- resourceInputs["requires"] = args ? args.requires : undefined;
97
- resourceInputs["rules"] = args ? args.rules : undefined;
98
- resourceInputs["strategy"] = args ? args.strategy : undefined;
92
+ resourceInputs["controls"] = args?.controls;
93
+ resourceInputs["description"] = args?.description;
94
+ resourceInputs["name"] = args?.name;
95
+ resourceInputs["publishedCopy"] = args?.publishedCopy;
96
+ resourceInputs["requires"] = args?.requires;
97
+ resourceInputs["rules"] = args?.rules;
98
+ resourceInputs["strategy"] = args?.strategy;
99
99
  }
100
100
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
101
101
  super(Policy.__pulumiType, name, resourceInputs, opts);
package/ltm/policy.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"policy.js","sourceRoot":"","sources":["../../ltm/policy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,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AAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA9FL,wBA+FC;AAjFG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
package/ltm/pool.js CHANGED
@@ -49,7 +49,7 @@ class Pool extends pulumi.CustomResource {
49
49
  * @param opts Optional settings to control the behavior of the CustomResource.
50
50
  */
51
51
  static get(name, id, state, opts) {
52
- return new Pool(name, state, Object.assign(Object.assign({}, opts), { id: id }));
52
+ return new Pool(name, state, { ...opts, id: id });
53
53
  }
54
54
  /**
55
55
  * Returns true if the given object is an instance of Pool. This is designed to work even
@@ -66,32 +66,32 @@ class Pool extends pulumi.CustomResource {
66
66
  opts = opts || {};
67
67
  if (opts.id) {
68
68
  const state = argsOrState;
69
- resourceInputs["allowNat"] = state ? state.allowNat : undefined;
70
- resourceInputs["allowSnat"] = state ? state.allowSnat : undefined;
71
- resourceInputs["description"] = state ? state.description : undefined;
72
- resourceInputs["loadBalancingMode"] = state ? state.loadBalancingMode : undefined;
73
- resourceInputs["minimumActiveMembers"] = state ? state.minimumActiveMembers : undefined;
74
- resourceInputs["monitors"] = state ? state.monitors : undefined;
75
- resourceInputs["name"] = state ? state.name : undefined;
76
- resourceInputs["reselectTries"] = state ? state.reselectTries : undefined;
77
- resourceInputs["serviceDownAction"] = state ? state.serviceDownAction : undefined;
78
- resourceInputs["slowRampTime"] = state ? state.slowRampTime : undefined;
69
+ resourceInputs["allowNat"] = state?.allowNat;
70
+ resourceInputs["allowSnat"] = state?.allowSnat;
71
+ resourceInputs["description"] = state?.description;
72
+ resourceInputs["loadBalancingMode"] = state?.loadBalancingMode;
73
+ resourceInputs["minimumActiveMembers"] = state?.minimumActiveMembers;
74
+ resourceInputs["monitors"] = state?.monitors;
75
+ resourceInputs["name"] = state?.name;
76
+ resourceInputs["reselectTries"] = state?.reselectTries;
77
+ resourceInputs["serviceDownAction"] = state?.serviceDownAction;
78
+ resourceInputs["slowRampTime"] = state?.slowRampTime;
79
79
  }
80
80
  else {
81
81
  const args = argsOrState;
82
- if ((!args || args.name === undefined) && !opts.urn) {
82
+ if (args?.name === undefined && !opts.urn) {
83
83
  throw new Error("Missing required property 'name'");
84
84
  }
85
- resourceInputs["allowNat"] = args ? args.allowNat : undefined;
86
- resourceInputs["allowSnat"] = args ? args.allowSnat : undefined;
87
- resourceInputs["description"] = args ? args.description : undefined;
88
- resourceInputs["loadBalancingMode"] = args ? args.loadBalancingMode : undefined;
89
- resourceInputs["minimumActiveMembers"] = args ? args.minimumActiveMembers : undefined;
90
- resourceInputs["monitors"] = args ? args.monitors : undefined;
91
- resourceInputs["name"] = args ? args.name : undefined;
92
- resourceInputs["reselectTries"] = args ? args.reselectTries : undefined;
93
- resourceInputs["serviceDownAction"] = args ? args.serviceDownAction : undefined;
94
- resourceInputs["slowRampTime"] = args ? args.slowRampTime : undefined;
85
+ resourceInputs["allowNat"] = args?.allowNat;
86
+ resourceInputs["allowSnat"] = args?.allowSnat;
87
+ resourceInputs["description"] = args?.description;
88
+ resourceInputs["loadBalancingMode"] = args?.loadBalancingMode;
89
+ resourceInputs["minimumActiveMembers"] = args?.minimumActiveMembers;
90
+ resourceInputs["monitors"] = args?.monitors;
91
+ resourceInputs["name"] = args?.name;
92
+ resourceInputs["reselectTries"] = args?.reselectTries;
93
+ resourceInputs["serviceDownAction"] = args?.serviceDownAction;
94
+ resourceInputs["slowRampTime"] = args?.slowRampTime;
95
95
  }
96
96
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
97
97
  super(Pool.__pulumiType, name, resourceInputs, opts);
package/ltm/pool.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"pool.js","sourceRoot":"","sources":["../../ltm/pool.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EA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AAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA9GL,oBA+GC;AAjGG,gBAAgB;AACO,iBAAY,GAAG,uBAAuB,CAAC"}
@@ -102,7 +102,7 @@ class PoolAttachment extends pulumi.CustomResource {
102
102
  * @param opts Optional settings to control the behavior of the CustomResource.
103
103
  */
104
104
  static get(name, id, state, opts) {
105
- return new PoolAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
105
+ return new PoolAttachment(name, state, { ...opts, id: id });
106
106
  }
107
107
  /**
108
108
  * Returns true if the given object is an instance of PoolAttachment. This is designed to work even
@@ -119,35 +119,35 @@ class PoolAttachment extends pulumi.CustomResource {
119
119
  opts = opts || {};
120
120
  if (opts.id) {
121
121
  const state = argsOrState;
122
- resourceInputs["connectionLimit"] = state ? state.connectionLimit : undefined;
123
- resourceInputs["connectionRateLimit"] = state ? state.connectionRateLimit : undefined;
124
- resourceInputs["dynamicRatio"] = state ? state.dynamicRatio : undefined;
125
- resourceInputs["fqdnAutopopulate"] = state ? state.fqdnAutopopulate : undefined;
126
- resourceInputs["monitor"] = state ? state.monitor : undefined;
127
- resourceInputs["node"] = state ? state.node : undefined;
128
- resourceInputs["pool"] = state ? state.pool : undefined;
129
- resourceInputs["priorityGroup"] = state ? state.priorityGroup : undefined;
130
- resourceInputs["ratio"] = state ? state.ratio : undefined;
131
- resourceInputs["state"] = state ? state.state : undefined;
122
+ resourceInputs["connectionLimit"] = state?.connectionLimit;
123
+ resourceInputs["connectionRateLimit"] = state?.connectionRateLimit;
124
+ resourceInputs["dynamicRatio"] = state?.dynamicRatio;
125
+ resourceInputs["fqdnAutopopulate"] = state?.fqdnAutopopulate;
126
+ resourceInputs["monitor"] = state?.monitor;
127
+ resourceInputs["node"] = state?.node;
128
+ resourceInputs["pool"] = state?.pool;
129
+ resourceInputs["priorityGroup"] = state?.priorityGroup;
130
+ resourceInputs["ratio"] = state?.ratio;
131
+ resourceInputs["state"] = state?.state;
132
132
  }
133
133
  else {
134
134
  const args = argsOrState;
135
- if ((!args || args.node === undefined) && !opts.urn) {
135
+ if (args?.node === undefined && !opts.urn) {
136
136
  throw new Error("Missing required property 'node'");
137
137
  }
138
- if ((!args || args.pool === undefined) && !opts.urn) {
138
+ if (args?.pool === undefined && !opts.urn) {
139
139
  throw new Error("Missing required property 'pool'");
140
140
  }
141
- resourceInputs["connectionLimit"] = args ? args.connectionLimit : undefined;
142
- resourceInputs["connectionRateLimit"] = args ? args.connectionRateLimit : undefined;
143
- resourceInputs["dynamicRatio"] = args ? args.dynamicRatio : undefined;
144
- resourceInputs["fqdnAutopopulate"] = args ? args.fqdnAutopopulate : undefined;
145
- resourceInputs["monitor"] = args ? args.monitor : undefined;
146
- resourceInputs["node"] = args ? args.node : undefined;
147
- resourceInputs["pool"] = args ? args.pool : undefined;
148
- resourceInputs["priorityGroup"] = args ? args.priorityGroup : undefined;
149
- resourceInputs["ratio"] = args ? args.ratio : undefined;
150
- resourceInputs["state"] = args ? args.state : undefined;
141
+ resourceInputs["connectionLimit"] = args?.connectionLimit;
142
+ resourceInputs["connectionRateLimit"] = args?.connectionRateLimit;
143
+ resourceInputs["dynamicRatio"] = args?.dynamicRatio;
144
+ resourceInputs["fqdnAutopopulate"] = args?.fqdnAutopopulate;
145
+ resourceInputs["monitor"] = args?.monitor;
146
+ resourceInputs["node"] = args?.node;
147
+ resourceInputs["pool"] = args?.pool;
148
+ resourceInputs["priorityGroup"] = args?.priorityGroup;
149
+ resourceInputs["ratio"] = args?.ratio;
150
+ resourceInputs["state"] = args?.state;
151
151
  }
152
152
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
153
153
  super(PoolAttachment.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"poolAttachment.js","sourceRoot":"","sources":["../../ltm/poolAttachment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqFG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,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C,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;SACzC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAjHL,wCAkHC;AApGG,gBAAgB;AACO,2BAAY,GAAG,2CAA2C,CAAC"}
@@ -16,8 +16,7 @@ export declare class ProfileBotDefense extends pulumi.CustomResource {
16
16
  */
17
17
  static isInstance(obj: any): obj is ProfileBotDefense;
18
18
  /**
19
- * Specifies the profile from which this profile inherits settings. The default is the system-supplied `request-log`
20
- * profile
19
+ * Specifies the profile from which this profile inherits settings. The default is the system-supplied `request-log` profile
21
20
  */
22
21
  readonly defaultsFrom: pulumi.Output<string | undefined>;
23
22
  /**
@@ -33,8 +32,7 @@ export declare class ProfileBotDefense extends pulumi.CustomResource {
33
32
  */
34
33
  readonly name: pulumi.Output<string>;
35
34
  /**
36
- * Profile templates specify Mitigation and Verification Settings default values. possible ptions `balanced`,`relaxed` and
37
- * `strict`
35
+ * Profile templates specify Mitigation and Verification Settings default values. possible ptions `balanced`,`relaxed` and `strict`
38
36
  */
39
37
  readonly template: pulumi.Output<string>;
40
38
  /**
@@ -51,8 +49,7 @@ export declare class ProfileBotDefense extends pulumi.CustomResource {
51
49
  */
52
50
  export interface ProfileBotDefenseState {
53
51
  /**
54
- * Specifies the profile from which this profile inherits settings. The default is the system-supplied `request-log`
55
- * profile
52
+ * Specifies the profile from which this profile inherits settings. The default is the system-supplied `request-log` profile
56
53
  */
57
54
  defaultsFrom?: pulumi.Input<string>;
58
55
  /**
@@ -68,8 +65,7 @@ export interface ProfileBotDefenseState {
68
65
  */
69
66
  name?: pulumi.Input<string>;
70
67
  /**
71
- * Profile templates specify Mitigation and Verification Settings default values. possible ptions `balanced`,`relaxed` and
72
- * `strict`
68
+ * Profile templates specify Mitigation and Verification Settings default values. possible ptions `balanced`,`relaxed` and `strict`
73
69
  */
74
70
  template?: pulumi.Input<string>;
75
71
  }
@@ -78,8 +74,7 @@ export interface ProfileBotDefenseState {
78
74
  */
79
75
  export interface ProfileBotDefenseArgs {
80
76
  /**
81
- * Specifies the profile from which this profile inherits settings. The default is the system-supplied `request-log`
82
- * profile
77
+ * Specifies the profile from which this profile inherits settings. The default is the system-supplied `request-log` profile
83
78
  */
84
79
  defaultsFrom?: pulumi.Input<string>;
85
80
  /**
@@ -95,8 +90,7 @@ export interface ProfileBotDefenseArgs {
95
90
  */
96
91
  name: pulumi.Input<string>;
97
92
  /**
98
- * Profile templates specify Mitigation and Verification Settings default values. possible ptions `balanced`,`relaxed` and
99
- * `strict`
93
+ * Profile templates specify Mitigation and Verification Settings default values. possible ptions `balanced`,`relaxed` and `strict`
100
94
  */
101
95
  template?: pulumi.Input<string>;
102
96
  }
@@ -16,7 +16,7 @@ class ProfileBotDefense extends pulumi.CustomResource {
16
16
  * @param opts Optional settings to control the behavior of the CustomResource.
17
17
  */
18
18
  static get(name, id, state, opts) {
19
- return new ProfileBotDefense(name, state, Object.assign(Object.assign({}, opts), { id: id }));
19
+ return new ProfileBotDefense(name, state, { ...opts, id: id });
20
20
  }
21
21
  /**
22
22
  * Returns true if the given object is an instance of ProfileBotDefense. This is designed to work even
@@ -33,22 +33,22 @@ class ProfileBotDefense extends pulumi.CustomResource {
33
33
  opts = opts || {};
34
34
  if (opts.id) {
35
35
  const state = argsOrState;
36
- resourceInputs["defaultsFrom"] = state ? state.defaultsFrom : undefined;
37
- resourceInputs["description"] = state ? state.description : undefined;
38
- resourceInputs["enforcementMode"] = state ? state.enforcementMode : undefined;
39
- resourceInputs["name"] = state ? state.name : undefined;
40
- resourceInputs["template"] = state ? state.template : undefined;
36
+ resourceInputs["defaultsFrom"] = state?.defaultsFrom;
37
+ resourceInputs["description"] = state?.description;
38
+ resourceInputs["enforcementMode"] = state?.enforcementMode;
39
+ resourceInputs["name"] = state?.name;
40
+ resourceInputs["template"] = state?.template;
41
41
  }
42
42
  else {
43
43
  const args = argsOrState;
44
- if ((!args || args.name === undefined) && !opts.urn) {
44
+ if (args?.name === undefined && !opts.urn) {
45
45
  throw new Error("Missing required property 'name'");
46
46
  }
47
- resourceInputs["defaultsFrom"] = args ? args.defaultsFrom : undefined;
48
- resourceInputs["description"] = args ? args.description : undefined;
49
- resourceInputs["enforcementMode"] = args ? args.enforcementMode : undefined;
50
- resourceInputs["name"] = args ? args.name : undefined;
51
- resourceInputs["template"] = args ? args.template : undefined;
47
+ resourceInputs["defaultsFrom"] = args?.defaultsFrom;
48
+ resourceInputs["description"] = args?.description;
49
+ resourceInputs["enforcementMode"] = args?.enforcementMode;
50
+ resourceInputs["name"] = args?.name;
51
+ resourceInputs["template"] = args?.template;
52
52
  }
53
53
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
54
54
  super(ProfileBotDefense.__pulumiType, name, resourceInputs, opts);