pulumi-bunnynet 0.6.2

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 (66) hide show
  1. package/README.md +348 -0
  2. package/bin/_virtual/rolldown_runtime.mjs +37 -0
  3. package/bin/computeContainerApp.d.mts +128 -0
  4. package/bin/computeContainerApp.mjs +97 -0
  5. package/bin/computeContainerImageregistry.d.mts +86 -0
  6. package/bin/computeContainerImageregistry.mjs +82 -0
  7. package/bin/computeScript.d.mts +102 -0
  8. package/bin/computeScript.mjs +91 -0
  9. package/bin/computeScriptSecret.d.mts +86 -0
  10. package/bin/computeScriptSecret.mjs +81 -0
  11. package/bin/computeScriptVariable.d.mts +98 -0
  12. package/bin/computeScriptVariable.mjs +86 -0
  13. package/bin/config/index.d.mts +8 -0
  14. package/bin/config/index.mjs +9 -0
  15. package/bin/config/vars.d.mts +19 -0
  16. package/bin/config/vars.mjs +36 -0
  17. package/bin/dnsRecord.d.mts +289 -0
  18. package/bin/dnsRecord.mjs +183 -0
  19. package/bin/dnsZone.d.mts +146 -0
  20. package/bin/dnsZone.mjs +108 -0
  21. package/bin/getComputeContainerAppContainer.d.mts +29 -0
  22. package/bin/getComputeContainerAppContainer.mjs +31 -0
  23. package/bin/getComputeContainerAppContainerEndpoint.d.mts +39 -0
  24. package/bin/getComputeContainerAppContainerEndpoint.mjs +33 -0
  25. package/bin/getComputeContainerImageregistry.d.mts +29 -0
  26. package/bin/getComputeContainerImageregistry.mjs +31 -0
  27. package/bin/getDnsRecord.d.mts +51 -0
  28. package/bin/getDnsRecord.mjs +35 -0
  29. package/bin/getDnsZone.d.mts +33 -0
  30. package/bin/getDnsZone.mjs +25 -0
  31. package/bin/getRegion.d.mts +33 -0
  32. package/bin/getRegion.mjs +25 -0
  33. package/bin/getVideoLanguage.d.mts +33 -0
  34. package/bin/getVideoLanguage.mjs +25 -0
  35. package/bin/index.d.mts +80 -0
  36. package/bin/index.mjs +160 -0
  37. package/bin/package.json +61 -0
  38. package/bin/package.mjs +64 -0
  39. package/bin/provider.d.mts +66 -0
  40. package/bin/provider.mjs +60 -0
  41. package/bin/pullzone.d.mts +1079 -0
  42. package/bin/pullzone.mjs +580 -0
  43. package/bin/pullzoneEdgerule.d.mts +131 -0
  44. package/bin/pullzoneEdgerule.mjs +105 -0
  45. package/bin/pullzoneHostname.d.mts +142 -0
  46. package/bin/pullzoneHostname.mjs +106 -0
  47. package/bin/pullzoneOptimizerClass.d.mts +258 -0
  48. package/bin/pullzoneOptimizerClass.mjs +162 -0
  49. package/bin/storageFile.d.mts +137 -0
  50. package/bin/storageFile.mjs +110 -0
  51. package/bin/storageZone.d.mts +154 -0
  52. package/bin/storageZone.mjs +123 -0
  53. package/bin/streamCollection.d.mts +66 -0
  54. package/bin/streamCollection.mjs +66 -0
  55. package/bin/streamLibrary.d.mts +587 -0
  56. package/bin/streamLibrary.mjs +333 -0
  57. package/bin/streamVideo.d.mts +116 -0
  58. package/bin/streamVideo.mjs +91 -0
  59. package/bin/types/index.d.mts +9 -0
  60. package/bin/types/index.mjs +13 -0
  61. package/bin/types/input.d.mts +376 -0
  62. package/bin/types/input.mjs +5 -0
  63. package/bin/types/output.d.mts +381 -0
  64. package/bin/types/output.mjs +5 -0
  65. package/bin/utilities.mjs +61 -0
  66. package/package.json +61 -0
