@pulumi/cloudflare 4.9.0 → 4.10.0-alpha.1661535818

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 (112) hide show
  1. package/accessApplication.d.ts +44 -35
  2. package/accessApplication.js +3 -4
  3. package/accessApplication.js.map +1 -1
  4. package/accessBookmark.d.ts +13 -11
  5. package/accessBookmark.js +4 -2
  6. package/accessBookmark.js.map +1 -1
  7. package/accessCaCertificate.d.ts +15 -13
  8. package/accessCaCertificate.js +5 -3
  9. package/accessCaCertificate.js.map +1 -1
  10. package/accessGroup.d.ts +9 -35
  11. package/accessGroup.js +3 -29
  12. package/accessGroup.js.map +1 -1
  13. package/accessIdentityProvider.d.ts +20 -23
  14. package/accessIdentityProvider.js +8 -5
  15. package/accessIdentityProvider.js.map +1 -1
  16. package/accessMutualTlsCertificate.d.ts +12 -8
  17. package/accessMutualTlsCertificate.js +6 -2
  18. package/accessMutualTlsCertificate.js.map +1 -1
  19. package/accessPolicy.d.ts +14 -15
  20. package/accessPolicy.js +5 -3
  21. package/accessPolicy.js.map +1 -1
  22. package/accessRule.d.ts +22 -9
  23. package/accessRule.js +9 -3
  24. package/accessRule.js.map +1 -1
  25. package/accessServiceToken.d.ts +11 -10
  26. package/accessServiceToken.js +3 -2
  27. package/accessServiceToken.js.map +1 -1
  28. package/accountMember.d.ts +15 -6
  29. package/accountMember.js +2 -0
  30. package/accountMember.js.map +1 -1
  31. package/apiToken.d.ts +26 -1
  32. package/apiToken.js +6 -1
  33. package/apiToken.js.map +1 -1
  34. package/argo.d.ts +9 -8
  35. package/argo.js +3 -2
  36. package/argo.js.map +1 -1
  37. package/certificatePack.d.ts +34 -88
  38. package/certificatePack.js +14 -26
  39. package/certificatePack.js.map +1 -1
  40. package/customHostname.d.ts +15 -11
  41. package/customHostname.js +3 -5
  42. package/customHostname.js.map +1 -1
  43. package/filter.d.ts +4 -2
  44. package/filter.js +4 -2
  45. package/filter.js.map +1 -1
  46. package/firewallRule.d.ts +17 -23
  47. package/firewallRule.js +8 -5
  48. package/firewallRule.js.map +1 -1
  49. package/getAccessIdentityProvider.d.ts +18 -0
  50. package/getAccessIdentityProvider.js.map +1 -1
  51. package/getAccountRoles.d.ts +9 -0
  52. package/getAccountRoles.js.map +1 -1
  53. package/getDevices.d.ts +9 -0
  54. package/getDevices.js.map +1 -1
  55. package/getWafGroups.d.ts +9 -0
  56. package/getWafGroups.js.map +1 -1
  57. package/getWafPackages.d.ts +9 -0
  58. package/getWafPackages.js.map +1 -1
  59. package/getWafRules.d.ts +9 -0
  60. package/getWafRules.js.map +1 -1
  61. package/getZone.d.ts +18 -0
  62. package/getZone.js.map +1 -1
  63. package/getZoneDnssec.d.ts +9 -0
  64. package/getZoneDnssec.js.map +1 -1
  65. package/healthcheck.d.ts +50 -103
  66. package/healthcheck.js +2 -5
  67. package/healthcheck.js.map +1 -1
  68. package/ipsecTunnel.d.ts +16 -19
  69. package/ipsecTunnel.js +1 -1
  70. package/ipsecTunnel.js.map +1 -1
  71. package/list.d.ts +3 -2
  72. package/list.js +3 -2
  73. package/list.js.map +1 -1
  74. package/loadBalancer.d.ts +16 -0
  75. package/loadBalancer.js +6 -0
  76. package/loadBalancer.js.map +1 -1
  77. package/loadBalancerPool.d.ts +3 -3
  78. package/logpushJob.d.ts +21 -57
  79. package/logpushJob.js.map +1 -1
  80. package/managedHeaders.d.ts +7 -7
  81. package/managedHeaders.js +1 -1
  82. package/notificationPolicy.d.ts +18 -40
  83. package/notificationPolicy.js +3 -1
  84. package/notificationPolicy.js.map +1 -1
  85. package/package.json +4 -3
  86. package/package.json.bak +2 -1
  87. package/package.json.dev +4 -3
  88. package/ruleset.d.ts +64 -37
  89. package/ruleset.js +52 -10
  90. package/ruleset.js.map +1 -1
  91. package/tunnelRoute.d.ts +9 -10
  92. package/tunnelRoute.js +6 -4
  93. package/tunnelRoute.js.map +1 -1
  94. package/tunnelVirtualNetwork.d.ts +8 -10
  95. package/tunnelVirtualNetwork.js +5 -4
  96. package/tunnelVirtualNetwork.js.map +1 -1
  97. package/types/input.d.ts +360 -32
  98. package/types/output.d.ts +364 -27
  99. package/waitingRoom.d.ts +19 -22
  100. package/waitingRoom.js +1 -1
  101. package/waitingRoom.js.map +1 -1
  102. package/waitingRoomEvent.d.ts +13 -19
  103. package/waitingRoomEvent.js +1 -1
  104. package/waitingRoomEvent.js.map +1 -1
  105. package/workerCronTrigger.d.ts +1 -1
  106. package/workerCronTrigger.js +1 -1
  107. package/workerScript.d.ts +8 -1
  108. package/workerScript.js +7 -1
  109. package/workerScript.js.map +1 -1
  110. package/zone.d.ts +34 -23
  111. package/zone.js +10 -5
  112. package/zone.js.map +1 -1
