@pulumiverse/talos 0.6.0 → 0.6.1
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/imagefactory/getUrls.d.ts +28 -0
- package/imagefactory/getUrls.js +28 -0
- package/imagefactory/getUrls.js.map +1 -1
- package/machine/getDisks.d.ts +18 -50
- package/machine/getDisks.js +2 -40
- package/machine/getDisks.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +0 -76
- package/types/output.d.ts +12 -68
|
@@ -2,6 +2,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "../types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Generates URLs for different assets supported by the Talos image factory.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as talos from "@pulumi/talos";
|
|
11
|
+
*
|
|
12
|
+
* const this = talos.imageFactory.getUrls({
|
|
13
|
+
* talosVersion: "v1.7.5",
|
|
14
|
+
* schematicId: "376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba",
|
|
15
|
+
* platform: "metal",
|
|
16
|
+
* });
|
|
17
|
+
* export const installerImage = _this.then(_this => _this.urls?.installer);
|
|
18
|
+
* ```
|
|
5
19
|
*/
|
|
6
20
|
export declare function getUrls(args: GetUrlsArgs, opts?: pulumi.InvokeOptions): Promise<GetUrlsResult>;
|
|
7
21
|
/**
|
|
@@ -28,6 +42,20 @@ export interface GetUrlsResult {
|
|
|
28
42
|
}
|
|
29
43
|
/**
|
|
30
44
|
* Generates URLs for different assets supported by the Talos image factory.
|
|
45
|
+
*
|
|
46
|
+
* ## Example Usage
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as talos from "@pulumi/talos";
|
|
51
|
+
*
|
|
52
|
+
* const this = talos.imageFactory.getUrls({
|
|
53
|
+
* talosVersion: "v1.7.5",
|
|
54
|
+
* schematicId: "376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba",
|
|
55
|
+
* platform: "metal",
|
|
56
|
+
* });
|
|
57
|
+
* export const installerImage = _this.then(_this => _this.urls?.installer);
|
|
58
|
+
* ```
|
|
31
59
|
*/
|
|
32
60
|
export declare function getUrlsOutput(args: GetUrlsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUrlsResult>;
|
|
33
61
|
/**
|
package/imagefactory/getUrls.js
CHANGED
|
@@ -7,6 +7,20 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Generates URLs for different assets supported by the Talos image factory.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as talos from "@pulumi/talos";
|
|
16
|
+
*
|
|
17
|
+
* const this = talos.imageFactory.getUrls({
|
|
18
|
+
* talosVersion: "v1.7.5",
|
|
19
|
+
* schematicId: "376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba",
|
|
20
|
+
* platform: "metal",
|
|
21
|
+
* });
|
|
22
|
+
* export const installerImage = _this.then(_this => _this.urls?.installer);
|
|
23
|
+
* ```
|
|
10
24
|
*/
|
|
11
25
|
function getUrls(args, opts) {
|
|
12
26
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -21,6 +35,20 @@ function getUrls(args, opts) {
|
|
|
21
35
|
exports.getUrls = getUrls;
|
|
22
36
|
/**
|
|
23
37
|
* Generates URLs for different assets supported by the Talos image factory.
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as talos from "@pulumi/talos";
|
|
44
|
+
*
|
|
45
|
+
* const this = talos.imageFactory.getUrls({
|
|
46
|
+
* talosVersion: "v1.7.5",
|
|
47
|
+
* schematicId: "376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba",
|
|
48
|
+
* platform: "metal",
|
|
49
|
+
* });
|
|
50
|
+
* export const installerImage = _this.then(_this => _this.urls?.installer);
|
|
51
|
+
* ```
|
|
24
52
|
*/
|
|
25
53
|
function getUrlsOutput(args, opts) {
|
|
26
54
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUrls.js","sourceRoot":"","sources":["../../imagefactory/getUrls.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getUrls.js","sourceRoot":"","sources":["../../imagefactory/getUrls.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0BASC;AAyBD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAAiC;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sCASC"}
|
package/machine/getDisks.d.ts
CHANGED
|
@@ -5,25 +5,6 @@ import * as outputs from "../types/output";
|
|
|
5
5
|
* Generate a machine configuration for a node type
|
|
6
6
|
*
|
|
7
7
|
* > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.getDisks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration.
|
|
8
|
-
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as talos from "@pulumi/talos";
|
|
14
|
-
* import * as talos from "@pulumiverse/talos";
|
|
15
|
-
*
|
|
16
|
-
* const thisSecrets = new talos.machine.Secrets("this", {});
|
|
17
|
-
* const this = talos.machine.getDisksOutput({
|
|
18
|
-
* clientConfiguration: thisSecrets.clientConfiguration,
|
|
19
|
-
* node: "10.5.0.2",
|
|
20
|
-
* filters: {
|
|
21
|
-
* size: "> 100GB",
|
|
22
|
-
* type: "nvme",
|
|
23
|
-
* },
|
|
24
|
-
* });
|
|
25
|
-
* export const nvmeDisks = _this.apply(_this => _this.disks.map(__item => __item.name));
|
|
26
|
-
* ```
|
|
27
8
|
*/
|
|
28
9
|
export declare function getDisks(args: GetDisksArgs, opts?: pulumi.InvokeOptions): Promise<GetDisksResult>;
|
|
29
10
|
/**
|
|
@@ -38,14 +19,16 @@ export interface GetDisksArgs {
|
|
|
38
19
|
* endpoint to use for the talosclient. If not set, the node value will be used
|
|
39
20
|
*/
|
|
40
21
|
endpoint?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Filters to apply to the disks
|
|
43
|
-
*/
|
|
44
|
-
filters?: inputs.machine.GetDisksFilters;
|
|
45
22
|
/**
|
|
46
23
|
* controlplane node to retrieve the kubeconfig from
|
|
47
24
|
*/
|
|
48
25
|
node: string;
|
|
26
|
+
/**
|
|
27
|
+
* The CEL expression to filter the disks.
|
|
28
|
+
* If not set, all disks will be returned.
|
|
29
|
+
* See [CEL documentation](https://www.talos.dev/latest/talos-guides/configuration/disk-management/#disk-selector).
|
|
30
|
+
*/
|
|
31
|
+
selector?: string;
|
|
49
32
|
timeouts?: inputs.machine.GetDisksTimeouts;
|
|
50
33
|
}
|
|
51
34
|
/**
|
|
@@ -64,10 +47,6 @@ export interface GetDisksResult {
|
|
|
64
47
|
* endpoint to use for the talosclient. If not set, the node value will be used
|
|
65
48
|
*/
|
|
66
49
|
readonly endpoint: string;
|
|
67
|
-
/**
|
|
68
|
-
* Filters to apply to the disks
|
|
69
|
-
*/
|
|
70
|
-
readonly filters?: outputs.machine.GetDisksFilters;
|
|
71
50
|
/**
|
|
72
51
|
* The generated ID of this resource
|
|
73
52
|
*/
|
|
@@ -76,31 +55,18 @@ export interface GetDisksResult {
|
|
|
76
55
|
* controlplane node to retrieve the kubeconfig from
|
|
77
56
|
*/
|
|
78
57
|
readonly node: string;
|
|
58
|
+
/**
|
|
59
|
+
* The CEL expression to filter the disks.
|
|
60
|
+
* If not set, all disks will be returned.
|
|
61
|
+
* See [CEL documentation](https://www.talos.dev/latest/talos-guides/configuration/disk-management/#disk-selector).
|
|
62
|
+
*/
|
|
63
|
+
readonly selector?: string;
|
|
79
64
|
readonly timeouts?: outputs.machine.GetDisksTimeouts;
|
|
80
65
|
}
|
|
81
66
|
/**
|
|
82
67
|
* Generate a machine configuration for a node type
|
|
83
68
|
*
|
|
84
69
|
* > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.getDisks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration.
|
|
85
|
-
*
|
|
86
|
-
* ## Example Usage
|
|
87
|
-
*
|
|
88
|
-
* ```typescript
|
|
89
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
90
|
-
* import * as talos from "@pulumi/talos";
|
|
91
|
-
* import * as talos from "@pulumiverse/talos";
|
|
92
|
-
*
|
|
93
|
-
* const thisSecrets = new talos.machine.Secrets("this", {});
|
|
94
|
-
* const this = talos.machine.getDisksOutput({
|
|
95
|
-
* clientConfiguration: thisSecrets.clientConfiguration,
|
|
96
|
-
* node: "10.5.0.2",
|
|
97
|
-
* filters: {
|
|
98
|
-
* size: "> 100GB",
|
|
99
|
-
* type: "nvme",
|
|
100
|
-
* },
|
|
101
|
-
* });
|
|
102
|
-
* export const nvmeDisks = _this.apply(_this => _this.disks.map(__item => __item.name));
|
|
103
|
-
* ```
|
|
104
70
|
*/
|
|
105
71
|
export declare function getDisksOutput(args: GetDisksOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDisksResult>;
|
|
106
72
|
/**
|
|
@@ -115,13 +81,15 @@ export interface GetDisksOutputArgs {
|
|
|
115
81
|
* endpoint to use for the talosclient. If not set, the node value will be used
|
|
116
82
|
*/
|
|
117
83
|
endpoint?: pulumi.Input<string>;
|
|
118
|
-
/**
|
|
119
|
-
* Filters to apply to the disks
|
|
120
|
-
*/
|
|
121
|
-
filters?: pulumi.Input<inputs.machine.GetDisksFiltersArgs>;
|
|
122
84
|
/**
|
|
123
85
|
* controlplane node to retrieve the kubeconfig from
|
|
124
86
|
*/
|
|
125
87
|
node: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The CEL expression to filter the disks.
|
|
90
|
+
* If not set, all disks will be returned.
|
|
91
|
+
* See [CEL documentation](https://www.talos.dev/latest/talos-guides/configuration/disk-management/#disk-selector).
|
|
92
|
+
*/
|
|
93
|
+
selector?: pulumi.Input<string>;
|
|
126
94
|
timeouts?: pulumi.Input<inputs.machine.GetDisksTimeoutsArgs>;
|
|
127
95
|
}
|
package/machine/getDisks.js
CHANGED
|
@@ -9,33 +9,14 @@ const utilities = require("../utilities");
|
|
|
9
9
|
* Generate a machine configuration for a node type
|
|
10
10
|
*
|
|
11
11
|
* > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.getDisks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration.
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as talos from "@pulumi/talos";
|
|
18
|
-
* import * as talos from "@pulumiverse/talos";
|
|
19
|
-
*
|
|
20
|
-
* const thisSecrets = new talos.machine.Secrets("this", {});
|
|
21
|
-
* const this = talos.machine.getDisksOutput({
|
|
22
|
-
* clientConfiguration: thisSecrets.clientConfiguration,
|
|
23
|
-
* node: "10.5.0.2",
|
|
24
|
-
* filters: {
|
|
25
|
-
* size: "> 100GB",
|
|
26
|
-
* type: "nvme",
|
|
27
|
-
* },
|
|
28
|
-
* });
|
|
29
|
-
* export const nvmeDisks = _this.apply(_this => _this.disks.map(__item => __item.name));
|
|
30
|
-
* ```
|
|
31
12
|
*/
|
|
32
13
|
function getDisks(args, opts) {
|
|
33
14
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
34
15
|
return pulumi.runtime.invoke("talos:machine/getDisks:getDisks", {
|
|
35
16
|
"clientConfiguration": args.clientConfiguration,
|
|
36
17
|
"endpoint": args.endpoint,
|
|
37
|
-
"filters": args.filters,
|
|
38
18
|
"node": args.node,
|
|
19
|
+
"selector": args.selector,
|
|
39
20
|
"timeouts": args.timeouts,
|
|
40
21
|
}, opts);
|
|
41
22
|
}
|
|
@@ -44,33 +25,14 @@ exports.getDisks = getDisks;
|
|
|
44
25
|
* Generate a machine configuration for a node type
|
|
45
26
|
*
|
|
46
27
|
* > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.getDisks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration.
|
|
47
|
-
*
|
|
48
|
-
* ## Example Usage
|
|
49
|
-
*
|
|
50
|
-
* ```typescript
|
|
51
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
-
* import * as talos from "@pulumi/talos";
|
|
53
|
-
* import * as talos from "@pulumiverse/talos";
|
|
54
|
-
*
|
|
55
|
-
* const thisSecrets = new talos.machine.Secrets("this", {});
|
|
56
|
-
* const this = talos.machine.getDisksOutput({
|
|
57
|
-
* clientConfiguration: thisSecrets.clientConfiguration,
|
|
58
|
-
* node: "10.5.0.2",
|
|
59
|
-
* filters: {
|
|
60
|
-
* size: "> 100GB",
|
|
61
|
-
* type: "nvme",
|
|
62
|
-
* },
|
|
63
|
-
* });
|
|
64
|
-
* export const nvmeDisks = _this.apply(_this => _this.disks.map(__item => __item.name));
|
|
65
|
-
* ```
|
|
66
28
|
*/
|
|
67
29
|
function getDisksOutput(args, opts) {
|
|
68
30
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
69
31
|
return pulumi.runtime.invokeOutput("talos:machine/getDisks:getDisks", {
|
|
70
32
|
"clientConfiguration": args.clientConfiguration,
|
|
71
33
|
"endpoint": args.endpoint,
|
|
72
|
-
"filters": args.filters,
|
|
73
34
|
"node": args.node,
|
|
35
|
+
"selector": args.selector,
|
|
74
36
|
"timeouts": args.timeouts,
|
|
75
37
|
}, opts);
|
|
76
38
|
}
|
package/machine/getDisks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDisks.js","sourceRoot":"","sources":["../../machine/getDisks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getDisks.js","sourceRoot":"","sources":["../../machine/getDisks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4BASC;AA2DD;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wCASC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumiverse/talos",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Talos Linux machines and clusters.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "talos",
|
|
27
|
-
"version": "0.6.
|
|
27
|
+
"version": "0.6.1",
|
|
28
28
|
"server": "github://api.github.com/pulumiverse"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -330,82 +330,6 @@ export declare namespace machine {
|
|
|
330
330
|
*/
|
|
331
331
|
clientKey: pulumi.Input<string>;
|
|
332
332
|
}
|
|
333
|
-
interface GetDisksFilters {
|
|
334
|
-
/**
|
|
335
|
-
* Filter disks by bus path
|
|
336
|
-
*/
|
|
337
|
-
busPath?: string;
|
|
338
|
-
/**
|
|
339
|
-
* Filter disks by modalias
|
|
340
|
-
*/
|
|
341
|
-
modalias?: string;
|
|
342
|
-
/**
|
|
343
|
-
* Filter disks by model
|
|
344
|
-
*/
|
|
345
|
-
model?: string;
|
|
346
|
-
/**
|
|
347
|
-
* Filter disks by name
|
|
348
|
-
*/
|
|
349
|
-
name?: string;
|
|
350
|
-
/**
|
|
351
|
-
* Filter disks by serial number
|
|
352
|
-
*/
|
|
353
|
-
serial?: string;
|
|
354
|
-
/**
|
|
355
|
-
* Filter disks by size
|
|
356
|
-
*/
|
|
357
|
-
size?: string;
|
|
358
|
-
/**
|
|
359
|
-
* Filter disks by type
|
|
360
|
-
*/
|
|
361
|
-
type?: string;
|
|
362
|
-
/**
|
|
363
|
-
* Filter disks by uuid
|
|
364
|
-
*/
|
|
365
|
-
uuid?: string;
|
|
366
|
-
/**
|
|
367
|
-
* Filter disks by wwid
|
|
368
|
-
*/
|
|
369
|
-
wwid?: string;
|
|
370
|
-
}
|
|
371
|
-
interface GetDisksFiltersArgs {
|
|
372
|
-
/**
|
|
373
|
-
* Filter disks by bus path
|
|
374
|
-
*/
|
|
375
|
-
busPath?: pulumi.Input<string>;
|
|
376
|
-
/**
|
|
377
|
-
* Filter disks by modalias
|
|
378
|
-
*/
|
|
379
|
-
modalias?: pulumi.Input<string>;
|
|
380
|
-
/**
|
|
381
|
-
* Filter disks by model
|
|
382
|
-
*/
|
|
383
|
-
model?: pulumi.Input<string>;
|
|
384
|
-
/**
|
|
385
|
-
* Filter disks by name
|
|
386
|
-
*/
|
|
387
|
-
name?: pulumi.Input<string>;
|
|
388
|
-
/**
|
|
389
|
-
* Filter disks by serial number
|
|
390
|
-
*/
|
|
391
|
-
serial?: pulumi.Input<string>;
|
|
392
|
-
/**
|
|
393
|
-
* Filter disks by size
|
|
394
|
-
*/
|
|
395
|
-
size?: pulumi.Input<string>;
|
|
396
|
-
/**
|
|
397
|
-
* Filter disks by type
|
|
398
|
-
*/
|
|
399
|
-
type?: pulumi.Input<string>;
|
|
400
|
-
/**
|
|
401
|
-
* Filter disks by uuid
|
|
402
|
-
*/
|
|
403
|
-
uuid?: pulumi.Input<string>;
|
|
404
|
-
/**
|
|
405
|
-
* Filter disks by wwid
|
|
406
|
-
*/
|
|
407
|
-
wwid?: pulumi.Input<string>;
|
|
408
|
-
}
|
|
409
333
|
interface GetDisksTimeouts {
|
|
410
334
|
/**
|
|
411
335
|
* 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.
|
package/types/output.d.ts
CHANGED
|
@@ -285,81 +285,25 @@ export declare namespace machine {
|
|
|
285
285
|
clientKey: string;
|
|
286
286
|
}
|
|
287
287
|
interface GetDisksDisk {
|
|
288
|
-
/**
|
|
289
|
-
* The bus path of the disk
|
|
290
|
-
*/
|
|
291
288
|
busPath: string;
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
289
|
+
cdrom: boolean;
|
|
290
|
+
devPath: string;
|
|
291
|
+
ioSize: number;
|
|
295
292
|
modalias: string;
|
|
296
|
-
/**
|
|
297
|
-
* The model of the disk
|
|
298
|
-
*/
|
|
299
293
|
model: string;
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
* The serial number of the disk
|
|
306
|
-
*/
|
|
294
|
+
prettySize: string;
|
|
295
|
+
readonly: boolean;
|
|
296
|
+
rotational: boolean;
|
|
297
|
+
secondaryDisks: string[];
|
|
298
|
+
sectorSize: number;
|
|
307
299
|
serial: string;
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* The type of the disk
|
|
314
|
-
*/
|
|
315
|
-
type: string;
|
|
316
|
-
/**
|
|
317
|
-
* The uuid of the disk
|
|
318
|
-
*/
|
|
300
|
+
size: number;
|
|
301
|
+
subSystem: string;
|
|
302
|
+
symlinks: string[];
|
|
303
|
+
transport: string;
|
|
319
304
|
uuid: string;
|
|
320
|
-
/**
|
|
321
|
-
* The wwid of the disk
|
|
322
|
-
*/
|
|
323
305
|
wwid: string;
|
|
324
306
|
}
|
|
325
|
-
interface GetDisksFilters {
|
|
326
|
-
/**
|
|
327
|
-
* Filter disks by bus path
|
|
328
|
-
*/
|
|
329
|
-
busPath?: string;
|
|
330
|
-
/**
|
|
331
|
-
* Filter disks by modalias
|
|
332
|
-
*/
|
|
333
|
-
modalias?: string;
|
|
334
|
-
/**
|
|
335
|
-
* Filter disks by model
|
|
336
|
-
*/
|
|
337
|
-
model?: string;
|
|
338
|
-
/**
|
|
339
|
-
* Filter disks by name
|
|
340
|
-
*/
|
|
341
|
-
name?: string;
|
|
342
|
-
/**
|
|
343
|
-
* Filter disks by serial number
|
|
344
|
-
*/
|
|
345
|
-
serial?: string;
|
|
346
|
-
/**
|
|
347
|
-
* Filter disks by size
|
|
348
|
-
*/
|
|
349
|
-
size?: string;
|
|
350
|
-
/**
|
|
351
|
-
* Filter disks by type
|
|
352
|
-
*/
|
|
353
|
-
type?: string;
|
|
354
|
-
/**
|
|
355
|
-
* Filter disks by uuid
|
|
356
|
-
*/
|
|
357
|
-
uuid?: string;
|
|
358
|
-
/**
|
|
359
|
-
* Filter disks by wwid
|
|
360
|
-
*/
|
|
361
|
-
wwid?: string;
|
|
362
|
-
}
|
|
363
307
|
interface GetDisksTimeouts {
|
|
364
308
|
/**
|
|
365
309
|
* 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.
|