@cdktf-providers/edge-center-edgecenter 0.10.4

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 (173) hide show
  1. package/LICENSE +355 -0
  2. package/README.md +19 -0
  3. package/dist/baremetal/index.d.ts +528 -0
  4. package/dist/baremetal/index.js +1250 -0
  5. package/dist/cdn-lecert/index.d.ts +76 -0
  6. package/dist/cdn-lecert/index.js +157 -0
  7. package/dist/cdn-origingroup/index.d.ts +237 -0
  8. package/dist/cdn-origingroup/index.js +560 -0
  9. package/dist/cdn-resource/index.d.ts +2223 -0
  10. package/dist/cdn-resource/index.js +5865 -0
  11. package/dist/cdn-rule/index.d.ts +2037 -0
  12. package/dist/cdn-rule/index.js +5381 -0
  13. package/dist/cdn-shielding/index.d.ts +64 -0
  14. package/dist/cdn-shielding/index.js +131 -0
  15. package/dist/cdn-sslcert/index.d.ts +76 -0
  16. package/dist/cdn-sslcert/index.js +159 -0
  17. package/dist/data-edgecenter-availability-zone/index.d.ts +67 -0
  18. package/dist/data-edgecenter-availability-zone/index.js +141 -0
  19. package/dist/data-edgecenter-cdn-shielding-location/index.d.ts +54 -0
  20. package/dist/data-edgecenter-cdn-shielding-location/index.js +111 -0
  21. package/dist/data-edgecenter-floatingip/index.d.ts +183 -0
  22. package/dist/data-edgecenter-floatingip/index.js +378 -0
  23. package/dist/data-edgecenter-image/index.d.ts +183 -0
  24. package/dist/data-edgecenter-image/index.js +378 -0
  25. package/dist/data-edgecenter-instance/index.d.ts +312 -0
  26. package/dist/data-edgecenter-instance/index.js +690 -0
  27. package/dist/data-edgecenter-instance-port-security/index.d.ts +110 -0
  28. package/dist/data-edgecenter-instance-port-security/index.js +231 -0
  29. package/dist/data-edgecenter-instance-v2/index.d.ts +222 -0
  30. package/dist/data-edgecenter-instance-v2/index.js +501 -0
  31. package/dist/data-edgecenter-k8s/index.d.ts +167 -0
  32. package/dist/data-edgecenter-k8s/index.js +412 -0
  33. package/dist/data-edgecenter-k8s-client-config/index.d.ts +100 -0
  34. package/dist/data-edgecenter-k8s-client-config/index.js +211 -0
  35. package/dist/data-edgecenter-k8s-pool/index.d.ts +120 -0
  36. package/dist/data-edgecenter-k8s-pool/index.js +271 -0
  37. package/dist/data-edgecenter-lb-l7policy/index.d.ts +114 -0
  38. package/dist/data-edgecenter-lb-l7policy/index.js +258 -0
  39. package/dist/data-edgecenter-lb-l7rule/index.d.ts +120 -0
  40. package/dist/data-edgecenter-lb-l7rule/index.js +262 -0
  41. package/dist/data-edgecenter-lblistener/index.d.ts +122 -0
  42. package/dist/data-edgecenter-lblistener/index.js +269 -0
  43. package/dist/data-edgecenter-lbpool/index.d.ts +204 -0
  44. package/dist/data-edgecenter-lbpool/index.js +454 -0
  45. package/dist/data-edgecenter-loadbalancer/index.d.ts +203 -0
  46. package/dist/data-edgecenter-loadbalancer/index.js +427 -0
  47. package/dist/data-edgecenter-loadbalancerv2/index.d.ts +169 -0
  48. package/dist/data-edgecenter-loadbalancerv2/index.js +343 -0
  49. package/dist/data-edgecenter-network/index.d.ts +270 -0
  50. package/dist/data-edgecenter-network/index.js +589 -0
  51. package/dist/data-edgecenter-project/index.d.ts +72 -0
  52. package/dist/data-edgecenter-project/index.js +153 -0
  53. package/dist/data-edgecenter-region/index.d.ts +54 -0
  54. package/dist/data-edgecenter-region/index.js +111 -0
  55. package/dist/data-edgecenter-reseller-images/index.d.ts +91 -0
  56. package/dist/data-edgecenter-reseller-images/index.js +198 -0
  57. package/dist/data-edgecenter-reseller-images-v2/index.d.ts +101 -0
  58. package/dist/data-edgecenter-reseller-images-v2/index.js +218 -0
  59. package/dist/data-edgecenter-reseller-networks/index.d.ts +269 -0
  60. package/dist/data-edgecenter-reseller-networks/index.js +610 -0
  61. package/dist/data-edgecenter-reservedfixedip/index.d.ts +141 -0
  62. package/dist/data-edgecenter-reservedfixedip/index.js +311 -0
  63. package/dist/data-edgecenter-router/index.d.ts +245 -0
  64. package/dist/data-edgecenter-router/index.js +538 -0
  65. package/dist/data-edgecenter-secret/index.d.ts +109 -0
  66. package/dist/data-edgecenter-secret/index.js +235 -0
  67. package/dist/data-edgecenter-securitygroup/index.d.ts +211 -0
  68. package/dist/data-edgecenter-securitygroup/index.js +450 -0
  69. package/dist/data-edgecenter-servergroup/index.d.ts +137 -0
  70. package/dist/data-edgecenter-servergroup/index.js +289 -0
  71. package/dist/data-edgecenter-snapshot/index.d.ts +129 -0
  72. package/dist/data-edgecenter-snapshot/index.js +281 -0
  73. package/dist/data-edgecenter-storage-s3/index.d.ts +71 -0
  74. package/dist/data-edgecenter-storage-s3/index.js +157 -0
  75. package/dist/data-edgecenter-storage-s3-bucket/index.d.ts +64 -0
  76. package/dist/data-edgecenter-storage-s3-bucket/index.js +131 -0
  77. package/dist/data-edgecenter-subnet/index.d.ts +253 -0
  78. package/dist/data-edgecenter-subnet/index.js +536 -0
  79. package/dist/data-edgecenter-useractions-subscription-amqp/index.d.ts +48 -0
  80. package/dist/data-edgecenter-useractions-subscription-amqp/index.js +107 -0
  81. package/dist/data-edgecenter-useractions-subscription-log/index.d.ts +47 -0
  82. package/dist/data-edgecenter-useractions-subscription-log/index.js +103 -0
  83. package/dist/data-edgecenter-volume/index.d.ts +169 -0
  84. package/dist/data-edgecenter-volume/index.js +343 -0
  85. package/dist/dns-zone/index.d.ts +54 -0
  86. package/dist/dns-zone/index.js +111 -0
  87. package/dist/dns-zone-record/index.d.ts +494 -0
  88. package/dist/dns-zone-record/index.js +1217 -0
  89. package/dist/floatingip/index.d.ts +185 -0
  90. package/dist/floatingip/index.js +394 -0
  91. package/dist/index.d.ts +83 -0
  92. package/dist/index.js +84 -0
  93. package/dist/instance/index.d.ts +830 -0
  94. package/dist/instance/index.js +1948 -0
  95. package/dist/instance-port-security/index.d.ts +229 -0
  96. package/dist/instance-port-security/index.js +564 -0
  97. package/dist/instance-v2/index.d.ts +552 -0
  98. package/dist/instance-v2/index.js +1244 -0
  99. package/dist/k8s/index.d.ts +342 -0
  100. package/dist/k8s/index.js +856 -0
  101. package/dist/k8s-pool/index.d.ts +227 -0
  102. package/dist/k8s-pool/index.js +514 -0
  103. package/dist/keypair/index.d.ts +88 -0
  104. package/dist/keypair/index.js +185 -0
  105. package/dist/lazy-index.d.ts +0 -0
  106. package/dist/lazy-index.js +84 -0
  107. package/dist/lb-l7policy/index.d.ts +244 -0
  108. package/dist/lb-l7policy/index.js +566 -0
  109. package/dist/lb-l7rule/index.d.ts +219 -0
  110. package/dist/lb-l7rule/index.js +506 -0
  111. package/dist/lblistener/index.d.ts +264 -0
  112. package/dist/lblistener/index.js +597 -0
  113. package/dist/lbmember/index.d.ts +207 -0
  114. package/dist/lbmember/index.js +473 -0
  115. package/dist/lbpool/index.d.ts +387 -0
  116. package/dist/lbpool/index.js +934 -0
  117. package/dist/lifecyclepolicy/index.d.ts +476 -0
  118. package/dist/lifecyclepolicy/index.js +1188 -0
  119. package/dist/loadbalancer/index.d.ts +341 -0
  120. package/dist/loadbalancer/index.js +851 -0
  121. package/dist/loadbalancerv2/index.d.ts +253 -0
  122. package/dist/loadbalancerv2/index.js +562 -0
  123. package/dist/network/index.d.ts +187 -0
  124. package/dist/network/index.js +382 -0
  125. package/dist/project/index.d.ts +68 -0
  126. package/dist/project/index.js +150 -0
  127. package/dist/protection-resource/index.d.ts +179 -0
  128. package/dist/protection-resource/index.js +381 -0
  129. package/dist/protection-resource-alias/index.d.ts +64 -0
  130. package/dist/protection-resource-alias/index.js +131 -0
  131. package/dist/protection-resource-alias-certificate/index.d.ts +88 -0
  132. package/dist/protection-resource-alias-certificate/index.js +185 -0
  133. package/dist/protection-resource-blacklist-entry/index.d.ts +64 -0
  134. package/dist/protection-resource-blacklist-entry/index.js +131 -0
  135. package/dist/protection-resource-certificate/index.d.ts +88 -0
  136. package/dist/protection-resource-certificate/index.js +185 -0
  137. package/dist/protection-resource-header/index.d.ts +74 -0
  138. package/dist/protection-resource-header/index.js +151 -0
  139. package/dist/protection-resource-origin/index.d.ts +119 -0
  140. package/dist/protection-resource-origin/index.js +246 -0
  141. package/dist/protection-resource-whitelist-entry/index.d.ts +64 -0
  142. package/dist/protection-resource-whitelist-entry/index.js +131 -0
  143. package/dist/provider/index.d.ts +182 -0
  144. package/dist/provider/index.js +384 -0
  145. package/dist/reseller-images/index.d.ts +120 -0
  146. package/dist/reseller-images/index.js +272 -0
  147. package/dist/reseller-images-v2/index.d.ts +130 -0
  148. package/dist/reseller-images-v2/index.js +292 -0
  149. package/dist/reservedfixedip/index.d.ts +230 -0
  150. package/dist/reservedfixedip/index.js +513 -0
  151. package/dist/router/index.d.ts +322 -0
  152. package/dist/router/index.js +755 -0
  153. package/dist/secret/index.d.ts +146 -0
  154. package/dist/secret/index.js +311 -0
  155. package/dist/securitygroup/index.d.ts +291 -0
  156. package/dist/securitygroup/index.js +654 -0
  157. package/dist/servergroup/index.d.ts +143 -0
  158. package/dist/servergroup/index.js +302 -0
  159. package/dist/snapshot/index.d.ts +185 -0
  160. package/dist/snapshot/index.js +383 -0
  161. package/dist/storage-s3/index.d.ts +141 -0
  162. package/dist/storage-s3/index.js +292 -0
  163. package/dist/storage-s3-bucket/index.d.ts +64 -0
  164. package/dist/storage-s3-bucket/index.js +131 -0
  165. package/dist/subnet/index.d.ts +346 -0
  166. package/dist/subnet/index.js +751 -0
  167. package/dist/useractions-subscription-amqp/index.d.ts +87 -0
  168. package/dist/useractions-subscription-amqp/index.js +180 -0
  169. package/dist/useractions-subscription-log/index.d.ts +74 -0
  170. package/dist/useractions-subscription-log/index.js +151 -0
  171. package/dist/volume/index.d.ts +208 -0
  172. package/dist/volume/index.js +424 -0
  173. package/package.json +51 -0
