sparkle_formation 3.0.32 → 3.0.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/LICENSE +1 -1
- data/lib/sparkle_formation/provider/terraform.rb +9 -1
- data/lib/sparkle_formation/resources.rb +7 -0
- data/lib/sparkle_formation/resources/aws.rb +18 -24
- data/lib/sparkle_formation/resources/aws_resources.json +2107 -186
- data/lib/sparkle_formation/resources/azure_resources.json +16497 -5796
- data/lib/sparkle_formation/resources/heat_resources.json +190 -4
- data/lib/sparkle_formation/resources/terraform.rb +16 -0
- data/lib/sparkle_formation/resources/terraform_account_resources.json +24 -0
- data/lib/sparkle_formation/resources/terraform_acme_resources.json +59 -0
- data/lib/sparkle_formation/resources/terraform_alicloud_resources.json +4023 -0
- data/lib/sparkle_formation/resources/terraform_arukas_resources.json +49 -0
- data/lib/sparkle_formation/resources/terraform_aws_resources.json +15899 -0
- data/lib/sparkle_formation/resources/terraform_azure_resources.json +572 -0
- data/lib/sparkle_formation/resources/terraform_azurerm_resources.json +6632 -0
- data/lib/sparkle_formation/resources/terraform_azurestack_resources.json +1231 -0
- data/lib/sparkle_formation/resources/terraform_bigip_resources.json +1004 -0
- data/lib/sparkle_formation/resources/terraform_bitbucket_resources.json +123 -0
- data/lib/sparkle_formation/resources/terraform_brightbox_resources.json +283 -0
- data/lib/sparkle_formation/resources/terraform_bucket_resources.json +24 -0
- data/lib/sparkle_formation/resources/terraform_chef_resources.json +132 -0
- data/lib/sparkle_formation/resources/terraform_circonus_resources.json +406 -0
- data/lib/sparkle_formation/resources/terraform_clc_resources.json +222 -0
- data/lib/sparkle_formation/resources/terraform_cloudflare_resources.json +638 -0
- data/lib/sparkle_formation/resources/terraform_cloudscale_resources.json +96 -0
- data/lib/sparkle_formation/resources/terraform_cloudstack_resources.json +888 -0
- data/lib/sparkle_formation/resources/terraform_cobbler_resources.json +589 -0
- data/lib/sparkle_formation/resources/terraform_consul_resources.json +297 -0
- data/lib/sparkle_formation/resources/terraform_databases_resources.json +14 -0
- data/lib/sparkle_formation/resources/terraform_datadog_resources.json +385 -0
- data/lib/sparkle_formation/resources/terraform_digitalocean_resources.json +408 -0
- data/lib/sparkle_formation/resources/terraform_dme_resources.json +29 -0
- data/lib/sparkle_formation/resources/terraform_dns_resources.json +137 -0
- data/lib/sparkle_formation/resources/terraform_dnsimple_resources.json +39 -0
- data/lib/sparkle_formation/resources/terraform_docker_resources.json +266 -0
- data/lib/sparkle_formation/resources/terraform_dyn_resources.json +34 -0
- data/lib/sparkle_formation/resources/terraform_fastly_resources.json +124 -0
- data/lib/sparkle_formation/resources/terraform_flexibleengine_resources.json +2915 -0
- data/lib/sparkle_formation/resources/terraform_github_resources.json +449 -0
- data/lib/sparkle_formation/resources/terraform_gitlab_resources.json +267 -0
- data/lib/sparkle_formation/resources/terraform_google_resources.json +2485 -0
- data/lib/sparkle_formation/resources/terraform_grafana_resources.json +135 -0
- data/lib/sparkle_formation/resources/terraform_hcloud_resources.json +201 -0
- data/lib/sparkle_formation/resources/terraform_heroku_resources.json +447 -0
- data/lib/sparkle_formation/resources/terraform_huaweicloud_resources.json +2508 -0
- data/lib/sparkle_formation/resources/terraform_icinga2_resources.json +100 -0
- data/lib/sparkle_formation/resources/terraform_influxdb_resources.json +68 -0
- data/lib/sparkle_formation/resources/terraform_kubernetes_resources.json +277 -0
- data/lib/sparkle_formation/resources/terraform_librato_resources.json +167 -0
- data/lib/sparkle_formation/resources/terraform_linode_resources.json +252 -0
- data/lib/sparkle_formation/resources/terraform_local_resources.json +19 -0
- data/lib/sparkle_formation/resources/terraform_logentries_resources.json +56 -0
- data/lib/sparkle_formation/resources/terraform_logicmonitor_resources.json +140 -0
- data/lib/sparkle_formation/resources/terraform_mailgun_resources.json +29 -0
- data/lib/sparkle_formation/resources/terraform_mysql_resources.json +143 -0
- data/lib/sparkle_formation/resources/terraform_netlify_resources.json +90 -0
- data/lib/sparkle_formation/resources/terraform_newrelic_resources.json +298 -0
- data/lib/sparkle_formation/resources/terraform_nomad_resources.json +149 -0
- data/lib/sparkle_formation/resources/terraform_ns1_resources.json +320 -0
- data/lib/sparkle_formation/resources/terraform_nsxt_resources.json +813 -0
- data/lib/sparkle_formation/resources/terraform_nutanix_resources.json +596 -0
- data/lib/sparkle_formation/resources/terraform_oci_resources.json +3567 -0
- data/lib/sparkle_formation/resources/terraform_oneandone_resources.json +221 -0
- data/lib/sparkle_formation/resources/terraform_opc_resources.json +1224 -0
- data/lib/sparkle_formation/resources/terraform_openstack_resources.json +3293 -0
- data/lib/sparkle_formation/resources/terraform_opentelekomcloud_resources.json +2881 -0
- data/lib/sparkle_formation/resources/terraform_opsgenie_resources.json +56 -0
- data/lib/sparkle_formation/resources/terraform_oraclepaas_resources.json +551 -0
- data/lib/sparkle_formation/resources/terraform_ovh_resources.json +541 -0
- data/lib/sparkle_formation/resources/terraform_packet_resources.json +295 -0
- data/lib/sparkle_formation/resources/terraform_pagerduty_resources.json +329 -0
- data/lib/sparkle_formation/resources/terraform_panos_resources.json +2686 -0
- data/lib/sparkle_formation/resources/terraform_postgresql_resources.json +181 -0
- data/lib/sparkle_formation/resources/terraform_powerdns_resources.json +34 -0
- data/lib/sparkle_formation/resources/terraform_profitbricks_resources.json +523 -0
- data/lib/sparkle_formation/resources/terraform_projects_resources.json +24 -0
- data/lib/sparkle_formation/resources/terraform_rabbitmq_resources.json +161 -0
- data/lib/sparkle_formation/resources/terraform_rancher_resources.json +310 -0
- data/lib/sparkle_formation/resources/terraform_random_resources.json +167 -0
- data/lib/sparkle_formation/resources/terraform_rightscale_resources.json +796 -0
- data/lib/sparkle_formation/resources/terraform_ring_resources.json +24 -0
- data/lib/sparkle_formation/resources/terraform_rundeck_resources.json +175 -0
- data/lib/sparkle_formation/resources/terraform_runscope_resources.json +167 -0
- data/lib/sparkle_formation/resources/terraform_scaleway_resources.json +267 -0
- data/lib/sparkle_formation/resources/terraform_ses_resources.json +24 -0
- data/lib/sparkle_formation/resources/terraform_sfn_resources.json +36 -0
- data/lib/sparkle_formation/resources/terraform_softlayer_resources.json +136 -0
- data/lib/sparkle_formation/resources/terraform_spotinst_resources.json +237 -0
- data/lib/sparkle_formation/resources/terraform_statuscake_resources.json +159 -0
- data/lib/sparkle_formation/resources/terraform_subnetwork_resources.json +24 -0
- data/lib/sparkle_formation/resources/terraform_telefonicaopencloud_resources.json +1558 -0
- data/lib/sparkle_formation/resources/terraform_template_resources.json +24 -0
- data/lib/sparkle_formation/resources/terraform_tencentcloud_resources.json +656 -0
- data/lib/sparkle_formation/resources/terraform_tfe_resources.json +306 -0
- data/lib/sparkle_formation/resources/terraform_tls_resources.json +120 -0
- data/lib/sparkle_formation/resources/terraform_triton_resources.json +291 -0
- data/lib/sparkle_formation/resources/terraform_ultradns_resources.json +222 -0
- data/lib/sparkle_formation/resources/terraform_vault_resources.json +1414 -0
- data/lib/sparkle_formation/resources/terraform_vcd_resources.json +311 -0
- data/lib/sparkle_formation/resources/terraform_vsphere_resources.json +1076 -0
- data/lib/sparkle_formation/sparkle_attribute/aws.rb +78 -32
- data/lib/sparkle_formation/sparkle_attribute/terraform.rb +24 -5
- data/lib/sparkle_formation/sparkle_formation.rb +18 -4
- data/lib/sparkle_formation/version.rb +1 -1
- data/sparkle_formation.gemspec +23 -23
- metadata +97 -5
@@ -0,0 +1,638 @@
|
|
1
|
+
{
|
2
|
+
"cloudflare_access_application": {
|
3
|
+
"full_properties": {
|
4
|
+
"domain": {
|
5
|
+
"description": "The complete URL of the asset you wish to put",
|
6
|
+
"required": true
|
7
|
+
},
|
8
|
+
"name": {
|
9
|
+
"description": "Friendly name of the Access Application.",
|
10
|
+
"required": true
|
11
|
+
},
|
12
|
+
"session_duration": {
|
13
|
+
"description": "How often a user will be forced to",
|
14
|
+
"required": false
|
15
|
+
},
|
16
|
+
"zone_id": {
|
17
|
+
"description": "The DNS zone to which the access rule should be added.",
|
18
|
+
"required": true
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"path": "/docs/providers/cloudflare/r/access_application.html",
|
22
|
+
"properties": [
|
23
|
+
"zone_id",
|
24
|
+
"name",
|
25
|
+
"domain",
|
26
|
+
"session_duration"
|
27
|
+
]
|
28
|
+
},
|
29
|
+
"cloudflare_access_policy": {
|
30
|
+
"full_properties": {
|
31
|
+
"application_id": {
|
32
|
+
"description": "The ID of the application the policy is",
|
33
|
+
"required": true
|
34
|
+
},
|
35
|
+
"decision": {
|
36
|
+
"description": "The complete URL of the asset you wish to put",
|
37
|
+
"required": true
|
38
|
+
},
|
39
|
+
"exclude": {
|
40
|
+
"description": "A series of access conditions, see below for",
|
41
|
+
"required": false
|
42
|
+
},
|
43
|
+
"include": {
|
44
|
+
"description": "A series of access conditions, see below for",
|
45
|
+
"required": true
|
46
|
+
},
|
47
|
+
"name": {
|
48
|
+
"description": "Friendly name of the Access Application.",
|
49
|
+
"required": true
|
50
|
+
},
|
51
|
+
"precedence": {
|
52
|
+
"description": "Friendly name of the Access Application.",
|
53
|
+
"required": false
|
54
|
+
},
|
55
|
+
"require": {
|
56
|
+
"description": "A series of access conditions, see below for",
|
57
|
+
"required": false
|
58
|
+
},
|
59
|
+
"zone_id": {
|
60
|
+
"description": "The DNS zone to which the access rule should be",
|
61
|
+
"required": true
|
62
|
+
}
|
63
|
+
},
|
64
|
+
"path": "/docs/providers/cloudflare/r/access_policy.html",
|
65
|
+
"properties": [
|
66
|
+
"application_id",
|
67
|
+
"zone_id",
|
68
|
+
"decision",
|
69
|
+
"name",
|
70
|
+
"precedence",
|
71
|
+
"require",
|
72
|
+
"exclude",
|
73
|
+
"include"
|
74
|
+
]
|
75
|
+
},
|
76
|
+
"cloudflare_access_rule": {
|
77
|
+
"full_properties": {
|
78
|
+
"configuration": {
|
79
|
+
"description": "Rule configuration to apply to a matched request. It's a complex value. See description below.",
|
80
|
+
"required": true
|
81
|
+
},
|
82
|
+
"mode": {
|
83
|
+
"description": "The action to apply to a matched request. Allowed values: \"block\", \"challenge\", \"whitelist\", \"js_challenge\"",
|
84
|
+
"required": true
|
85
|
+
},
|
86
|
+
"notes": {
|
87
|
+
"description": "A personal note about the rule. Typically used as a reminder or explanation for the rule.",
|
88
|
+
"required": false
|
89
|
+
},
|
90
|
+
"zone": {
|
91
|
+
"description": "The DNS zone to which the access rule should be added. Will be resolved to zone_id upon creation.",
|
92
|
+
"required": false
|
93
|
+
},
|
94
|
+
"zone_id": {
|
95
|
+
"description": "The DNS zone to which the access rule should be added.",
|
96
|
+
"required": false
|
97
|
+
}
|
98
|
+
},
|
99
|
+
"path": "/docs/providers/cloudflare/r/access_rule.html",
|
100
|
+
"properties": [
|
101
|
+
"zone",
|
102
|
+
"zone_id",
|
103
|
+
"mode",
|
104
|
+
"notes",
|
105
|
+
"configuration"
|
106
|
+
]
|
107
|
+
},
|
108
|
+
"cloudflare_account_member": {
|
109
|
+
"full_properties": {
|
110
|
+
"email_address": {
|
111
|
+
"description": "The email address of the user who you wish to manage. Note: Following creation, this field becomes read only via the API and cannot be updated.",
|
112
|
+
"required": true
|
113
|
+
},
|
114
|
+
"role_ids": {
|
115
|
+
"description": "Array of account role IDs that you want to assign to a member.",
|
116
|
+
"required": true
|
117
|
+
}
|
118
|
+
},
|
119
|
+
"path": "/docs/providers/cloudflare/r/account_member.html",
|
120
|
+
"properties": [
|
121
|
+
"email_address",
|
122
|
+
"role_ids"
|
123
|
+
]
|
124
|
+
},
|
125
|
+
"cloudflare_custom_pages": {
|
126
|
+
"full_properties": {
|
127
|
+
"account_id": {
|
128
|
+
"description": "The account ID where the custom pages should be",
|
129
|
+
"required": false
|
130
|
+
},
|
131
|
+
"state": {
|
132
|
+
"description": "Managed state of the custom page. Must be one of",
|
133
|
+
"required": true
|
134
|
+
},
|
135
|
+
"type": {
|
136
|
+
"description": "The type of custom page you wish to update. Must",
|
137
|
+
"required": true
|
138
|
+
},
|
139
|
+
"url": {
|
140
|
+
"description": "URL of where the custom page source is located.",
|
141
|
+
"required": true
|
142
|
+
},
|
143
|
+
"zone_id": {
|
144
|
+
"description": "The zone ID where the custom pages should be",
|
145
|
+
"required": false
|
146
|
+
}
|
147
|
+
},
|
148
|
+
"path": "/docs/providers/cloudflare/r/custom_pages.html",
|
149
|
+
"properties": [
|
150
|
+
"zone_id",
|
151
|
+
"account_id",
|
152
|
+
"type",
|
153
|
+
"url",
|
154
|
+
"state"
|
155
|
+
]
|
156
|
+
},
|
157
|
+
"cloudflare_filter": {
|
158
|
+
"full_properties": {
|
159
|
+
"description": {
|
160
|
+
"description": "A note that you can use to describe the purpose of the filter.",
|
161
|
+
"required": false
|
162
|
+
},
|
163
|
+
"expression": {
|
164
|
+
"description": "The filter expression to be used.",
|
165
|
+
"required": true
|
166
|
+
},
|
167
|
+
"paused": {
|
168
|
+
"description": "Whether this filter is currently paused. Boolean value.",
|
169
|
+
"required": false
|
170
|
+
},
|
171
|
+
"ref": {
|
172
|
+
"description": "Short reference tag to quickly select related rules.",
|
173
|
+
"required": false
|
174
|
+
},
|
175
|
+
"zone": {
|
176
|
+
"description": "The DNS zone to which the Filter should be added. Will be resolved to zone_id upon creation.",
|
177
|
+
"required": false
|
178
|
+
},
|
179
|
+
"zone_id": {
|
180
|
+
"description": "The DNS zone to which the Filter should be added.",
|
181
|
+
"required": false
|
182
|
+
}
|
183
|
+
},
|
184
|
+
"path": "/docs/providers/cloudflare/r/filter.html",
|
185
|
+
"properties": [
|
186
|
+
"zone",
|
187
|
+
"zone_id",
|
188
|
+
"paused",
|
189
|
+
"expression",
|
190
|
+
"description",
|
191
|
+
"ref"
|
192
|
+
]
|
193
|
+
},
|
194
|
+
"cloudflare_load_balancer": {
|
195
|
+
"full_properties": {
|
196
|
+
"default_pool_ids": {
|
197
|
+
"description": "A list of pool IDs ordered by their failover priority. Used whenever region/pop pools are not defined.",
|
198
|
+
"required": true
|
199
|
+
},
|
200
|
+
"description": {
|
201
|
+
"description": "Free text description.",
|
202
|
+
"required": false
|
203
|
+
},
|
204
|
+
"fallback_pool_id": {
|
205
|
+
"description": "The pool ID to use when all other pools are detected as unhealthy.",
|
206
|
+
"required": true
|
207
|
+
},
|
208
|
+
"name": {
|
209
|
+
"description": "The DNS name to associate with the load balancer.",
|
210
|
+
"required": true
|
211
|
+
},
|
212
|
+
"pop_pools": {
|
213
|
+
"description": "A set containing mappings of Cloudflare Point-of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. Fields documented below.",
|
214
|
+
"required": false
|
215
|
+
},
|
216
|
+
"proxied": {
|
217
|
+
"description": "Whether the hostname gets Cloudflare's origin protection. Defaults to false.",
|
218
|
+
"required": false
|
219
|
+
},
|
220
|
+
"region_pools": {
|
221
|
+
"description": "A set containing mappings of region/country codes to a list of pool IDs (ordered by their failover priority) for the given region. Fields documented below.",
|
222
|
+
"required": false
|
223
|
+
},
|
224
|
+
"session_affinity": {
|
225
|
+
"description": "Associates all requests coming from an end-user with a single origin. Cloudflare will set a cookie on the initial response to the client, such that consequent requests with the cookie in the request will go to the same origin, so long as it is available.",
|
226
|
+
"required": false
|
227
|
+
},
|
228
|
+
"steering_policy": {
|
229
|
+
"description": "Determine which method the load balancer uses to determine the fastest route to your origin. Valid values are: \"off\", \"geo\", \"dynamic_latency\" or \"\". Default is \"\".",
|
230
|
+
"required": false
|
231
|
+
},
|
232
|
+
"ttl": {
|
233
|
+
"description": "Time to live (TTL) of this load balancer's DNS name. Conflicts with proxied - this cannot be set for proxied load balancers. Default is 30.",
|
234
|
+
"required": false
|
235
|
+
},
|
236
|
+
"zone": {
|
237
|
+
"description": "The zone to add the load balancer to.",
|
238
|
+
"required": true
|
239
|
+
}
|
240
|
+
},
|
241
|
+
"path": "/docs/providers/cloudflare/r/load_balancer.html",
|
242
|
+
"properties": [
|
243
|
+
"zone",
|
244
|
+
"name",
|
245
|
+
"fallback_pool_id",
|
246
|
+
"default_pool_ids",
|
247
|
+
"description",
|
248
|
+
"ttl",
|
249
|
+
"steering_policy",
|
250
|
+
"proxied",
|
251
|
+
"region_pools",
|
252
|
+
"pop_pools",
|
253
|
+
"session_affinity"
|
254
|
+
]
|
255
|
+
},
|
256
|
+
"cloudflare_load_balancer_monitor": {
|
257
|
+
"full_properties": {
|
258
|
+
"description": {
|
259
|
+
"description": "Free text description.",
|
260
|
+
"required": false
|
261
|
+
},
|
262
|
+
"expected_body": {
|
263
|
+
"description": "A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy.",
|
264
|
+
"required": true
|
265
|
+
},
|
266
|
+
"expected_codes": {
|
267
|
+
"description": "The expected HTTP response code or code range of the health check. Eg 2xx",
|
268
|
+
"required": true
|
269
|
+
},
|
270
|
+
"header": {
|
271
|
+
"description": "The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent header cannot be overridden. Fields documented below.",
|
272
|
+
"required": false
|
273
|
+
},
|
274
|
+
"interval": {
|
275
|
+
"description": "The interval between each health check. Shorter intervals may improve failover time, but will increase load on the origins as we check from multiple locations. Default: 60.",
|
276
|
+
"required": false
|
277
|
+
},
|
278
|
+
"method": {
|
279
|
+
"description": "The HTTP method to use for the health check. Default: \"GET\".",
|
280
|
+
"required": false
|
281
|
+
},
|
282
|
+
"path": {
|
283
|
+
"description": "The endpoint path to health check against. Default: \"/\".",
|
284
|
+
"required": false
|
285
|
+
},
|
286
|
+
"retries": {
|
287
|
+
"description": "The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. Default: 2.",
|
288
|
+
"required": false
|
289
|
+
},
|
290
|
+
"timeout": {
|
291
|
+
"description": "The timeout (in seconds) before marking the health check as failed. Default: 5.",
|
292
|
+
"required": false
|
293
|
+
},
|
294
|
+
"type": {
|
295
|
+
"description": "The protocol to use for the healthcheck. Currently supported protocols are 'HTTP' and 'HTTPS'. Default: \"http\".",
|
296
|
+
"required": false
|
297
|
+
}
|
298
|
+
},
|
299
|
+
"path": "/docs/providers/cloudflare/r/load_balancer_monitor.html",
|
300
|
+
"properties": [
|
301
|
+
"expected_body",
|
302
|
+
"expected_codes",
|
303
|
+
"method",
|
304
|
+
"timeout",
|
305
|
+
"path",
|
306
|
+
"interval",
|
307
|
+
"retries",
|
308
|
+
"header",
|
309
|
+
"type",
|
310
|
+
"description"
|
311
|
+
]
|
312
|
+
},
|
313
|
+
"cloudflare_load_balancer_pool": {
|
314
|
+
"full_properties": {
|
315
|
+
"check_regions": {
|
316
|
+
"description": "A list of regions (specified by region code) from which to run health checks. Empty means every Cloudflare data center (the default), but requires an Enterprise plan. Region codes can be found here.",
|
317
|
+
"required": false
|
318
|
+
},
|
319
|
+
"description": {
|
320
|
+
"description": "Free text description.",
|
321
|
+
"required": false
|
322
|
+
},
|
323
|
+
"enabled": {
|
324
|
+
"description": "Whether to enable (the default) this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any).",
|
325
|
+
"required": false
|
326
|
+
},
|
327
|
+
"minimum_origins": {
|
328
|
+
"description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and we will failover to the next available pool. Default: 1.",
|
329
|
+
"required": false
|
330
|
+
},
|
331
|
+
"monitor": {
|
332
|
+
"description": "The ID of the Monitor to use for health checking origins within this pool.",
|
333
|
+
"required": false
|
334
|
+
},
|
335
|
+
"name": {
|
336
|
+
"description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed.",
|
337
|
+
"required": true
|
338
|
+
},
|
339
|
+
"notification_email": {
|
340
|
+
"description": "The email address to send health status notifications to. This can be an individual mailbox or a mailing list.",
|
341
|
+
"required": false
|
342
|
+
},
|
343
|
+
"origins": {
|
344
|
+
"description": "The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. It's a complex value. See description below.",
|
345
|
+
"required": true
|
346
|
+
}
|
347
|
+
},
|
348
|
+
"path": "/docs/providers/cloudflare/r/load_balancer_pool.html",
|
349
|
+
"properties": [
|
350
|
+
"name",
|
351
|
+
"origins",
|
352
|
+
"check_regions",
|
353
|
+
"description",
|
354
|
+
"enabled",
|
355
|
+
"minimum_origins",
|
356
|
+
"monitor",
|
357
|
+
"notification_email"
|
358
|
+
]
|
359
|
+
},
|
360
|
+
"cloudflare_page_rule": {
|
361
|
+
"full_properties": {
|
362
|
+
"actions": {
|
363
|
+
"description": "The actions taken by the page rule, options given below.",
|
364
|
+
"required": true
|
365
|
+
},
|
366
|
+
"priority": {
|
367
|
+
"description": "The priority of the page rule among others for this target.",
|
368
|
+
"required": false
|
369
|
+
},
|
370
|
+
"status": {
|
371
|
+
"description": "Whether the page rule is active or disabled.",
|
372
|
+
"required": false
|
373
|
+
},
|
374
|
+
"target": {
|
375
|
+
"description": "The URL pattern to target with the page rule.",
|
376
|
+
"required": true
|
377
|
+
},
|
378
|
+
"zone": {
|
379
|
+
"description": "The DNS zone to which the page rule should be added.",
|
380
|
+
"required": true
|
381
|
+
}
|
382
|
+
},
|
383
|
+
"path": "/docs/providers/cloudflare/r/page_rule.html",
|
384
|
+
"properties": [
|
385
|
+
"zone",
|
386
|
+
"target",
|
387
|
+
"actions",
|
388
|
+
"priority",
|
389
|
+
"status"
|
390
|
+
]
|
391
|
+
},
|
392
|
+
"cloudflare_rate_limit": {
|
393
|
+
"full_properties": {
|
394
|
+
"action": {
|
395
|
+
"description": "The action to be performed when the threshold of matched traffic within the period defined is exceeded.",
|
396
|
+
"required": true
|
397
|
+
},
|
398
|
+
"bypass_url_patterns": {
|
399
|
+
"description": "URLs matching the patterns specified here will be excluded from rate limiting.",
|
400
|
+
"required": false
|
401
|
+
},
|
402
|
+
"correlate": {
|
403
|
+
"description": "Determines how rate limiting is applied. By default if not specified, rate limiting applies to the clients IP address.",
|
404
|
+
"required": false
|
405
|
+
},
|
406
|
+
"description": {
|
407
|
+
"description": "A note that you can use to describe the reason for a rate limit. This value is sanitized and all tags are removed.",
|
408
|
+
"required": false
|
409
|
+
},
|
410
|
+
"disabled": {
|
411
|
+
"description": "Whether this ratelimit is currently disabled. Default: false.",
|
412
|
+
"required": false
|
413
|
+
},
|
414
|
+
"match": {
|
415
|
+
"description": "Determines which traffic the rate limit counts towards the threshold. By default matches all traffic in the zone. See definition below.",
|
416
|
+
"required": false
|
417
|
+
},
|
418
|
+
"period": {
|
419
|
+
"description": "The time in seconds to count matching traffic. If the count exceeds threshold within this period the action will be performed (min: 1, max: 86,400).",
|
420
|
+
"required": true
|
421
|
+
},
|
422
|
+
"threshold": {
|
423
|
+
"description": "The threshold that triggers the rate limit mitigations, combine with period. i.e. threshold per period (min: 2, max: 1,000,000).",
|
424
|
+
"required": true
|
425
|
+
},
|
426
|
+
"zone": {
|
427
|
+
"description": "The DNS zone to apply rate limiting to.",
|
428
|
+
"required": true
|
429
|
+
}
|
430
|
+
},
|
431
|
+
"path": "/docs/providers/cloudflare/r/rate_limit.html",
|
432
|
+
"properties": [
|
433
|
+
"zone",
|
434
|
+
"threshold",
|
435
|
+
"period",
|
436
|
+
"action",
|
437
|
+
"match",
|
438
|
+
"disabled",
|
439
|
+
"description",
|
440
|
+
"bypass_url_patterns",
|
441
|
+
"correlate"
|
442
|
+
]
|
443
|
+
},
|
444
|
+
"cloudflare_record": {
|
445
|
+
"full_properties": {
|
446
|
+
"data": {
|
447
|
+
"description": "Map of attributes that constitute the record value. Primarily used for LOC and SRV record types. Either this or value must be specified",
|
448
|
+
"required": false
|
449
|
+
},
|
450
|
+
"domain": {
|
451
|
+
"description": "The DNS zone to add the record to",
|
452
|
+
"required": true
|
453
|
+
},
|
454
|
+
"name": {
|
455
|
+
"description": "The name of the record",
|
456
|
+
"required": true
|
457
|
+
},
|
458
|
+
"priority": {
|
459
|
+
"description": "The priority of the record",
|
460
|
+
"required": false
|
461
|
+
},
|
462
|
+
"proxied": {
|
463
|
+
"description": "Whether the record gets Cloudflare's origin protection; defaults to false.",
|
464
|
+
"required": false
|
465
|
+
},
|
466
|
+
"ttl": {
|
467
|
+
"description": "The TTL of the record (automatic: '1')",
|
468
|
+
"required": false
|
469
|
+
},
|
470
|
+
"type": {
|
471
|
+
"description": "The type of the record",
|
472
|
+
"required": true
|
473
|
+
},
|
474
|
+
"value": {
|
475
|
+
"description": "The (string) value of the record. Either this or data must be specified",
|
476
|
+
"required": false
|
477
|
+
}
|
478
|
+
},
|
479
|
+
"path": "/docs/providers/cloudflare/r/record.html",
|
480
|
+
"properties": [
|
481
|
+
"domain",
|
482
|
+
"name",
|
483
|
+
"type",
|
484
|
+
"value",
|
485
|
+
"data",
|
486
|
+
"ttl",
|
487
|
+
"priority",
|
488
|
+
"proxied"
|
489
|
+
]
|
490
|
+
},
|
491
|
+
"cloudflare_waf_rule": {
|
492
|
+
"full_properties": {
|
493
|
+
"mode": {
|
494
|
+
"description": "The mode of the rule, can be one of [\"block\", \"challenge\", \"default\", \"disable, \"simulate\"].",
|
495
|
+
"required": true
|
496
|
+
},
|
497
|
+
"rule_id": {
|
498
|
+
"description": "The WAF Rule ID.",
|
499
|
+
"required": true
|
500
|
+
},
|
501
|
+
"zone": {
|
502
|
+
"description": "The DNS zone to apply to.",
|
503
|
+
"required": true
|
504
|
+
}
|
505
|
+
},
|
506
|
+
"path": "/docs/providers/cloudflare/r/waf_rule.html",
|
507
|
+
"properties": [
|
508
|
+
"zone",
|
509
|
+
"rule_id",
|
510
|
+
"mode"
|
511
|
+
]
|
512
|
+
},
|
513
|
+
"cloudflare_worker_route": {
|
514
|
+
"full_properties": {
|
515
|
+
"enabled": {
|
516
|
+
"description": "Whether to run the worker script for requests that match the route pattern. Default is false",
|
517
|
+
"required": false
|
518
|
+
},
|
519
|
+
"pattern": {
|
520
|
+
"description": "The route pattern",
|
521
|
+
"required": true
|
522
|
+
},
|
523
|
+
"script_name": {
|
524
|
+
"description": "Which worker script to run for requests that match the route pattern. If script_name is empty, workers will be skipped for matching requests.",
|
525
|
+
"required": false
|
526
|
+
},
|
527
|
+
"zone": {
|
528
|
+
"description": "The zone to add the route to.",
|
529
|
+
"required": true
|
530
|
+
}
|
531
|
+
},
|
532
|
+
"path": "/docs/providers/cloudflare/r/worker_route.html",
|
533
|
+
"properties": [
|
534
|
+
"zone",
|
535
|
+
"pattern",
|
536
|
+
"enabled",
|
537
|
+
"script_name"
|
538
|
+
]
|
539
|
+
},
|
540
|
+
"cloudflare_worker_script": {
|
541
|
+
"full_properties": {
|
542
|
+
"content": {
|
543
|
+
"description": "The script content.",
|
544
|
+
"required": true
|
545
|
+
},
|
546
|
+
"name": {
|
547
|
+
"description": "The name for the script. ",
|
548
|
+
"required": false
|
549
|
+
},
|
550
|
+
"zone": {
|
551
|
+
"description": "The zone for the script.",
|
552
|
+
"required": false
|
553
|
+
}
|
554
|
+
},
|
555
|
+
"path": "/docs/providers/cloudflare/r/worker_script.html",
|
556
|
+
"properties": [
|
557
|
+
"zone",
|
558
|
+
"name",
|
559
|
+
"content"
|
560
|
+
]
|
561
|
+
},
|
562
|
+
"cloudflare_zone": {
|
563
|
+
"full_properties": {
|
564
|
+
"jump_start": {
|
565
|
+
"description": "Boolean of whether to scan for DNS records on creation. Ignored after zone is created. Default: false.",
|
566
|
+
"required": false
|
567
|
+
},
|
568
|
+
"paused": {
|
569
|
+
"description": "Boolean of whether this zone is paused (traffic bypasses Cloudflare). Default: false.",
|
570
|
+
"required": false
|
571
|
+
},
|
572
|
+
"zone": {
|
573
|
+
"description": "The DNS zone name which will be added.",
|
574
|
+
"required": true
|
575
|
+
}
|
576
|
+
},
|
577
|
+
"path": "/docs/providers/cloudflare/r/zone.html",
|
578
|
+
"properties": [
|
579
|
+
"zone",
|
580
|
+
"paused",
|
581
|
+
"jump_start"
|
582
|
+
]
|
583
|
+
},
|
584
|
+
"cloudflare_zone_lockdown": {
|
585
|
+
"full_properties": {
|
586
|
+
"configurations": {
|
587
|
+
"description": "A list of IP addresses or IP ranges to match the request against specified in target, value pairs. It's a complex value. See description below. The order of the configuration entries is unimportant.",
|
588
|
+
"required": true
|
589
|
+
},
|
590
|
+
"description": {
|
591
|
+
"description": "A description about the lockdown entry. Typically used as a reminder or explanation for the lockdown.",
|
592
|
+
"required": false
|
593
|
+
},
|
594
|
+
"paused": {
|
595
|
+
"description": "Boolean of whether this zone lockdown is currently paused. Default: false.",
|
596
|
+
"required": false
|
597
|
+
},
|
598
|
+
"urls": {
|
599
|
+
"description": "A list of simple wildcard patterns to match requests against. The order of the urls is unimportant.",
|
600
|
+
"required": true
|
601
|
+
},
|
602
|
+
"zone": {
|
603
|
+
"description": "The DNS zone to which the lockdown will be added. Will be resolved to zone_id upon creation.",
|
604
|
+
"required": false
|
605
|
+
},
|
606
|
+
"zone_id": {
|
607
|
+
"description": "The DNS zone to which the access rule should be added.",
|
608
|
+
"required": false
|
609
|
+
}
|
610
|
+
},
|
611
|
+
"path": "/docs/providers/cloudflare/r/zone_lockdown.html",
|
612
|
+
"properties": [
|
613
|
+
"zone",
|
614
|
+
"zone_id",
|
615
|
+
"description",
|
616
|
+
"urls",
|
617
|
+
"configurations",
|
618
|
+
"paused"
|
619
|
+
]
|
620
|
+
},
|
621
|
+
"cloudflare_zone_settings_override": {
|
622
|
+
"full_properties": {
|
623
|
+
"name": {
|
624
|
+
"description": "The DNS zone to which apply settings.",
|
625
|
+
"required": true
|
626
|
+
},
|
627
|
+
"settings": {
|
628
|
+
"description": "Settings overrides that will be applied to the zone. If a setting is not specified the existing setting will be used. For a full list of available settings see below.",
|
629
|
+
"required": false
|
630
|
+
}
|
631
|
+
},
|
632
|
+
"path": "/docs/providers/cloudflare/r/zone_settings_override.html",
|
633
|
+
"properties": [
|
634
|
+
"name",
|
635
|
+
"settings"
|
636
|
+
]
|
637
|
+
}
|
638
|
+
}
|