@@ -0,0 +1,36 @@
1
+ import { __commonJS } from "../_virtual/rolldown_runtime.mjs";
2
+ import * as pulumi from "@pulumi/pulumi";
3
+
4
+ //#region config/vars.ts
5
+ var require_vars = /* @__PURE__ */ __commonJS({ "config/vars.ts": ((exports) => {
6
+ const __config = new pulumi.Config("bunnynet");
7
+ Object.defineProperty(exports, "apiKey", {
8
+ get() {
9
+ return __config.get("apiKey");
10
+ },
11
+ enumerable: true
12
+ });
13
+ Object.defineProperty(exports, "apiUrl", {
14
+ get() {
15
+ return __config.get("apiUrl");
16
+ },
17
+ enumerable: true
18
+ });
19
+ Object.defineProperty(exports, "containerApiUrl", {
20
+ get() {
21
+ return __config.get("containerApiUrl");
22
+ },
23
+ enumerable: true
24
+ });
25
+ Object.defineProperty(exports, "streamApiUrl", {
26
+ get() {
27
+ return __config.get("streamApiUrl");
28
+ },
29
+ enumerable: true
30
+ });
31
+ }) });
32
+
33
+ //#endregion
34
+ export default require_vars();
35
+
36
+ export { require_vars };
@@ -0,0 +1,289 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+
3
+ //#region dnsRecord.d.ts
4
+ declare class DnsRecord extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing DnsRecord resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DnsRecordState, opts?: pulumi.CustomResourceOptions): DnsRecord;
15
+ /** @internal */
16
+ static readonly __pulumiType: string;
17
+ /**
18
+ * Returns true if the given object is an instance of DnsRecord. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is DnsRecord;
22
+ /**
23
+ * Indicates whether the DNS record should utilize bunny.net’s acceleration services.
24
+ */
25
+ readonly accelerated!: pulumi.Output<boolean>;
26
+ /**
27
+ * The ID of the accelerated pull zone.
28
+ */
29
+ readonly acceleratedPullzone!: pulumi.Output<number>;
30
+ /**
31
+ * This property allows users to add descriptive notes for documentation and management purposes.
32
+ */
33
+ readonly comment!: pulumi.Output<string>;
34
+ /**
35
+ * The unique identifier for the DNS record.
36
+ */
37
+ readonly dnsRecordId!: pulumi.Output<number>;
38
+ /**
39
+ * Indicates whether the DNS record is enabled.
40
+ */
41
+ readonly enabled!: pulumi.Output<boolean>;
42
+ /**
43
+ * Flags for advanced DNS settings.
44
+ */
45
+ readonly flags!: pulumi.Output<number>;
46
+ /**
47
+ * The latitude for geolocation-based routing.
48
+ */
49
+ readonly geolocationLat!: pulumi.Output<number>;
50
+ /**
51
+ * The longitude for geolocation-based routing.
52
+ */
53
+ readonly geolocationLong!: pulumi.Output<number>;
54
+ /**
55
+ * The latency zone for latency-based routing.
56
+ */
57
+ readonly latencyZone!: pulumi.Output<string>;
58
+ /**
59
+ * The name of the linked resource.
60
+ */
61
+ readonly linkName!: pulumi.Output<string>;
62
+ /**
63
+ * Options: `Http`, `Monitor`, `None`, `Ping`
64
+ */
65
+ readonly monitorType!: pulumi.Output<string>;
66
+ /**
67
+ * The name of the DNS record. Use <code>name = ""</code> for apex domain records.
68
+ */
69
+ readonly name!: pulumi.Output<string>;
70
+ /**
71
+ * The port number for services that require a specific port.
72
+ */
73
+ readonly port!: pulumi.Output<number>;
74
+ /**
75
+ * The priority of the DNS record.
76
+ */
77
+ readonly priority!: pulumi.Output<number>;
78
+ /**
79
+ * Options: `Geolocation`, `Latency`, `None`
80
+ */
81
+ readonly smartRoutingType!: pulumi.Output<string>;
82
+ /**
83
+ * A tag for the DNS record.
84
+ */
85
+ readonly tag!: pulumi.Output<string>;
86
+ /**
87
+ * The time-to-live value for the DNS record.
88
+ */
89
+ readonly ttl!: pulumi.Output<number>;
90
+ /**
91
+ * Options: `A`, `AAAA`, `CAA`, `CNAME`, `Flatten`, `MX`, `NS`, `PTR`, `PullZone`, `Redirect`, `SRV`, `Script`, `TXT`
92
+ */
93
+ readonly type!: pulumi.Output<string>;
94
+ /**
95
+ * The value of the DNS record.
96
+ */
97
+ readonly value!: pulumi.Output<string>;
98
+ /**
99
+ * The weight of the DNS record. It is used in load balancing scenarios to distribute traffic based on the specified
100
+ * weight.
101
+ */
102
+ readonly weight!: pulumi.Output<number>;
103
+ /**
104
+ * ID of the related DNS zone.
105
+ */
106
+ readonly zone!: pulumi.Output<number>;
107
+ /**
108
+ * Create a DnsRecord resource with the given unique name, arguments, and options.
109
+ *
110
+ * @param name The _unique_ name of the resource.
111
+ * @param args The arguments to use to populate this resource's properties.
112
+ * @param opts A bag of options that control this resource's behavior.
113
+ */
114
+ constructor(name: string, args: DnsRecordArgs, opts?: pulumi.CustomResourceOptions);
115
+ }
116
+ /**
117
+ * Input properties used for looking up and filtering DnsRecord resources.
118
+ */
119
+ interface DnsRecordState {
120
+ /**
121
+ * Indicates whether the DNS record should utilize bunny.net’s acceleration services.
122
+ */
123
+ accelerated?: pulumi.Input<boolean>;
124
+ /**
125
+ * The ID of the accelerated pull zone.
126
+ */
127
+ acceleratedPullzone?: pulumi.Input<number>;
128
+ /**
129
+ * This property allows users to add descriptive notes for documentation and management purposes.
130
+ */
131
+ comment?: pulumi.Input<string>;
132
+ /**
133
+ * The unique identifier for the DNS record.
134
+ */
135
+ dnsRecordId?: pulumi.Input<number>;
136
+ /**
137
+ * Indicates whether the DNS record is enabled.
138
+ */
139
+ enabled?: pulumi.Input<boolean>;
140
+ /**
141
+ * Flags for advanced DNS settings.
142
+ */
143
+ flags?: pulumi.Input<number>;
144
+ /**
145
+ * The latitude for geolocation-based routing.
146
+ */
147
+ geolocationLat?: pulumi.Input<number>;
148
+ /**
149
+ * The longitude for geolocation-based routing.
150
+ */
151
+ geolocationLong?: pulumi.Input<number>;
152
+ /**
153
+ * The latency zone for latency-based routing.
154
+ */
155
+ latencyZone?: pulumi.Input<string>;
156
+ /**
157
+ * The name of the linked resource.
158
+ */
159
+ linkName?: pulumi.Input<string>;
160
+ /**
161
+ * Options: `Http`, `Monitor`, `None`, `Ping`
162
+ */
163
+ monitorType?: pulumi.Input<string>;
164
+ /**
165
+ * The name of the DNS record. Use <code>name = ""</code> for apex domain records.
166
+ */
167
+ name?: pulumi.Input<string>;
168
+ /**
169
+ * The port number for services that require a specific port.
170
+ */
171
+ port?: pulumi.Input<number>;
172
+ /**
173
+ * The priority of the DNS record.
174
+ */
175
+ priority?: pulumi.Input<number>;
176
+ /**
177
+ * Options: `Geolocation`, `Latency`, `None`
178
+ */
179
+ smartRoutingType?: pulumi.Input<string>;
180
+ /**
181
+ * A tag for the DNS record.
182
+ */
183
+ tag?: pulumi.Input<string>;
184
+ /**
185
+ * The time-to-live value for the DNS record.
186
+ */
187
+ ttl?: pulumi.Input<number>;
188
+ /**
189
+ * Options: `A`, `AAAA`, `CAA`, `CNAME`, `Flatten`, `MX`, `NS`, `PTR`, `PullZone`, `Redirect`, `SRV`, `Script`, `TXT`
190
+ */
191
+ type?: pulumi.Input<string>;
192
+ /**
193
+ * The value of the DNS record.
194
+ */
195
+ value?: pulumi.Input<string>;
196
+ /**
197
+ * The weight of the DNS record. It is used in load balancing scenarios to distribute traffic based on the specified
198
+ * weight.
199
+ */
200
+ weight?: pulumi.Input<number>;
201
+ /**
202
+ * ID of the related DNS zone.
203
+ */
204
+ zone?: pulumi.Input<number>;
205
+ }
206
+ /**
207
+ * The set of arguments for constructing a DnsRecord resource.
208
+ */
209
+ interface DnsRecordArgs {
210
+ /**
211
+ * Indicates whether the DNS record should utilize bunny.net’s acceleration services.
212
+ */
213
+ accelerated?: pulumi.Input<boolean>;
214
+ /**
215
+ * This property allows users to add descriptive notes for documentation and management purposes.
216
+ */
217
+ comment?: pulumi.Input<string>;
218
+ /**
219
+ * Indicates whether the DNS record is enabled.
220
+ */
221
+ enabled?: pulumi.Input<boolean>;
222
+ /**
223
+ * Flags for advanced DNS settings.
224
+ */
225
+ flags?: pulumi.Input<number>;
226
+ /**
227
+ * The latitude for geolocation-based routing.
228
+ */
229
+ geolocationLat?: pulumi.Input<number>;
230
+ /**
231
+ * The longitude for geolocation-based routing.
232
+ */
233
+ geolocationLong?: pulumi.Input<number>;
234
+ /**
235
+ * The latency zone for latency-based routing.
236
+ */
237
+ latencyZone?: pulumi.Input<string>;
238
+ /**
239
+ * The name of the linked resource.
240
+ */
241
+ linkName?: pulumi.Input<string>;
242
+ /**
243
+ * Options: `Http`, `Monitor`, `None`, `Ping`
244
+ */
245
+ monitorType?: pulumi.Input<string>;
246
+ /**
247
+ * The name of the DNS record. Use <code>name = ""</code> for apex domain records.
248
+ */
249
+ name?: pulumi.Input<string>;
250
+ /**
251
+ * The port number for services that require a specific port.
252
+ */
253
+ port?: pulumi.Input<number>;
254
+ /**
255
+ * The priority of the DNS record.
256
+ */
257
+ priority?: pulumi.Input<number>;
258
+ /**
259
+ * Options: `Geolocation`, `Latency`, `None`
260
+ */
261
+ smartRoutingType?: pulumi.Input<string>;
262
+ /**
263
+ * A tag for the DNS record.
264
+ */
265
+ tag?: pulumi.Input<string>;
266
+ /**
267
+ * The time-to-live value for the DNS record.
268
+ */
269
+ ttl?: pulumi.Input<number>;
270
+ /**
271
+ * Options: `A`, `AAAA`, `CAA`, `CNAME`, `Flatten`, `MX`, `NS`, `PTR`, `PullZone`, `Redirect`, `SRV`, `Script`, `TXT`
272
+ */
273
+ type: pulumi.Input<string>;
274
+ /**
275
+ * The value of the DNS record.
276
+ */
277
+ value: pulumi.Input<string>;
278
+ /**
279
+ * The weight of the DNS record. It is used in load balancing scenarios to distribute traffic based on the specified
280
+ * weight.
281
+ */
282
+ weight?: pulumi.Input<number>;
283
+ /**
284
+ * ID of the related DNS zone.
285
+ */
286
+ zone: pulumi.Input<number>;
287
+ }
288
+ //#endregion
289
+ export { DnsRecord, DnsRecordArgs, DnsRecordState };
@@ -0,0 +1,183 @@
1
+ import { __esm, __export } from "./_virtual/rolldown_runtime.mjs";
2
+ import { getPackage, init_utilities, resourceOptsDefaults } from "./utilities.mjs";
3
+ import * as pulumi from "@pulumi/pulumi";
4
+
5
+ //#region dnsRecord.ts
6
+ var dnsRecord_exports = {};
7
+ __export(dnsRecord_exports, { DnsRecord: () => DnsRecord });
8
+ var DnsRecord;
9
+ var init_dnsRecord = __esm({ "dnsRecord.ts": (() => {
10
+ init_utilities();
11
+ DnsRecord = class DnsRecord extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing DnsRecord resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param state Any extra arguments used during the lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name, id, state, opts) {
22
+ return new DnsRecord(name, state, {
23
+ ...opts,
24
+ id
25
+ });
26
+ }
27
+ /** @internal */
28
+ static __pulumiType = "bunnynet:index/dnsRecord:DnsRecord";
29
+ /**
30
+ * Returns true if the given object is an instance of DnsRecord. This is designed to work even
31
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
32
+ */
33
+ static isInstance(obj) {
34
+ if (obj === void 0 || obj === null) return false;
35
+ return obj["__pulumiType"] === DnsRecord.__pulumiType;
36
+ }
37
+ /**
38
+ * Indicates whether the DNS record should utilize bunny.net’s acceleration services.
39
+ */
40
+ accelerated;
41
+ /**
42
+ * The ID of the accelerated pull zone.
43
+ */
44
+ acceleratedPullzone;
45
+ /**
46
+ * This property allows users to add descriptive notes for documentation and management purposes.
47
+ */
48
+ comment;
49
+ /**
50
+ * The unique identifier for the DNS record.
51
+ */
52
+ dnsRecordId;
53
+ /**
54
+ * Indicates whether the DNS record is enabled.
55
+ */
56
+ enabled;
57
+ /**
58
+ * Flags for advanced DNS settings.
59
+ */
60
+ flags;
61
+ /**
62
+ * The latitude for geolocation-based routing.
63
+ */
64
+ geolocationLat;
65
+ /**
66
+ * The longitude for geolocation-based routing.
67
+ */
68
+ geolocationLong;
69
+ /**
70
+ * The latency zone for latency-based routing.
71
+ */
72
+ latencyZone;
73
+ /**
74
+ * The name of the linked resource.
75
+ */
76
+ linkName;
77
+ /**
78
+ * Options: `Http`, `Monitor`, `None`, `Ping`
79
+ */
80
+ monitorType;
81
+ /**
82
+ * The name of the DNS record. Use <code>name = ""</code> for apex domain records.
83
+ */
84
+ name;
85
+ /**
86
+ * The port number for services that require a specific port.
87
+ */
88
+ port;
89
+ /**
90
+ * The priority of the DNS record.
91
+ */
92
+ priority;
93
+ /**
94
+ * Options: `Geolocation`, `Latency`, `None`
95
+ */
96
+ smartRoutingType;
97
+ /**
98
+ * A tag for the DNS record.
99
+ */
100
+ tag;
101
+ /**
102
+ * The time-to-live value for the DNS record.
103
+ */
104
+ ttl;
105
+ /**
106
+ * Options: `A`, `AAAA`, `CAA`, `CNAME`, `Flatten`, `MX`, `NS`, `PTR`, `PullZone`, `Redirect`, `SRV`, `Script`, `TXT`
107
+ */
108
+ type;
109
+ /**
110
+ * The value of the DNS record.
111
+ */
112
+ value;
113
+ /**
114
+ * The weight of the DNS record. It is used in load balancing scenarios to distribute traffic based on the specified
115
+ * weight.
116
+ */
117
+ weight;
118
+ /**
119
+ * ID of the related DNS zone.
120
+ */
121
+ zone;
122
+ constructor(name, argsOrState, opts) {
123
+ let resourceInputs = {};
124
+ opts = opts || {};
125
+ if (opts.id) {
126
+ const state = argsOrState;
127
+ resourceInputs["accelerated"] = state ? state.accelerated : void 0;
128
+ resourceInputs["acceleratedPullzone"] = state ? state.acceleratedPullzone : void 0;
129
+ resourceInputs["comment"] = state ? state.comment : void 0;
130
+ resourceInputs["dnsRecordId"] = state ? state.dnsRecordId : void 0;
131
+ resourceInputs["enabled"] = state ? state.enabled : void 0;
132
+ resourceInputs["flags"] = state ? state.flags : void 0;
133
+ resourceInputs["geolocationLat"] = state ? state.geolocationLat : void 0;
134
+ resourceInputs["geolocationLong"] = state ? state.geolocationLong : void 0;
135
+ resourceInputs["latencyZone"] = state ? state.latencyZone : void 0;
136
+ resourceInputs["linkName"] = state ? state.linkName : void 0;
137
+ resourceInputs["monitorType"] = state ? state.monitorType : void 0;
138
+ resourceInputs["name"] = state ? state.name : void 0;
139
+ resourceInputs["port"] = state ? state.port : void 0;
140
+ resourceInputs["priority"] = state ? state.priority : void 0;
141
+ resourceInputs["smartRoutingType"] = state ? state.smartRoutingType : void 0;
142
+ resourceInputs["tag"] = state ? state.tag : void 0;
143
+ resourceInputs["ttl"] = state ? state.ttl : void 0;
144
+ resourceInputs["type"] = state ? state.type : void 0;
145
+ resourceInputs["value"] = state ? state.value : void 0;
146
+ resourceInputs["weight"] = state ? state.weight : void 0;
147
+ resourceInputs["zone"] = state ? state.zone : void 0;
148
+ } else {
149
+ const args = argsOrState;
150
+ if ((!args || args.type === void 0) && !opts.urn) throw new Error("Missing required property 'type'");
151
+ if ((!args || args.value === void 0) && !opts.urn) throw new Error("Missing required property 'value'");
152
+ if ((!args || args.zone === void 0) && !opts.urn) throw new Error("Missing required property 'zone'");
153
+ resourceInputs["accelerated"] = args ? args.accelerated : void 0;
154
+ resourceInputs["comment"] = args ? args.comment : void 0;
155
+ resourceInputs["enabled"] = args ? args.enabled : void 0;
156
+ resourceInputs["flags"] = args ? args.flags : void 0;
157
+ resourceInputs["geolocationLat"] = args ? args.geolocationLat : void 0;
158
+ resourceInputs["geolocationLong"] = args ? args.geolocationLong : void 0;
159
+ resourceInputs["latencyZone"] = args ? args.latencyZone : void 0;
160
+ resourceInputs["linkName"] = args ? args.linkName : void 0;
161
+ resourceInputs["monitorType"] = args ? args.monitorType : void 0;
162
+ resourceInputs["name"] = args ? args.name : void 0;
163
+ resourceInputs["port"] = args ? args.port : void 0;
164
+ resourceInputs["priority"] = args ? args.priority : void 0;
165
+ resourceInputs["smartRoutingType"] = args ? args.smartRoutingType : void 0;
166
+ resourceInputs["tag"] = args ? args.tag : void 0;
167
+ resourceInputs["ttl"] = args ? args.ttl : void 0;
168
+ resourceInputs["type"] = args ? args.type : void 0;
169
+ resourceInputs["value"] = args ? args.value : void 0;
170
+ resourceInputs["weight"] = args ? args.weight : void 0;
171
+ resourceInputs["zone"] = args ? args.zone : void 0;
172
+ resourceInputs["acceleratedPullzone"] = void 0;
173
+ resourceInputs["dnsRecordId"] = void 0;
174
+ }
175
+ opts = pulumi.mergeOptions(resourceOptsDefaults(), opts);
176
+ super(DnsRecord.__pulumiType, name, resourceInputs, opts, false, getPackage());
177
+ }
178
+ };
179
+ }) });
180
+
181
+ //#endregion
182
+ init_dnsRecord();
183
+ export { dnsRecord_exports, init_dnsRecord };
@@ -0,0 +1,146 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+
3
+ //#region dnsZone.d.ts
4
+ declare class DnsZone extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing DnsZone resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DnsZoneState, opts?: pulumi.CustomResourceOptions): DnsZone;
15
+ /** @internal */
16
+ static readonly __pulumiType: string;
17
+ /**
18
+ * Returns true if the given object is an instance of DnsZone. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is DnsZone;
22
+ /**
23
+ * The unique identifier for the DNS zone.
24
+ */
25
+ readonly dnsZoneId!: pulumi.Output<number>;
26
+ /**
27
+ * The domain name for the DNS zone.
28
+ */
29
+ readonly domain!: pulumi.Output<string>;
30
+ /**
31
+ * Indicates whether DNS logs are anonymized.
32
+ */
33
+ readonly logAnonymized!: pulumi.Output<boolean>;
34
+ /**
35
+ * Options: `Drop`, `OneDigit`
36
+ */
37
+ readonly logAnonymizedStyle!: pulumi.Output<string>;
38
+ /**
39
+ * Indicates whether permanent logging for DNS queries is enabled.
40
+ */
41
+ readonly logEnabled!: pulumi.Output<boolean>;
42
+ /**
43
+ * The primary nameserver for the DNS zone.
44
+ */
45
+ readonly nameserver1!: pulumi.Output<string>;
46
+ /**
47
+ * The secondary nameserver for the DNS zone.
48
+ */
49
+ readonly nameserver2!: pulumi.Output<string>;
50
+ /**
51
+ * Indicates whether custom nameservers are used.
52
+ */
53
+ readonly nameserverCustom!: pulumi.Output<boolean>;
54
+ /**
55
+ * The email address used in the Start of Authority (SOA) record for the DNS zone.
56
+ */
57
+ readonly soaEmail!: pulumi.Output<string>;
58
+ /**
59
+ * Create a DnsZone resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name: string, args: DnsZoneArgs, opts?: pulumi.CustomResourceOptions);
66
+ }
67
+ /**
68
+ * Input properties used for looking up and filtering DnsZone resources.
69
+ */
70
+ interface DnsZoneState {
71
+ /**
72
+ * The unique identifier for the DNS zone.
73
+ */
74
+ dnsZoneId?: pulumi.Input<number>;
75
+ /**
76
+ * The domain name for the DNS zone.
77
+ */
78
+ domain?: pulumi.Input<string>;
79
+ /**
80
+ * Indicates whether DNS logs are anonymized.
81
+ */
82
+ logAnonymized?: pulumi.Input<boolean>;
83
+ /**
84
+ * Options: `Drop`, `OneDigit`
85
+ */
86
+ logAnonymizedStyle?: pulumi.Input<string>;
87
+ /**
88
+ * Indicates whether permanent logging for DNS queries is enabled.
89
+ */
90
+ logEnabled?: pulumi.Input<boolean>;
91
+ /**
92
+ * The primary nameserver for the DNS zone.
93
+ */
94
+ nameserver1?: pulumi.Input<string>;
95
+ /**
96
+ * The secondary nameserver for the DNS zone.
97
+ */
98
+ nameserver2?: pulumi.Input<string>;
99
+ /**
100
+ * Indicates whether custom nameservers are used.
101
+ */
102
+ nameserverCustom?: pulumi.Input<boolean>;
103
+ /**
104
+ * The email address used in the Start of Authority (SOA) record for the DNS zone.
105
+ */
106
+ soaEmail?: pulumi.Input<string>;
107
+ }
108
+ /**
109
+ * The set of arguments for constructing a DnsZone resource.
110
+ */
111
+ interface DnsZoneArgs {
112
+ /**
113
+ * The domain name for the DNS zone.
114
+ */
115
+ domain: pulumi.Input<string>;
116
+ /**
117
+ * Indicates whether DNS logs are anonymized.
118
+ */
119
+ logAnonymized?: pulumi.Input<boolean>;
120
+ /**
121
+ * Options: `Drop`, `OneDigit`
122
+ */
123
+ logAnonymizedStyle?: pulumi.Input<string>;
124
+ /**
125
+ * Indicates whether permanent logging for DNS queries is enabled.
126
+ */
127
+ logEnabled?: pulumi.Input<boolean>;
128
+ /**
129
+ * The primary nameserver for the DNS zone.
130
+ */
131
+ nameserver1?: pulumi.Input<string>;
132
+ /**
133
+ * The secondary nameserver for the DNS zone.
134
+ */
135
+ nameserver2?: pulumi.Input<string>;
136
+ /**
137
+ * Indicates whether custom nameservers are used.
138
+ */
139
+ nameserverCustom?: pulumi.Input<boolean>;
140
+ /**
141
+ * The email address used in the Start of Authority (SOA) record for the DNS zone.
142
+ */
143
+ soaEmail?: pulumi.Input<string>;
144
+ }
145
+ //#endregion
146
+ export { DnsZone, DnsZoneArgs, DnsZoneState };