@@ -7,29 +7,8 @@ import { input as inputs, output as outputs } from "./types";
7
7
  * import * as pulumi from "@pulumi/pulumi";
8
8
  * import * as cloudflare from "@pulumi/cloudflare";
9
9
  *
10
- * const dedicatedCustomExample = new cloudflare.CertificatePack("dedicated_custom_example", {
11
- * hosts: [
12
- * "example.com",
13
- * "sub.example.com",
14
- * ],
15
- * type: "dedicated_custom",
16
- * zoneId: "1d5fdc9e88c8a8c4518b068cd94331fe",
17
- * });
18
- * // Advanced certificate manager for DigiCert
19
- * const advancedExampleForDigicert = new cloudflare.CertificatePack("advanced_example_for_digicert", {
20
- * certificateAuthority: "digicert",
21
- * cloudflareBranding: false,
22
- * hosts: [
23
- * "example.com",
24
- * "sub.example.com",
25
- * ],
26
- * type: "advanced",
27
- * validationMethod: "txt",
28
- * validityDays: 30,
29
- * zoneId: "1d5fdc9e88c8a8c4518b068cd94331fe",
30
- * });
31
10
  * // Advanced certificate manager for Let's Encrypt
32
- * const advancedExampleForLetsEncrypt = new cloudflare.CertificatePack("advanced_example_for_lets_encrypt", {
11
+ * const example = new cloudflare.CertificatePack("example", {
33
12
  * certificateAuthority: "lets_encrypt",
34
13
  * cloudflareBranding: false,
35
14
  * hosts: [
@@ -40,17 +19,17 @@ import { input as inputs, output as outputs } from "./types";
40
19
  * validationMethod: "http",
41
20
  * validityDays: 90,
42
21
  * waitForActiveStatus: true,
43
- * zoneId: "1d5fdc9e88c8a8c4518b068cd94331fe",
22
+ * zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
44
23
  * });
45
24
  * ```
46
25
  *
47
26
  * ## Import
48
27
  *
49
- * Certificate packs can be imported using a composite ID of the zone ID and certificate pack ID. This isn't recommended and it is advised to replace the certificate entirely instead.
50
- *
51
28
  * ```sh
52
- * $ pulumi import cloudflare:index/certificatePack:CertificatePack example cb029e245cfdd66dc8d2e570d5dd3322/8fda82e2-6af9-4eb2-992a-5ab65b792ef1
29
+ * $ pulumi import cloudflare:index/certificatePack:CertificatePack example 1d5fdc9e88c8a8c4518b068cd94331fe/8fda82e2-6af9-4eb2-992a-5ab65b792ef1
53
30
  * ```
31
+ *
32
+ * While supported, importing isn't recommended and it is advised to replace the certificate entirely instead.
54
33
  */
55
34
  export declare class CertificatePack extends pulumi.CustomResource {
56
35
  /**
@@ -69,48 +48,37 @@ export declare class CertificatePack extends pulumi.CustomResource {
69
48
  */
70
49
  static isInstance(obj: any): obj is CertificatePack;
71
50
  /**
72
- * Which certificate
73
- * authority to issue the certificate pack. Allowed values: `"digicert"`,
74
- * `"letsEncrypt"`.
51
+ * Which certificate authority to issue the certificate pack. Available values: `digicert`, `letsEncrypt`, `google`.
75
52
  */
76
53
  readonly certificateAuthority: pulumi.Output<string>;
77
54
  /**
78
- * Whether or not to include
79
- * Cloudflare branding. This will add `sni.cloudflaressl.com` as the Common Name
80
- * if set to `true`.
55
+ * Whether or not to include Cloudflare branding. This will add `sni.cloudflaressl.com` as the Common Name if set to `true`.
81
56
  */
82
57
  readonly cloudflareBranding: pulumi.Output<boolean | undefined>;
83
58
  /**
84
- * List of hostnames to provision the certificate pack for.
85
- * The zone name must be included as a host. Note: If using Let's Encrypt, you
86
- * cannot use individual subdomains and only a wildcard for subdomain is available.
59
+ * List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available.
87
60
  */
88
61
  readonly hosts: pulumi.Output<string[]>;
89
62
  /**
90
- * Certificate pack configuration type.
91
- * Allowed values: `"custom"`, `"dedicatedCustom"`, `"advanced"`.
63
+ * Certificate pack configuration type. Available values: `advanced`.
92
64
  */
93
65
  readonly type: pulumi.Output<string>;
94
66
  readonly validationErrors: pulumi.Output<outputs.CertificatePackValidationError[]>;
95
67
  /**
96
- * Which validation method to
97
- * use in order to prove domain ownership. Allowed values: `"txt"`, `"http"`, `"email"`.
68
+ * Which validation method to use in order to prove domain ownership. Available values: `txt`, `http`, `email`.
98
69
  */
99
- readonly validationMethod: pulumi.Output<string | undefined>;
70
+ readonly validationMethod: pulumi.Output<string>;
100
71
  readonly validationRecords: pulumi.Output<outputs.CertificatePackValidationRecord[]>;
101
72
  /**
102
- * How long the certificate is valid
103
- * for. Note: If using Let's Encrypt, this value can only be 90 days.
104
- * Allowed values: 14, 30, 90, 365.
73
+ * How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: `14`, `30`, `90`, `365`.
105
74
  */
106
- readonly validityDays: pulumi.Output<number | undefined>;
75
+ readonly validityDays: pulumi.Output<number>;
107
76
  /**
108
- * Whether or not to wait for a certificate
109
- * pack to reach status `active` during creation. Defaults to `false`.
77
+ * Whether or not to wait for a certificate pack to reach status `active` during creation. Defaults to `false`.
110
78
  */
111
79
  readonly waitForActiveStatus: pulumi.Output<boolean | undefined>;
112
80
  /**
113
- * The DNS zone to which the certificate pack should be added.
81
+ * The zone identifier to target for the resource.
114
82
  */
115
83
  readonly zoneId: pulumi.Output<string>;
116
84
  /**
@@ -127,48 +95,37 @@ export declare class CertificatePack extends pulumi.CustomResource {
127
95
  */
128
96
  export interface CertificatePackState {
129
97
  /**
130
- * Which certificate
131
- * authority to issue the certificate pack. Allowed values: `"digicert"`,
132
- * `"letsEncrypt"`.
98
+ * Which certificate authority to issue the certificate pack. Available values: `digicert`, `letsEncrypt`, `google`.
133
99
  */
134
100
  certificateAuthority?: pulumi.Input<string>;
135
101
  /**
136
- * Whether or not to include
137
- * Cloudflare branding. This will add `sni.cloudflaressl.com` as the Common Name
138
- * if set to `true`.
102
+ * Whether or not to include Cloudflare branding. This will add `sni.cloudflaressl.com` as the Common Name if set to `true`.
139
103
  */
140
104
  cloudflareBranding?: pulumi.Input<boolean>;
141
105
  /**
142
- * List of hostnames to provision the certificate pack for.
143
- * The zone name must be included as a host. Note: If using Let's Encrypt, you
144
- * cannot use individual subdomains and only a wildcard for subdomain is available.
106
+ * List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available.
145
107
  */
146
108
  hosts?: pulumi.Input<pulumi.Input<string>[]>;
147
109
  /**
148
- * Certificate pack configuration type.
149
- * Allowed values: `"custom"`, `"dedicatedCustom"`, `"advanced"`.
110
+ * Certificate pack configuration type. Available values: `advanced`.
150
111
  */
151
112
  type?: pulumi.Input<string>;
152
113
  validationErrors?: pulumi.Input<pulumi.Input<inputs.CertificatePackValidationError>[]>;
153
114
  /**
154
- * Which validation method to
155
- * use in order to prove domain ownership. Allowed values: `"txt"`, `"http"`, `"email"`.
115
+ * Which validation method to use in order to prove domain ownership. Available values: `txt`, `http`, `email`.
156
116
  */
157
117
  validationMethod?: pulumi.Input<string>;
158
118
  validationRecords?: pulumi.Input<pulumi.Input<inputs.CertificatePackValidationRecord>[]>;
159
119
  /**
160
- * How long the certificate is valid
161
- * for. Note: If using Let's Encrypt, this value can only be 90 days.
162
- * Allowed values: 14, 30, 90, 365.
120
+ * How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: `14`, `30`, `90`, `365`.
163
121
  */
164
122
  validityDays?: pulumi.Input<number>;
165
123
  /**
166
- * Whether or not to wait for a certificate
167
- * pack to reach status `active` during creation. Defaults to `false`.
124
+ * Whether or not to wait for a certificate pack to reach status `active` during creation. Defaults to `false`.
168
125
  */
169
126
  waitForActiveStatus?: pulumi.Input<boolean>;
170
127
  /**
171
- * The DNS zone to which the certificate pack should be added.
128
+ * The zone identifier to target for the resource.
172
129
  */
173
130
  zoneId?: pulumi.Input<string>;
174
131
  }
@@ -177,48 +134,37 @@ export interface CertificatePackState {
177
134
  */
178
135
  export interface CertificatePackArgs {
179
136
  /**
180
- * Which certificate
181
- * authority to issue the certificate pack. Allowed values: `"digicert"`,
182
- * `"letsEncrypt"`.
137
+ * Which certificate authority to issue the certificate pack. Available values: `digicert`, `letsEncrypt`, `google`.
183
138
  */
184
- certificateAuthority?: pulumi.Input<string>;
139
+ certificateAuthority: pulumi.Input<string>;
185
140
  /**
186
- * Whether or not to include
187
- * Cloudflare branding. This will add `sni.cloudflaressl.com` as the Common Name
188
- * if set to `true`.
141
+ * Whether or not to include Cloudflare branding. This will add `sni.cloudflaressl.com` as the Common Name if set to `true`.
189
142
  */
190
143
  cloudflareBranding?: pulumi.Input<boolean>;
191
144
  /**
192
- * List of hostnames to provision the certificate pack for.
193
- * The zone name must be included as a host. Note: If using Let's Encrypt, you
194
- * cannot use individual subdomains and only a wildcard for subdomain is available.
145
+ * List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available.
195
146
  */
196
147
  hosts: pulumi.Input<pulumi.Input<string>[]>;
197
148
  /**
198
- * Certificate pack configuration type.
199
- * Allowed values: `"custom"`, `"dedicatedCustom"`, `"advanced"`.
149
+ * Certificate pack configuration type. Available values: `advanced`.
200
150
  */
201
151
  type: pulumi.Input<string>;
202
152
  validationErrors?: pulumi.Input<pulumi.Input<inputs.CertificatePackValidationError>[]>;
203
153
  /**
204
- * Which validation method to
205
- * use in order to prove domain ownership. Allowed values: `"txt"`, `"http"`, `"email"`.
154
+ * Which validation method to use in order to prove domain ownership. Available values: `txt`, `http`, `email`.
206
155
  */
207
- validationMethod?: pulumi.Input<string>;
156
+ validationMethod: pulumi.Input<string>;
208
157
  validationRecords?: pulumi.Input<pulumi.Input<inputs.CertificatePackValidationRecord>[]>;
209
158
  /**
210
- * How long the certificate is valid
211
- * for. Note: If using Let's Encrypt, this value can only be 90 days.
212
- * Allowed values: 14, 30, 90, 365.
159
+ * How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: `14`, `30`, `90`, `365`.
213
160
  */
214
- validityDays?: pulumi.Input<number>;
161
+ validityDays: pulumi.Input<number>;
215
162
  /**
216
- * Whether or not to wait for a certificate
217
- * pack to reach status `active` during creation. Defaults to `false`.
163
+ * Whether or not to wait for a certificate pack to reach status `active` during creation. Defaults to `false`.
218
164
  */
219
165
  waitForActiveStatus?: pulumi.Input<boolean>;
220
166
  /**
221
- * The DNS zone to which the certificate pack should be added.
167
+ * The zone identifier to target for the resource.
222
168
  */
223
169
  zoneId: pulumi.Input<string>;
224
170
  }
@@ -12,29 +12,8 @@ const utilities = require("./utilities");
12
12
  * import * as pulumi from "@pulumi/pulumi";
13
13
  * import * as cloudflare from "@pulumi/cloudflare";
14
14
  *
15
- * const dedicatedCustomExample = new cloudflare.CertificatePack("dedicated_custom_example", {
16
- * hosts: [
17
- * "example.com",
18
- * "sub.example.com",
19
- * ],
20
- * type: "dedicated_custom",
21
- * zoneId: "1d5fdc9e88c8a8c4518b068cd94331fe",
22
- * });
23
- * // Advanced certificate manager for DigiCert
24
- * const advancedExampleForDigicert = new cloudflare.CertificatePack("advanced_example_for_digicert", {
25
- * certificateAuthority: "digicert",
26
- * cloudflareBranding: false,
27
- * hosts: [
28
- * "example.com",
29
- * "sub.example.com",
30
- * ],
31
- * type: "advanced",
32
- * validationMethod: "txt",
33
- * validityDays: 30,
34
- * zoneId: "1d5fdc9e88c8a8c4518b068cd94331fe",
35
- * });
36
15
  * // Advanced certificate manager for Let's Encrypt
37
- * const advancedExampleForLetsEncrypt = new cloudflare.CertificatePack("advanced_example_for_lets_encrypt", {
16
+ * const example = new cloudflare.CertificatePack("example", {
38
17
  * certificateAuthority: "lets_encrypt",
39
18
  * cloudflareBranding: false,
40
19
  * hosts: [
@@ -45,17 +24,17 @@ const utilities = require("./utilities");
45
24
  * validationMethod: "http",
46
25
  * validityDays: 90,
47
26
  * waitForActiveStatus: true,
48
- * zoneId: "1d5fdc9e88c8a8c4518b068cd94331fe",
27
+ * zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
49
28
  * });
50
29
  * ```
51
30
  *
52
31
  * ## Import
53
32
  *
54
- * Certificate packs can be imported using a composite ID of the zone ID and certificate pack ID. This isn't recommended and it is advised to replace the certificate entirely instead.
55
- *
56
33
  * ```sh
57
- * $ pulumi import cloudflare:index/certificatePack:CertificatePack example cb029e245cfdd66dc8d2e570d5dd3322/8fda82e2-6af9-4eb2-992a-5ab65b792ef1
34
+ * $ pulumi import cloudflare:index/certificatePack:CertificatePack example 1d5fdc9e88c8a8c4518b068cd94331fe/8fda82e2-6af9-4eb2-992a-5ab65b792ef1
58
35
  * ```
36
+ *
37
+ * While supported, importing isn't recommended and it is advised to replace the certificate entirely instead.
59
38
  */
60
39
  class CertificatePack extends pulumi.CustomResource {
61
40
  constructor(name, argsOrState, opts) {
@@ -76,12 +55,21 @@ class CertificatePack extends pulumi.CustomResource {
76
55
  }
77
56
  else {
78
57
  const args = argsOrState;
58
+ if ((!args || args.certificateAuthority === undefined) && !opts.urn) {
59
+ throw new Error("Missing required property 'certificateAuthority'");
60
+ }
79
61
  if ((!args || args.hosts === undefined) && !opts.urn) {
80
62
  throw new Error("Missing required property 'hosts'");
81
63
  }
82
64
  if ((!args || args.type === undefined) && !opts.urn) {
83
65
  throw new Error("Missing required property 'type'");
84
66
  }
67
+ if ((!args || args.validationMethod === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'validationMethod'");
69
+ }
70
+ if ((!args || args.validityDays === undefined) && !opts.urn) {
71
+ throw new Error("Missing required property 'validityDays'");
72
+ }
85
73
  if ((!args || args.zoneId === undefined) && !opts.urn) {
86
74
  throw new Error("Missing required property 'zoneId'");
87
75
  }
@@ -1 +1 @@
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,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;IAtHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CAwHC;AA1GG,gBAAgB;AACO,4BAAY,GAAG,kDAAkD,CAAC"}
@@ -9,21 +9,19 @@ import { input as inputs, output as outputs } from "./types";
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as cloudflare from "@pulumi/cloudflare";
11
11
  *
12
- * const exampleHostname = new cloudflare.CustomHostname("example_hostname", {
12
+ * const example = new cloudflare.CustomHostname("example", {
13
13
  * hostname: "hostname.example.com",
14
14
  * ssls: [{
15
15
  * method: "txt",
16
16
  * }],
17
- * zoneId: "d41d8cd98f00b204e9800998ecf8427e",
17
+ * zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
18
18
  * });
19
19
  * ```
20
20
  *
21
21
  * ## Import
22
22
  *
23
- * Custom hostname certificates can be imported using a composite ID formed of the zone ID and [hostname ID](https://api.cloudflare.com/#custom-hostname-for-a-zone-properties), separated by a "/" e.g.
24
- *
25
23
  * ```sh
26
- * $ pulumi import cloudflare:index/customHostname:CustomHostname example d41d8cd98f00b204e9800998ecf8427e/0d89c70d-ad9f-4843-b99f-6cc0252067e9
24
+ * $ pulumi import cloudflare:index/customHostname:CustomHostname example 1d5fdc9e88c8a8c4518b068cd94331fe/0d89c70d-ad9f-4843-b99f-6cc0252067e9
27
25
  * ```
28
26
  */
29
27
  export declare class CustomHostname extends pulumi.CustomResource {
@@ -61,12 +59,15 @@ export declare class CustomHostname extends pulumi.CustomResource {
61
59
  [key: string]: string;
62
60
  }>;
63
61
  /**
64
- * SSL configuration of the certificate. See further notes below.
62
+ * SSL configuration of the certificate.
65
63
  */
66
64
  readonly ssls: pulumi.Output<outputs.CustomHostnameSsl[] | undefined>;
65
+ /**
66
+ * Status of the certificate.
67
+ */
67
68
  readonly status: pulumi.Output<string>;
68
69
  /**
69
- * The DNS zone ID where the custom hostname should be assigned.
70
+ * The zone identifier to target for the resource.
70
71
  */
71
72
  readonly zoneId: pulumi.Output<string>;
72
73
  /**
@@ -101,12 +102,15 @@ export interface CustomHostnameState {
101
102
  [key: string]: pulumi.Input<string>;
102
103
  }>;
103
104
  /**
104
- * SSL configuration of the certificate. See further notes below.
105
+ * SSL configuration of the certificate.
105
106
  */
106
107
  ssls?: pulumi.Input<pulumi.Input<inputs.CustomHostnameSsl>[]>;
108
+ /**
109
+ * Status of the certificate.
110
+ */
107
111
  status?: pulumi.Input<string>;
108
112
  /**
109
- * The DNS zone ID where the custom hostname should be assigned.
113
+ * The zone identifier to target for the resource.
110
114
  */
111
115
  zoneId?: pulumi.Input<string>;
112
116
  }
@@ -127,11 +131,11 @@ export interface CustomHostnameArgs {
127
131
  */
128
132
  hostname: pulumi.Input<string>;
129
133
  /**
130
- * SSL configuration of the certificate. See further notes below.
134
+ * SSL configuration of the certificate.
131
135
  */
132
136
  ssls?: pulumi.Input<pulumi.Input<inputs.CustomHostnameSsl>[]>;
133
137
  /**
134
- * The DNS zone ID where the custom hostname should be assigned.
138
+ * The zone identifier to target for the resource.
135
139
  */
136
140
  zoneId: pulumi.Input<string>;
137
141
  }
package/customHostname.js CHANGED
@@ -14,21 +14,19 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as cloudflare from "@pulumi/cloudflare";
16
16
  *
17
- * const exampleHostname = new cloudflare.CustomHostname("example_hostname", {
17
+ * const example = new cloudflare.CustomHostname("example", {
18
18
  * hostname: "hostname.example.com",
19
19
  * ssls: [{
20
20
  * method: "txt",
21
21
  * }],
22
- * zoneId: "d41d8cd98f00b204e9800998ecf8427e",
22
+ * zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
23
23
  * });
24
24
  * ```
25
25
  *
26
26
  * ## Import
27
27
  *
28
- * Custom hostname certificates can be imported using a composite ID formed of the zone ID and [hostname ID](https://api.cloudflare.com/#custom-hostname-for-a-zone-properties), separated by a "/" e.g.
29
- *
30
28
  * ```sh
31
- * $ pulumi import cloudflare:index/customHostname:CustomHostname example d41d8cd98f00b204e9800998ecf8427e/0d89c70d-ad9f-4843-b99f-6cc0252067e9
29
+ * $ pulumi import cloudflare:index/customHostname:CustomHostname example 1d5fdc9e88c8a8c4518b068cd94331fe/0d89c70d-ad9f-4843-b99f-6cc0252067e9
32
30
  * ```
33
31
  */
34
32
  class CustomHostname extends pulumi.CustomResource {
@@ -1 +1 @@
1
- {"version":3,"file":"customHostname.js","sourceRoot":"","sources":["../customHostname.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IA4DrD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AAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;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;IA9FD;;;;;;;;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;;AA1BL,wCAgGC;AAlFG,gBAAgB;AACO,2BAAY,GAAG,gDAAgD,CAAC"}
package/filter.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Filter expressions that can be referenced across multiple features, e.g. Firewall Rules. See [what is a filter](https://developers.cloudflare.com/firewall/api/cf-filters/what-is-a-filter/) for more details and available fields and operators.
3
+ * Filter expressions that can be referenced across multiple features,
4
+ * e.g. Firewall Rules. See [what is a filter](https://developers.cloudflare.com/firewall/api/cf-filters/what-is-a-filter/)
5
+ * for more details and available fields and operators.
4
6
  *
5
7
  * ## Example Usage
6
8
  *
@@ -11,7 +13,7 @@ import * as pulumi from "@pulumi/pulumi";
11
13
  * const wordpress = new cloudflare.Filter("wordpress", {
12
14
  * description: "Wordpress break-in attempts that are outside of the office",
13
15
  * expression: "(http.request.uri.path ~ \".*wp-login.php\" or http.request.uri.path ~ \".*xmlrpc.php\") and ip.src ne 192.0.2.1",
14
- * zoneId: "d41d8cd98f00b204e9800998ecf8427e",
16
+ * zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
15
17
  * });
16
18
  * ```
17
19
  *
package/filter.js CHANGED
@@ -6,7 +6,9 @@ exports.Filter = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Filter expressions that can be referenced across multiple features, e.g. Firewall Rules. See [what is a filter](https://developers.cloudflare.com/firewall/api/cf-filters/what-is-a-filter/) for more details and available fields and operators.
9
+ * Filter expressions that can be referenced across multiple features,
10
+ * e.g. Firewall Rules. See [what is a filter](https://developers.cloudflare.com/firewall/api/cf-filters/what-is-a-filter/)
11
+ * for more details and available fields and operators.
10
12
  *
11
13
  * ## Example Usage
12
14
  *
@@ -17,7 +19,7 @@ const utilities = require("./utilities");
17
19
  * const wordpress = new cloudflare.Filter("wordpress", {
18
20
  * description: "Wordpress break-in attempts that are outside of the office",
19
21
  * expression: "(http.request.uri.path ~ \".*wp-login.php\" or http.request.uri.path ~ \".*xmlrpc.php\") and ip.src ne 192.0.2.1",
20
- * zoneId: "d41d8cd98f00b204e9800998ecf8427e",
22
+ * zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
21
23
  * });
22
24
  * ```
23
25
  *
package/filter.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":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,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBAoFC;AAtEG,gBAAgB;AACO,mBAAY,GAAG,gCAAgC,CAAC"}
package/firewallRule.d.ts CHANGED
@@ -1,9 +1,12 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Define Firewall rules using filter expressions for more control over how traffic is matched to the rule.
4
- * A filter expression permits selecting traffic by multiple criteria allowing greater freedom in rule creation.
3
+ * Define Firewall rules using filter expressions for more control over
4
+ * how traffic is matched to the rule. A filter expression permits
5
+ * selecting traffic by multiple criteria allowing greater freedom in
6
+ * rule creation.
5
7
  *
6
- * Filter expressions needs to be created first before using Firewall Rule.
8
+ * Filter expressions needs to be created first before using Firewall
9
+ * Rule.
7
10
  *
8
11
  * > If you want to configure Custom Firewall rules, you need to use
9
12
  * `cloudflare.Ruleset`, because Custom Rules are built upon the
@@ -16,12 +19,12 @@ import * as pulumi from "@pulumi/pulumi";
16
19
  * import * as cloudflare from "@pulumi/cloudflare";
17
20
  *
18
21
  * const wordpressFilter = new cloudflare.Filter("wordpressFilter", {
19
- * zoneId: "d41d8cd98f00b204e9800998ecf8427e",
22
+ * zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
20
23
  * description: "Wordpress break-in attempts that are outside of the office",
21
24
  * expression: "(http.request.uri.path ~ \".*wp-login.php\" or http.request.uri.path ~ \".*xmlrpc.php\") and ip.src ne 192.0.2.1",
22
25
  * });
23
26
  * const wordpressFirewallRule = new cloudflare.FirewallRule("wordpressFirewallRule", {
24
- * zoneId: "d41d8cd98f00b204e9800998ecf8427e",
27
+ * zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
25
28
  * description: "Block wordpress break-in attempts",
26
29
  * filterId: wordpressFilter.id,
27
30
  * action: "block",
@@ -51,8 +54,7 @@ export declare class FirewallRule extends pulumi.CustomResource {
51
54
  */
52
55
  static isInstance(obj: any): obj is FirewallRule;
53
56
  /**
54
- * The action to apply to a matched request. Available values: `block`, `challenge`, `allow`, `js_challenge`,
55
- * `managed_challenge`, `log`, `bypass`
57
+ * The action to apply to a matched request. Available values: `block`, `challenge`, `allow`, `jsChallenge`, `managedChallenge`, `log`, `bypass`.
56
58
  */
57
59
  readonly action: pulumi.Output<string>;
58
60
  /**
@@ -68,13 +70,11 @@ export declare class FirewallRule extends pulumi.CustomResource {
68
70
  */
69
71
  readonly paused: pulumi.Output<boolean | undefined>;
70
72
  /**
71
- * The priority of the rule to allow control of processing order. A lower number indicates high priority. If not provided,
72
- * any rules with a priority will be sequenced before those without.
73
+ * The priority of the rule to allow control of processing order. A lower number indicates high priority. If not provided, any rules with a priority will be sequenced before those without.
73
74
  */
74
75
  readonly priority: pulumi.Output<number | undefined>;
75
76
  /**
76
- * List of products to bypass for a request when the bypass action is used. Available values: `zoneLockdown`, `uaBlock`,
77
- * `bic`, `hot`, `securityLevel`, `rateLimit`, `waf`
77
+ * List of products to bypass for a request when the bypass action is used. Available values: `zoneLockdown`, `uaBlock`, `bic`, `hot`, `securityLevel`, `rateLimit`, `waf`.
78
78
  */
79
79
  readonly products: pulumi.Output<string[] | undefined>;
80
80
  /**
@@ -95,8 +95,7 @@ export declare class FirewallRule extends pulumi.CustomResource {
95
95
  */
96
96
  export interface FirewallRuleState {
97
97
  /**
98
- * The action to apply to a matched request. Available values: `block`, `challenge`, `allow`, `js_challenge`,
99
- * `managed_challenge`, `log`, `bypass`
98
+ * The action to apply to a matched request. Available values: `block`, `challenge`, `allow`, `jsChallenge`, `managedChallenge`, `log`, `bypass`.
100
99
  */
101
100
  action?: pulumi.Input<string>;
102
101
  /**
@@ -112,13 +111,11 @@ export interface FirewallRuleState {
112
111
  */
113
112
  paused?: pulumi.Input<boolean>;
114
113
  /**
115
- * The priority of the rule to allow control of processing order. A lower number indicates high priority. If not provided,
116
- * any rules with a priority will be sequenced before those without.
114
+ * The priority of the rule to allow control of processing order. A lower number indicates high priority. If not provided, any rules with a priority will be sequenced before those without.
117
115
  */
118
116
  priority?: pulumi.Input<number>;
119
117
  /**
120
- * List of products to bypass for a request when the bypass action is used. Available values: `zoneLockdown`, `uaBlock`,
121
- * `bic`, `hot`, `securityLevel`, `rateLimit`, `waf`
118
+ * List of products to bypass for a request when the bypass action is used. Available values: `zoneLockdown`, `uaBlock`, `bic`, `hot`, `securityLevel`, `rateLimit`, `waf`.
122
119
  */
123
120
  products?: pulumi.Input<pulumi.Input<string>[]>;
124
121
  /**
@@ -131,8 +128,7 @@ export interface FirewallRuleState {
131
128
  */
132
129
  export interface FirewallRuleArgs {
133
130
  /**
134
- * The action to apply to a matched request. Available values: `block`, `challenge`, `allow`, `js_challenge`,
135
- * `managed_challenge`, `log`, `bypass`
131
+ * The action to apply to a matched request. Available values: `block`, `challenge`, `allow`, `jsChallenge`, `managedChallenge`, `log`, `bypass`.
136
132
  */
137
133
  action: pulumi.Input<string>;
138
134
  /**
@@ -148,13 +144,11 @@ export interface FirewallRuleArgs {
148
144
  */
149
145
  paused?: pulumi.Input<boolean>;
150
146
  /**
151
- * The priority of the rule to allow control of processing order. A lower number indicates high priority. If not provided,
152
- * any rules with a priority will be sequenced before those without.
147
+ * The priority of the rule to allow control of processing order. A lower number indicates high priority. If not provided, any rules with a priority will be sequenced before those without.
153
148
  */
154
149
  priority?: pulumi.Input<number>;
155
150
  /**
156
- * List of products to bypass for a request when the bypass action is used. Available values: `zoneLockdown`, `uaBlock`,
157
- * `bic`, `hot`, `securityLevel`, `rateLimit`, `waf`
151
+ * List of products to bypass for a request when the bypass action is used. Available values: `zoneLockdown`, `uaBlock`, `bic`, `hot`, `securityLevel`, `rateLimit`, `waf`.
158
152
  */
159
153
  products?: pulumi.Input<pulumi.Input<string>[]>;
160
154
  /**
package/firewallRule.js CHANGED
@@ -6,10 +6,13 @@ exports.FirewallRule = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Define Firewall rules using filter expressions for more control over how traffic is matched to the rule.
10
- * A filter expression permits selecting traffic by multiple criteria allowing greater freedom in rule creation.
9
+ * Define Firewall rules using filter expressions for more control over
10
+ * how traffic is matched to the rule. A filter expression permits
11
+ * selecting traffic by multiple criteria allowing greater freedom in
12
+ * rule creation.
11
13
  *
12
- * Filter expressions needs to be created first before using Firewall Rule.
14
+ * Filter expressions needs to be created first before using Firewall
15
+ * Rule.
13
16
  *
14
17
  * > If you want to configure Custom Firewall rules, you need to use
15
18
  * `cloudflare.Ruleset`, because Custom Rules are built upon the
@@ -22,12 +25,12 @@ const utilities = require("./utilities");
22
25
  * import * as cloudflare from "@pulumi/cloudflare";
23
26
  *
24
27
  * const wordpressFilter = new cloudflare.Filter("wordpressFilter", {
25
- * zoneId: "d41d8cd98f00b204e9800998ecf8427e",
28
+ * zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
26
29
  * description: "Wordpress break-in attempts that are outside of the office",
27
30
  * expression: "(http.request.uri.path ~ \".*wp-login.php\" or http.request.uri.path ~ \".*xmlrpc.php\") and ip.src ne 192.0.2.1",
28
31
  * });
29
32
  * const wordpressFirewallRule = new cloudflare.FirewallRule("wordpressFirewallRule", {
30
- * zoneId: "d41d8cd98f00b204e9800998ecf8427e",
33
+ * zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
31
34
  * description: "Block wordpress break-in attempts",
32
35
  * filterId: wordpressFilter.id,
33
36
  * action: "block",