@@ -0,0 +1,412 @@
1
+ // https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/k8s
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ export function dataEdgecenterK8SPoolToTerraform(struct) {
5
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
6
+ return struct;
7
+ }
8
+ if (cdktf.isComplexElement(struct)) {
9
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
10
+ }
11
+ return {};
12
+ }
13
+ export function dataEdgecenterK8SPoolToHclTerraform(struct) {
14
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
15
+ return struct;
16
+ }
17
+ if (cdktf.isComplexElement(struct)) {
18
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
19
+ }
20
+ const attrs = {};
21
+ return attrs;
22
+ }
23
+ export class DataEdgecenterK8SPoolOutputReference extends cdktf.ComplexObject {
24
+ isEmptyObject = false;
25
+ /**
26
+ * @param terraformResource The parent resource
27
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
28
+ * @param complexObjectIndex the index of this item in the list
29
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
30
+ */
31
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
32
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
33
+ }
34
+ get internalValue() {
35
+ let hasAnyValues = this.isEmptyObject;
36
+ const internalValueResult = {};
37
+ return hasAnyValues ? internalValueResult : undefined;
38
+ }
39
+ set internalValue(value) {
40
+ if (value === undefined) {
41
+ this.isEmptyObject = false;
42
+ }
43
+ else {
44
+ this.isEmptyObject = Object.keys(value).length === 0;
45
+ }
46
+ }
47
+ // created_at - computed: true, optional: false, required: false
48
+ get createdAt() {
49
+ return this.getStringAttribute('created_at');
50
+ }
51
+ // docker_volume_size - computed: true, optional: false, required: false
52
+ get dockerVolumeSize() {
53
+ return this.getNumberAttribute('docker_volume_size');
54
+ }
55
+ // docker_volume_type - computed: true, optional: false, required: false
56
+ get dockerVolumeType() {
57
+ return this.getStringAttribute('docker_volume_type');
58
+ }
59
+ // flavor_id - computed: true, optional: false, required: false
60
+ get flavorId() {
61
+ return this.getStringAttribute('flavor_id');
62
+ }
63
+ // max_node_count - computed: true, optional: false, required: false
64
+ get maxNodeCount() {
65
+ return this.getNumberAttribute('max_node_count');
66
+ }
67
+ // min_node_count - computed: true, optional: false, required: false
68
+ get minNodeCount() {
69
+ return this.getNumberAttribute('min_node_count');
70
+ }
71
+ // name - computed: true, optional: false, required: false
72
+ get name() {
73
+ return this.getStringAttribute('name');
74
+ }
75
+ // node_count - computed: true, optional: false, required: false
76
+ get nodeCount() {
77
+ return this.getNumberAttribute('node_count');
78
+ }
79
+ // stack_id - computed: true, optional: false, required: false
80
+ get stackId() {
81
+ return this.getStringAttribute('stack_id');
82
+ }
83
+ // uuid - computed: true, optional: false, required: false
84
+ get uuid() {
85
+ return this.getStringAttribute('uuid');
86
+ }
87
+ }
88
+ export class DataEdgecenterK8SPoolList extends cdktf.ComplexList {
89
+ terraformResource;
90
+ terraformAttribute;
91
+ wrapsSet;
92
+ /**
93
+ * @param terraformResource The parent resource
94
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
95
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
96
+ */
97
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
98
+ super(terraformResource, terraformAttribute, wrapsSet);
99
+ this.terraformResource = terraformResource;
100
+ this.terraformAttribute = terraformAttribute;
101
+ this.wrapsSet = wrapsSet;
102
+ }
103
+ /**
104
+ * @param index the index of the item to return
105
+ */
106
+ get(index) {
107
+ return new DataEdgecenterK8SPoolOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
108
+ }
109
+ }
110
+ /**
111
+ * Represents a {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/k8s edgecenter_k8s}
112
+ */
113
+ export class DataEdgecenterK8S extends cdktf.TerraformDataSource {
114
+ // =================
115
+ // STATIC PROPERTIES
116
+ // =================
117
+ static tfResourceType = "edgecenter_k8s";
118
+ // ==============
119
+ // STATIC Methods
120
+ // ==============
121
+ /**
122
+ * Generates CDKTF code for importing a DataEdgecenterK8S resource upon running "cdktf plan <stack-name>"
123
+ * @param scope The scope in which to define this construct
124
+ * @param importToId The construct id used in the generated config for the DataEdgecenterK8S to import
125
+ * @param importFromId The id of the existing DataEdgecenterK8S that should be imported. Refer to the {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/k8s#import import section} in the documentation of this resource for the id to use
126
+ * @param provider? Optional instance of the provider where the DataEdgecenterK8S to import is found
127
+ */
128
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
129
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "edgecenter_k8s", importId: importFromId, provider });
130
+ }
131
+ // ===========
132
+ // INITIALIZER
133
+ // ===========
134
+ /**
135
+ * Create a new {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/k8s edgecenter_k8s} Data Source
136
+ *
137
+ * @param scope The scope in which to define this construct
138
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
139
+ * @param options DataEdgecenterK8SConfig
140
+ */
141
+ constructor(scope, id, config) {
142
+ super(scope, id, {
143
+ terraformResourceType: 'edgecenter_k8s',
144
+ terraformGeneratorMetadata: {
145
+ providerName: 'edgecenter',
146
+ providerVersion: '0.10.4',
147
+ providerVersionConstraint: '0.10.4'
148
+ },
149
+ provider: config.provider,
150
+ dependsOn: config.dependsOn,
151
+ count: config.count,
152
+ lifecycle: config.lifecycle,
153
+ provisioners: config.provisioners,
154
+ connection: config.connection,
155
+ forEach: config.forEach
156
+ });
157
+ this._clusterId = config.clusterId;
158
+ this._id = config.id;
159
+ this._projectId = config.projectId;
160
+ this._projectName = config.projectName;
161
+ this._regionId = config.regionId;
162
+ this._regionName = config.regionName;
163
+ }
164
+ // ==========
165
+ // ATTRIBUTES
166
+ // ==========
167
+ // api_address - computed: true, optional: false, required: false
168
+ get apiAddress() {
169
+ return this.getStringAttribute('api_address');
170
+ }
171
+ // auto_healing_enabled - computed: true, optional: false, required: false
172
+ get autoHealingEnabled() {
173
+ return this.getBooleanAttribute('auto_healing_enabled');
174
+ }
175
+ // certificate_authority_data - computed: true, optional: false, required: false
176
+ get certificateAuthorityData() {
177
+ return this.getStringAttribute('certificate_authority_data');
178
+ }
179
+ // cluster_id - computed: false, optional: false, required: true
180
+ _clusterId;
181
+ get clusterId() {
182
+ return this.getStringAttribute('cluster_id');
183
+ }
184
+ set clusterId(value) {
185
+ this._clusterId = value;
186
+ }
187
+ // Temporarily expose input value. Use with caution.
188
+ get clusterIdInput() {
189
+ return this._clusterId;
190
+ }
191
+ // cluster_template_id - computed: true, optional: false, required: false
192
+ get clusterTemplateId() {
193
+ return this.getStringAttribute('cluster_template_id');
194
+ }
195
+ // container_version - computed: true, optional: false, required: false
196
+ get containerVersion() {
197
+ return this.getStringAttribute('container_version');
198
+ }
199
+ // created_at - computed: true, optional: false, required: false
200
+ get createdAt() {
201
+ return this.getStringAttribute('created_at');
202
+ }
203
+ // discovery_url - computed: true, optional: false, required: false
204
+ get discoveryUrl() {
205
+ return this.getStringAttribute('discovery_url');
206
+ }
207
+ // faults - computed: true, optional: false, required: false
208
+ _faults = new cdktf.StringMap(this, "faults");
209
+ get faults() {
210
+ return this._faults;
211
+ }
212
+ // fixed_network - computed: true, optional: false, required: false
213
+ get fixedNetwork() {
214
+ return this.getStringAttribute('fixed_network');
215
+ }
216
+ // fixed_subnet - computed: true, optional: false, required: false
217
+ get fixedSubnet() {
218
+ return this.getStringAttribute('fixed_subnet');
219
+ }
220
+ // health_status - computed: true, optional: false, required: false
221
+ get healthStatus() {
222
+ return this.getStringAttribute('health_status');
223
+ }
224
+ // health_status_reason - computed: true, optional: false, required: false
225
+ _healthStatusReason = new cdktf.StringMap(this, "health_status_reason");
226
+ get healthStatusReason() {
227
+ return this._healthStatusReason;
228
+ }
229
+ // id - computed: true, optional: true, required: false
230
+ _id;
231
+ get id() {
232
+ return this.getStringAttribute('id');
233
+ }
234
+ set id(value) {
235
+ this._id = value;
236
+ }
237
+ resetId() {
238
+ this._id = undefined;
239
+ }
240
+ // Temporarily expose input value. Use with caution.
241
+ get idInput() {
242
+ return this._id;
243
+ }
244
+ // keypair - computed: true, optional: false, required: false
245
+ get keypair() {
246
+ return this.getStringAttribute('keypair');
247
+ }
248
+ // master_addresses - computed: true, optional: false, required: false
249
+ get masterAddresses() {
250
+ return this.getListAttribute('master_addresses');
251
+ }
252
+ // master_flavor_id - computed: true, optional: false, required: false
253
+ get masterFlavorId() {
254
+ return this.getStringAttribute('master_flavor_id');
255
+ }
256
+ // master_lb_floating_ip_enabled - computed: true, optional: false, required: false
257
+ get masterLbFloatingIpEnabled() {
258
+ return this.getBooleanAttribute('master_lb_floating_ip_enabled');
259
+ }
260
+ // name - computed: true, optional: false, required: false
261
+ get name() {
262
+ return this.getStringAttribute('name');
263
+ }
264
+ // node_addresses - computed: true, optional: false, required: false
265
+ get nodeAddresses() {
266
+ return this.getListAttribute('node_addresses');
267
+ }
268
+ // node_count - computed: true, optional: false, required: false
269
+ get nodeCount() {
270
+ return this.getNumberAttribute('node_count');
271
+ }
272
+ // pool - computed: true, optional: false, required: false
273
+ _pool = new DataEdgecenterK8SPoolList(this, "pool", false);
274
+ get pool() {
275
+ return this._pool;
276
+ }
277
+ // project_id - computed: false, optional: true, required: false
278
+ _projectId;
279
+ get projectId() {
280
+ return this.getNumberAttribute('project_id');
281
+ }
282
+ set projectId(value) {
283
+ this._projectId = value;
284
+ }
285
+ resetProjectId() {
286
+ this._projectId = undefined;
287
+ }
288
+ // Temporarily expose input value. Use with caution.
289
+ get projectIdInput() {
290
+ return this._projectId;
291
+ }
292
+ // project_name - computed: false, optional: true, required: false
293
+ _projectName;
294
+ get projectName() {
295
+ return this.getStringAttribute('project_name');
296
+ }
297
+ set projectName(value) {
298
+ this._projectName = value;
299
+ }
300
+ resetProjectName() {
301
+ this._projectName = undefined;
302
+ }
303
+ // Temporarily expose input value. Use with caution.
304
+ get projectNameInput() {
305
+ return this._projectName;
306
+ }
307
+ // region_id - computed: false, optional: true, required: false
308
+ _regionId;
309
+ get regionId() {
310
+ return this.getNumberAttribute('region_id');
311
+ }
312
+ set regionId(value) {
313
+ this._regionId = value;
314
+ }
315
+ resetRegionId() {
316
+ this._regionId = undefined;
317
+ }
318
+ // Temporarily expose input value. Use with caution.
319
+ get regionIdInput() {
320
+ return this._regionId;
321
+ }
322
+ // region_name - computed: false, optional: true, required: false
323
+ _regionName;
324
+ get regionName() {
325
+ return this.getStringAttribute('region_name');
326
+ }
327
+ set regionName(value) {
328
+ this._regionName = value;
329
+ }
330
+ resetRegionName() {
331
+ this._regionName = undefined;
332
+ }
333
+ // Temporarily expose input value. Use with caution.
334
+ get regionNameInput() {
335
+ return this._regionName;
336
+ }
337
+ // status - computed: true, optional: false, required: false
338
+ get status() {
339
+ return this.getStringAttribute('status');
340
+ }
341
+ // status_reason - computed: true, optional: false, required: false
342
+ get statusReason() {
343
+ return this.getStringAttribute('status_reason');
344
+ }
345
+ // updated_at - computed: true, optional: false, required: false
346
+ get updatedAt() {
347
+ return this.getStringAttribute('updated_at');
348
+ }
349
+ // user_id - computed: true, optional: false, required: false
350
+ get userId() {
351
+ return this.getStringAttribute('user_id');
352
+ }
353
+ // version - computed: true, optional: false, required: false
354
+ get version() {
355
+ return this.getStringAttribute('version');
356
+ }
357
+ // =========
358
+ // SYNTHESIS
359
+ // =========
360
+ synthesizeAttributes() {
361
+ return {
362
+ cluster_id: cdktf.stringToTerraform(this._clusterId),
363
+ id: cdktf.stringToTerraform(this._id),
364
+ project_id: cdktf.numberToTerraform(this._projectId),
365
+ project_name: cdktf.stringToTerraform(this._projectName),
366
+ region_id: cdktf.numberToTerraform(this._regionId),
367
+ region_name: cdktf.stringToTerraform(this._regionName),
368
+ };
369
+ }
370
+ synthesizeHclAttributes() {
371
+ const attrs = {
372
+ cluster_id: {
373
+ value: cdktf.stringToHclTerraform(this._clusterId),
374
+ isBlock: false,
375
+ type: "simple",
376
+ storageClassType: "string",
377
+ },
378
+ id: {
379
+ value: cdktf.stringToHclTerraform(this._id),
380
+ isBlock: false,
381
+ type: "simple",
382
+ storageClassType: "string",
383
+ },
384
+ project_id: {
385
+ value: cdktf.numberToHclTerraform(this._projectId),
386
+ isBlock: false,
387
+ type: "simple",
388
+ storageClassType: "number",
389
+ },
390
+ project_name: {
391
+ value: cdktf.stringToHclTerraform(this._projectName),
392
+ isBlock: false,
393
+ type: "simple",
394
+ storageClassType: "string",
395
+ },
396
+ region_id: {
397
+ value: cdktf.numberToHclTerraform(this._regionId),
398
+ isBlock: false,
399
+ type: "simple",
400
+ storageClassType: "number",
401
+ },
402
+ region_name: {
403
+ value: cdktf.stringToHclTerraform(this._regionName),
404
+ isBlock: false,
405
+ type: "simple",
406
+ storageClassType: "string",
407
+ },
408
+ };
409
+ // remove undefined attributes
410
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
411
+ }
412
+ }
@@ -0,0 +1,100 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DataEdgecenterK8SClientConfigConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * The uuid of the Kubernetes cluster.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/k8s_client_config#cluster_id DataEdgecenterK8SClientConfig#cluster_id}
8
+ */
9
+ readonly clusterId: string;
10
+ /**
11
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/k8s_client_config#id DataEdgecenterK8SClientConfig#id}
12
+ *
13
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
14
+ * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
15
+ */
16
+ readonly id?: string;
17
+ /**
18
+ * The uuid of the project. Either 'project_id' or 'project_name' must be specified.
19
+ *
20
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/k8s_client_config#project_id DataEdgecenterK8SClientConfig#project_id}
21
+ */
22
+ readonly projectId?: number;
23
+ /**
24
+ * The name of the project. Either 'project_id' or 'project_name' must be specified.
25
+ *
26
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/k8s_client_config#project_name DataEdgecenterK8SClientConfig#project_name}
27
+ */
28
+ readonly projectName?: string;
29
+ /**
30
+ * The uuid of the region. Either 'region_id' or 'region_name' must be specified.
31
+ *
32
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/k8s_client_config#region_id DataEdgecenterK8SClientConfig#region_id}
33
+ */
34
+ readonly regionId?: number;
35
+ /**
36
+ * The name of the region. Either 'region_id' or 'region_name' must be specified.
37
+ *
38
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/k8s_client_config#region_name DataEdgecenterK8SClientConfig#region_name}
39
+ */
40
+ readonly regionName?: string;
41
+ }
42
+ /**
43
+ * Represents a {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/k8s_client_config edgecenter_k8s_client_config}
44
+ */
45
+ export declare class DataEdgecenterK8SClientConfig extends cdktf.TerraformDataSource {
46
+ static readonly tfResourceType = "edgecenter_k8s_client_config";
47
+ /**
48
+ * Generates CDKTF code for importing a DataEdgecenterK8SClientConfig resource upon running "cdktf plan <stack-name>"
49
+ * @param scope The scope in which to define this construct
50
+ * @param importToId The construct id used in the generated config for the DataEdgecenterK8SClientConfig to import
51
+ * @param importFromId The id of the existing DataEdgecenterK8SClientConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/k8s_client_config#import import section} in the documentation of this resource for the id to use
52
+ * @param provider? Optional instance of the provider where the DataEdgecenterK8SClientConfig to import is found
53
+ */
54
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
55
+ /**
56
+ * Create a new {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/data-sources/k8s_client_config edgecenter_k8s_client_config} Data Source
57
+ *
58
+ * @param scope The scope in which to define this construct
59
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
60
+ * @param options DataEdgecenterK8SClientConfigConfig
61
+ */
62
+ constructor(scope: Construct, id: string, config: DataEdgecenterK8SClientConfigConfig);
63
+ get clientCertificateData(): any;
64
+ get clientKeyData(): any;
65
+ private _clusterId?;
66
+ get clusterId(): string;
67
+ set clusterId(value: string);
68
+ get clusterIdInput(): string;
69
+ private _id?;
70
+ get id(): string;
71
+ set id(value: string);
72
+ resetId(): void;
73
+ get idInput(): string;
74
+ private _projectId?;
75
+ get projectId(): number;
76
+ set projectId(value: number);
77
+ resetProjectId(): void;
78
+ get projectIdInput(): number;
79
+ private _projectName?;
80
+ get projectName(): string;
81
+ set projectName(value: string);
82
+ resetProjectName(): void;
83
+ get projectNameInput(): string;
84
+ private _regionId?;
85
+ get regionId(): number;
86
+ set regionId(value: number);
87
+ resetRegionId(): void;
88
+ get regionIdInput(): number;
89
+ private _regionName?;
90
+ get regionName(): string;
91
+ set regionName(value: string);
92
+ resetRegionName(): void;
93
+ get regionNameInput(): string;
94
+ protected synthesizeAttributes(): {
95
+ [name: string]: any;
96
+ };
97
+ protected synthesizeHclAttributes(): {
98
+ [name: string]: any;
99
+ };
100
+ }