@cdktf-providers/siderolabs-talos 0.9.0
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.
- package/LICENSE +355 -0
- package/README.md +19 -0
- package/dist/cluster-kubeconfig/index.d.ts +187 -0
- package/dist/cluster-kubeconfig/index.js +489 -0
- package/dist/data-talos-client-configuration/index.d.ts +121 -0
- package/dist/data-talos-client-configuration/index.js +292 -0
- package/dist/data-talos-cluster-health/index.d.ts +165 -0
- package/dist/data-talos-cluster-health/index.js +414 -0
- package/dist/data-talos-cluster-kubeconfig/index.d.ts +176 -0
- package/dist/data-talos-cluster-kubeconfig/index.js +461 -0
- package/dist/data-talos-image-factory-extensions-versions/index.d.ts +118 -0
- package/dist/data-talos-image-factory-extensions-versions/index.js +289 -0
- package/dist/data-talos-image-factory-overlays-versions/index.d.ts +117 -0
- package/dist/data-talos-image-factory-overlays-versions/index.js +285 -0
- package/dist/data-talos-image-factory-urls/index.d.ts +163 -0
- package/dist/data-talos-image-factory-urls/index.js +272 -0
- package/dist/data-talos-image-factory-versions/index.d.ts +71 -0
- package/dist/data-talos-image-factory-versions/index.js +182 -0
- package/dist/data-talos-machine-configuration/index.d.ts +521 -0
- package/dist/data-talos-machine-configuration/index.js +1424 -0
- package/dist/data-talos-machine-disks/index.d.ts +208 -0
- package/dist/data-talos-machine-disks/index.js +537 -0
- package/dist/image-factory-schematic/index.d.ts +50 -0
- package/dist/image-factory-schematic/index.js +95 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +16 -0
- package/dist/lazy-index.d.ts +0 -0
- package/dist/lazy-index.js +16 -0
- package/dist/machine-bootstrap/index.d.ts +144 -0
- package/dist/machine-bootstrap/index.js +371 -0
- package/dist/machine-configuration-apply/index.d.ts +262 -0
- package/dist/machine-configuration-apply/index.js +659 -0
- package/dist/machine-secrets/index.d.ts +238 -0
- package/dist/machine-secrets/index.js +684 -0
- package/dist/provider/index.d.ts +54 -0
- package/dist/provider/index.js +108 -0
- package/package.json +51 -0
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/client_configuration
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function dataTalosClientConfigurationClientConfigurationToTerraform(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
|
+
ca_certificate: cdktf.stringToTerraform(struct.caCertificate),
|
|
13
|
+
client_certificate: cdktf.stringToTerraform(struct.clientCertificate),
|
|
14
|
+
client_key: cdktf.stringToTerraform(struct.clientKey),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export function dataTalosClientConfigurationClientConfigurationToHclTerraform(struct) {
|
|
18
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
19
|
+
return struct;
|
|
20
|
+
}
|
|
21
|
+
if (cdktf.isComplexElement(struct)) {
|
|
22
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
23
|
+
}
|
|
24
|
+
const attrs = {
|
|
25
|
+
ca_certificate: {
|
|
26
|
+
value: cdktf.stringToHclTerraform(struct.caCertificate),
|
|
27
|
+
isBlock: false,
|
|
28
|
+
type: "simple",
|
|
29
|
+
storageClassType: "string",
|
|
30
|
+
},
|
|
31
|
+
client_certificate: {
|
|
32
|
+
value: cdktf.stringToHclTerraform(struct.clientCertificate),
|
|
33
|
+
isBlock: false,
|
|
34
|
+
type: "simple",
|
|
35
|
+
storageClassType: "string",
|
|
36
|
+
},
|
|
37
|
+
client_key: {
|
|
38
|
+
value: cdktf.stringToHclTerraform(struct.clientKey),
|
|
39
|
+
isBlock: false,
|
|
40
|
+
type: "simple",
|
|
41
|
+
storageClassType: "string",
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
// remove undefined attributes
|
|
45
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
46
|
+
}
|
|
47
|
+
export class DataTalosClientConfigurationClientConfigurationOutputReference extends cdktf.ComplexObject {
|
|
48
|
+
isEmptyObject = false;
|
|
49
|
+
resolvableValue;
|
|
50
|
+
/**
|
|
51
|
+
* @param terraformResource The parent resource
|
|
52
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
53
|
+
*/
|
|
54
|
+
constructor(terraformResource, terraformAttribute) {
|
|
55
|
+
super(terraformResource, terraformAttribute, false);
|
|
56
|
+
}
|
|
57
|
+
get internalValue() {
|
|
58
|
+
if (this.resolvableValue) {
|
|
59
|
+
return this.resolvableValue;
|
|
60
|
+
}
|
|
61
|
+
let hasAnyValues = this.isEmptyObject;
|
|
62
|
+
const internalValueResult = {};
|
|
63
|
+
if (this._caCertificate !== undefined) {
|
|
64
|
+
hasAnyValues = true;
|
|
65
|
+
internalValueResult.caCertificate = this._caCertificate;
|
|
66
|
+
}
|
|
67
|
+
if (this._clientCertificate !== undefined) {
|
|
68
|
+
hasAnyValues = true;
|
|
69
|
+
internalValueResult.clientCertificate = this._clientCertificate;
|
|
70
|
+
}
|
|
71
|
+
if (this._clientKey !== undefined) {
|
|
72
|
+
hasAnyValues = true;
|
|
73
|
+
internalValueResult.clientKey = this._clientKey;
|
|
74
|
+
}
|
|
75
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
76
|
+
}
|
|
77
|
+
set internalValue(value) {
|
|
78
|
+
if (value === undefined) {
|
|
79
|
+
this.isEmptyObject = false;
|
|
80
|
+
this.resolvableValue = undefined;
|
|
81
|
+
this._caCertificate = undefined;
|
|
82
|
+
this._clientCertificate = undefined;
|
|
83
|
+
this._clientKey = undefined;
|
|
84
|
+
}
|
|
85
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
86
|
+
this.isEmptyObject = false;
|
|
87
|
+
this.resolvableValue = value;
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
91
|
+
this.resolvableValue = undefined;
|
|
92
|
+
this._caCertificate = value.caCertificate;
|
|
93
|
+
this._clientCertificate = value.clientCertificate;
|
|
94
|
+
this._clientKey = value.clientKey;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
// ca_certificate - computed: false, optional: false, required: true
|
|
98
|
+
_caCertificate;
|
|
99
|
+
get caCertificate() {
|
|
100
|
+
return this.getStringAttribute('ca_certificate');
|
|
101
|
+
}
|
|
102
|
+
set caCertificate(value) {
|
|
103
|
+
this._caCertificate = value;
|
|
104
|
+
}
|
|
105
|
+
// Temporarily expose input value. Use with caution.
|
|
106
|
+
get caCertificateInput() {
|
|
107
|
+
return this._caCertificate;
|
|
108
|
+
}
|
|
109
|
+
// client_certificate - computed: false, optional: false, required: true
|
|
110
|
+
_clientCertificate;
|
|
111
|
+
get clientCertificate() {
|
|
112
|
+
return this.getStringAttribute('client_certificate');
|
|
113
|
+
}
|
|
114
|
+
set clientCertificate(value) {
|
|
115
|
+
this._clientCertificate = value;
|
|
116
|
+
}
|
|
117
|
+
// Temporarily expose input value. Use with caution.
|
|
118
|
+
get clientCertificateInput() {
|
|
119
|
+
return this._clientCertificate;
|
|
120
|
+
}
|
|
121
|
+
// client_key - computed: false, optional: false, required: true
|
|
122
|
+
_clientKey;
|
|
123
|
+
get clientKey() {
|
|
124
|
+
return this.getStringAttribute('client_key');
|
|
125
|
+
}
|
|
126
|
+
set clientKey(value) {
|
|
127
|
+
this._clientKey = value;
|
|
128
|
+
}
|
|
129
|
+
// Temporarily expose input value. Use with caution.
|
|
130
|
+
get clientKeyInput() {
|
|
131
|
+
return this._clientKey;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Represents a {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/client_configuration talos_client_configuration}
|
|
136
|
+
*/
|
|
137
|
+
export class DataTalosClientConfiguration extends cdktf.TerraformDataSource {
|
|
138
|
+
// =================
|
|
139
|
+
// STATIC PROPERTIES
|
|
140
|
+
// =================
|
|
141
|
+
static tfResourceType = "talos_client_configuration";
|
|
142
|
+
// ==============
|
|
143
|
+
// STATIC Methods
|
|
144
|
+
// ==============
|
|
145
|
+
/**
|
|
146
|
+
* Generates CDKTF code for importing a DataTalosClientConfiguration resource upon running "cdktf plan <stack-name>"
|
|
147
|
+
* @param scope The scope in which to define this construct
|
|
148
|
+
* @param importToId The construct id used in the generated config for the DataTalosClientConfiguration to import
|
|
149
|
+
* @param importFromId The id of the existing DataTalosClientConfiguration that should be imported. Refer to the {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/client_configuration#import import section} in the documentation of this resource for the id to use
|
|
150
|
+
* @param provider? Optional instance of the provider where the DataTalosClientConfiguration to import is found
|
|
151
|
+
*/
|
|
152
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
153
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "talos_client_configuration", importId: importFromId, provider });
|
|
154
|
+
}
|
|
155
|
+
// ===========
|
|
156
|
+
// INITIALIZER
|
|
157
|
+
// ===========
|
|
158
|
+
/**
|
|
159
|
+
* Create a new {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/client_configuration talos_client_configuration} Data Source
|
|
160
|
+
*
|
|
161
|
+
* @param scope The scope in which to define this construct
|
|
162
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
163
|
+
* @param options DataTalosClientConfigurationConfig
|
|
164
|
+
*/
|
|
165
|
+
constructor(scope, id, config) {
|
|
166
|
+
super(scope, id, {
|
|
167
|
+
terraformResourceType: 'talos_client_configuration',
|
|
168
|
+
terraformGeneratorMetadata: {
|
|
169
|
+
providerName: 'talos',
|
|
170
|
+
providerVersion: '0.9.0',
|
|
171
|
+
providerVersionConstraint: '0.9.0'
|
|
172
|
+
},
|
|
173
|
+
provider: config.provider,
|
|
174
|
+
dependsOn: config.dependsOn,
|
|
175
|
+
count: config.count,
|
|
176
|
+
lifecycle: config.lifecycle,
|
|
177
|
+
provisioners: config.provisioners,
|
|
178
|
+
connection: config.connection,
|
|
179
|
+
forEach: config.forEach
|
|
180
|
+
});
|
|
181
|
+
this._clientConfiguration.internalValue = config.clientConfiguration;
|
|
182
|
+
this._clusterName = config.clusterName;
|
|
183
|
+
this._endpoints = config.endpoints;
|
|
184
|
+
this._nodes = config.nodes;
|
|
185
|
+
}
|
|
186
|
+
// ==========
|
|
187
|
+
// ATTRIBUTES
|
|
188
|
+
// ==========
|
|
189
|
+
// client_configuration - computed: false, optional: false, required: true
|
|
190
|
+
_clientConfiguration = new DataTalosClientConfigurationClientConfigurationOutputReference(this, "client_configuration");
|
|
191
|
+
get clientConfiguration() {
|
|
192
|
+
return this._clientConfiguration;
|
|
193
|
+
}
|
|
194
|
+
putClientConfiguration(value) {
|
|
195
|
+
this._clientConfiguration.internalValue = value;
|
|
196
|
+
}
|
|
197
|
+
// Temporarily expose input value. Use with caution.
|
|
198
|
+
get clientConfigurationInput() {
|
|
199
|
+
return this._clientConfiguration.internalValue;
|
|
200
|
+
}
|
|
201
|
+
// cluster_name - computed: false, optional: false, required: true
|
|
202
|
+
_clusterName;
|
|
203
|
+
get clusterName() {
|
|
204
|
+
return this.getStringAttribute('cluster_name');
|
|
205
|
+
}
|
|
206
|
+
set clusterName(value) {
|
|
207
|
+
this._clusterName = value;
|
|
208
|
+
}
|
|
209
|
+
// Temporarily expose input value. Use with caution.
|
|
210
|
+
get clusterNameInput() {
|
|
211
|
+
return this._clusterName;
|
|
212
|
+
}
|
|
213
|
+
// endpoints - computed: false, optional: true, required: false
|
|
214
|
+
_endpoints;
|
|
215
|
+
get endpoints() {
|
|
216
|
+
return this.getListAttribute('endpoints');
|
|
217
|
+
}
|
|
218
|
+
set endpoints(value) {
|
|
219
|
+
this._endpoints = value;
|
|
220
|
+
}
|
|
221
|
+
resetEndpoints() {
|
|
222
|
+
this._endpoints = undefined;
|
|
223
|
+
}
|
|
224
|
+
// Temporarily expose input value. Use with caution.
|
|
225
|
+
get endpointsInput() {
|
|
226
|
+
return this._endpoints;
|
|
227
|
+
}
|
|
228
|
+
// id - computed: true, optional: false, required: false
|
|
229
|
+
get id() {
|
|
230
|
+
return this.getStringAttribute('id');
|
|
231
|
+
}
|
|
232
|
+
// nodes - computed: false, optional: true, required: false
|
|
233
|
+
_nodes;
|
|
234
|
+
get nodes() {
|
|
235
|
+
return this.getListAttribute('nodes');
|
|
236
|
+
}
|
|
237
|
+
set nodes(value) {
|
|
238
|
+
this._nodes = value;
|
|
239
|
+
}
|
|
240
|
+
resetNodes() {
|
|
241
|
+
this._nodes = undefined;
|
|
242
|
+
}
|
|
243
|
+
// Temporarily expose input value. Use with caution.
|
|
244
|
+
get nodesInput() {
|
|
245
|
+
return this._nodes;
|
|
246
|
+
}
|
|
247
|
+
// talos_config - computed: true, optional: false, required: false
|
|
248
|
+
get talosConfig() {
|
|
249
|
+
return this.getStringAttribute('talos_config');
|
|
250
|
+
}
|
|
251
|
+
// =========
|
|
252
|
+
// SYNTHESIS
|
|
253
|
+
// =========
|
|
254
|
+
synthesizeAttributes() {
|
|
255
|
+
return {
|
|
256
|
+
client_configuration: dataTalosClientConfigurationClientConfigurationToTerraform(this._clientConfiguration.internalValue),
|
|
257
|
+
cluster_name: cdktf.stringToTerraform(this._clusterName),
|
|
258
|
+
endpoints: cdktf.listMapper(cdktf.stringToTerraform, false)(this._endpoints),
|
|
259
|
+
nodes: cdktf.listMapper(cdktf.stringToTerraform, false)(this._nodes),
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
synthesizeHclAttributes() {
|
|
263
|
+
const attrs = {
|
|
264
|
+
client_configuration: {
|
|
265
|
+
value: dataTalosClientConfigurationClientConfigurationToHclTerraform(this._clientConfiguration.internalValue),
|
|
266
|
+
isBlock: true,
|
|
267
|
+
type: "struct",
|
|
268
|
+
storageClassType: "DataTalosClientConfigurationClientConfiguration",
|
|
269
|
+
},
|
|
270
|
+
cluster_name: {
|
|
271
|
+
value: cdktf.stringToHclTerraform(this._clusterName),
|
|
272
|
+
isBlock: false,
|
|
273
|
+
type: "simple",
|
|
274
|
+
storageClassType: "string",
|
|
275
|
+
},
|
|
276
|
+
endpoints: {
|
|
277
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._endpoints),
|
|
278
|
+
isBlock: false,
|
|
279
|
+
type: "list",
|
|
280
|
+
storageClassType: "stringList",
|
|
281
|
+
},
|
|
282
|
+
nodes: {
|
|
283
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._nodes),
|
|
284
|
+
isBlock: false,
|
|
285
|
+
type: "list",
|
|
286
|
+
storageClassType: "stringList",
|
|
287
|
+
},
|
|
288
|
+
};
|
|
289
|
+
// remove undefined attributes
|
|
290
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
291
|
+
}
|
|
292
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DataTalosClusterHealthConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* The client configuration data
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/cluster_health#client_configuration DataTalosClusterHealth#client_configuration}
|
|
8
|
+
*/
|
|
9
|
+
readonly clientConfiguration: DataTalosClusterHealthClientConfiguration;
|
|
10
|
+
/**
|
|
11
|
+
* List of control plane nodes to check for health.
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/cluster_health#control_plane_nodes DataTalosClusterHealth#control_plane_nodes}
|
|
14
|
+
*/
|
|
15
|
+
readonly controlPlaneNodes: string[];
|
|
16
|
+
/**
|
|
17
|
+
* endpoints to use for the health check client. Use at least one control plane endpoint.
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/cluster_health#endpoints DataTalosClusterHealth#endpoints}
|
|
20
|
+
*/
|
|
21
|
+
readonly endpoints: string[];
|
|
22
|
+
/**
|
|
23
|
+
* Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
|
|
24
|
+
*
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/cluster_health#skip_kubernetes_checks DataTalosClusterHealth#skip_kubernetes_checks}
|
|
26
|
+
*/
|
|
27
|
+
readonly skipKubernetesChecks?: boolean | cdktf.IResolvable;
|
|
28
|
+
/**
|
|
29
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/cluster_health#timeouts DataTalosClusterHealth#timeouts}
|
|
30
|
+
*/
|
|
31
|
+
readonly timeouts?: DataTalosClusterHealthTimeouts;
|
|
32
|
+
/**
|
|
33
|
+
* List of worker nodes to check for health.
|
|
34
|
+
*
|
|
35
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/cluster_health#worker_nodes DataTalosClusterHealth#worker_nodes}
|
|
36
|
+
*/
|
|
37
|
+
readonly workerNodes?: string[];
|
|
38
|
+
}
|
|
39
|
+
export interface DataTalosClusterHealthClientConfiguration {
|
|
40
|
+
/**
|
|
41
|
+
* The client CA certificate
|
|
42
|
+
*
|
|
43
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/cluster_health#ca_certificate DataTalosClusterHealth#ca_certificate}
|
|
44
|
+
*/
|
|
45
|
+
readonly caCertificate: string;
|
|
46
|
+
/**
|
|
47
|
+
* The client certificate
|
|
48
|
+
*
|
|
49
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/cluster_health#client_certificate DataTalosClusterHealth#client_certificate}
|
|
50
|
+
*/
|
|
51
|
+
readonly clientCertificate: string;
|
|
52
|
+
/**
|
|
53
|
+
* The client key
|
|
54
|
+
*
|
|
55
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/cluster_health#client_key DataTalosClusterHealth#client_key}
|
|
56
|
+
*/
|
|
57
|
+
readonly clientKey: string;
|
|
58
|
+
}
|
|
59
|
+
export declare function dataTalosClusterHealthClientConfigurationToTerraform(struct?: DataTalosClusterHealthClientConfiguration | cdktf.IResolvable): any;
|
|
60
|
+
export declare function dataTalosClusterHealthClientConfigurationToHclTerraform(struct?: DataTalosClusterHealthClientConfiguration | cdktf.IResolvable): any;
|
|
61
|
+
export declare class DataTalosClusterHealthClientConfigurationOutputReference extends cdktf.ComplexObject {
|
|
62
|
+
private isEmptyObject;
|
|
63
|
+
private resolvableValue?;
|
|
64
|
+
/**
|
|
65
|
+
* @param terraformResource The parent resource
|
|
66
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
67
|
+
*/
|
|
68
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
69
|
+
get internalValue(): DataTalosClusterHealthClientConfiguration | cdktf.IResolvable | undefined;
|
|
70
|
+
set internalValue(value: DataTalosClusterHealthClientConfiguration | cdktf.IResolvable | undefined);
|
|
71
|
+
private _caCertificate?;
|
|
72
|
+
get caCertificate(): string;
|
|
73
|
+
set caCertificate(value: string);
|
|
74
|
+
get caCertificateInput(): string;
|
|
75
|
+
private _clientCertificate?;
|
|
76
|
+
get clientCertificate(): string;
|
|
77
|
+
set clientCertificate(value: string);
|
|
78
|
+
get clientCertificateInput(): string;
|
|
79
|
+
private _clientKey?;
|
|
80
|
+
get clientKey(): string;
|
|
81
|
+
set clientKey(value: string);
|
|
82
|
+
get clientKeyInput(): string;
|
|
83
|
+
}
|
|
84
|
+
export interface DataTalosClusterHealthTimeouts {
|
|
85
|
+
/**
|
|
86
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
87
|
+
*
|
|
88
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/cluster_health#read DataTalosClusterHealth#read}
|
|
89
|
+
*/
|
|
90
|
+
readonly read?: string;
|
|
91
|
+
}
|
|
92
|
+
export declare function dataTalosClusterHealthTimeoutsToTerraform(struct?: DataTalosClusterHealthTimeouts | cdktf.IResolvable): any;
|
|
93
|
+
export declare function dataTalosClusterHealthTimeoutsToHclTerraform(struct?: DataTalosClusterHealthTimeouts | cdktf.IResolvable): any;
|
|
94
|
+
export declare class DataTalosClusterHealthTimeoutsOutputReference extends cdktf.ComplexObject {
|
|
95
|
+
private isEmptyObject;
|
|
96
|
+
private resolvableValue?;
|
|
97
|
+
/**
|
|
98
|
+
* @param terraformResource The parent resource
|
|
99
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
100
|
+
*/
|
|
101
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
102
|
+
get internalValue(): DataTalosClusterHealthTimeouts | cdktf.IResolvable | undefined;
|
|
103
|
+
set internalValue(value: DataTalosClusterHealthTimeouts | cdktf.IResolvable | undefined);
|
|
104
|
+
private _read?;
|
|
105
|
+
get read(): string;
|
|
106
|
+
set read(value: string);
|
|
107
|
+
resetRead(): void;
|
|
108
|
+
get readInput(): string;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Represents a {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/cluster_health talos_cluster_health}
|
|
112
|
+
*/
|
|
113
|
+
export declare class DataTalosClusterHealth extends cdktf.TerraformDataSource {
|
|
114
|
+
static readonly tfResourceType = "talos_cluster_health";
|
|
115
|
+
/**
|
|
116
|
+
* Generates CDKTF code for importing a DataTalosClusterHealth resource upon running "cdktf plan <stack-name>"
|
|
117
|
+
* @param scope The scope in which to define this construct
|
|
118
|
+
* @param importToId The construct id used in the generated config for the DataTalosClusterHealth to import
|
|
119
|
+
* @param importFromId The id of the existing DataTalosClusterHealth that should be imported. Refer to the {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/cluster_health#import import section} in the documentation of this resource for the id to use
|
|
120
|
+
* @param provider? Optional instance of the provider where the DataTalosClusterHealth to import is found
|
|
121
|
+
*/
|
|
122
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
123
|
+
/**
|
|
124
|
+
* Create a new {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/cluster_health talos_cluster_health} Data Source
|
|
125
|
+
*
|
|
126
|
+
* @param scope The scope in which to define this construct
|
|
127
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
128
|
+
* @param options DataTalosClusterHealthConfig
|
|
129
|
+
*/
|
|
130
|
+
constructor(scope: Construct, id: string, config: DataTalosClusterHealthConfig);
|
|
131
|
+
private _clientConfiguration;
|
|
132
|
+
get clientConfiguration(): DataTalosClusterHealthClientConfigurationOutputReference;
|
|
133
|
+
putClientConfiguration(value: DataTalosClusterHealthClientConfiguration): void;
|
|
134
|
+
get clientConfigurationInput(): any;
|
|
135
|
+
private _controlPlaneNodes?;
|
|
136
|
+
get controlPlaneNodes(): string[];
|
|
137
|
+
set controlPlaneNodes(value: string[]);
|
|
138
|
+
get controlPlaneNodesInput(): string[];
|
|
139
|
+
private _endpoints?;
|
|
140
|
+
get endpoints(): string[];
|
|
141
|
+
set endpoints(value: string[]);
|
|
142
|
+
get endpointsInput(): string[];
|
|
143
|
+
get id(): any;
|
|
144
|
+
private _skipKubernetesChecks?;
|
|
145
|
+
get skipKubernetesChecks(): boolean | cdktf.IResolvable;
|
|
146
|
+
set skipKubernetesChecks(value: boolean | cdktf.IResolvable);
|
|
147
|
+
resetSkipKubernetesChecks(): void;
|
|
148
|
+
get skipKubernetesChecksInput(): any;
|
|
149
|
+
private _timeouts;
|
|
150
|
+
get timeouts(): DataTalosClusterHealthTimeoutsOutputReference;
|
|
151
|
+
putTimeouts(value: DataTalosClusterHealthTimeouts): void;
|
|
152
|
+
resetTimeouts(): void;
|
|
153
|
+
get timeoutsInput(): any;
|
|
154
|
+
private _workerNodes?;
|
|
155
|
+
get workerNodes(): string[];
|
|
156
|
+
set workerNodes(value: string[]);
|
|
157
|
+
resetWorkerNodes(): void;
|
|
158
|
+
get workerNodesInput(): string[];
|
|
159
|
+
protected synthesizeAttributes(): {
|
|
160
|
+
[name: string]: any;
|
|
161
|
+
};
|
|
162
|
+
protected synthesizeHclAttributes(): {
|
|
163
|
+
[name: string]: any;
|
|
164
|
+
};
|
|
165
|
+
}
|