@pulumi/hcloud 1.43.3 → 1.43.4-alpha.1793438488
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.
|
@@ -6,6 +6,26 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
* See the [Storage Box Snapshots API documentation](https://docs.hetzner.cloud/reference/hetzner#storage-box-snapshots) for more details.
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as hcloud from "@pulumi/hcloud";
|
|
13
|
+
*
|
|
14
|
+
* const config = new pulumi.Config();
|
|
15
|
+
* const storageBoxId = config.requireObject<any>("storageBoxId");
|
|
16
|
+
* const byId = hcloud.getStorageBoxSnapshot({
|
|
17
|
+
* storageBoxId: storageBoxId,
|
|
18
|
+
* id: 2,
|
|
19
|
+
* });
|
|
20
|
+
* const byName = hcloud.getStorageBoxSnapshot({
|
|
21
|
+
* storageBoxId: storageBoxId,
|
|
22
|
+
* name: "2025-02-12T11-35-19",
|
|
23
|
+
* });
|
|
24
|
+
* const byLabelSelector = hcloud.getStorageBox({
|
|
25
|
+
* storageBoxId: storageBoxId,
|
|
26
|
+
* withSelector: "env=production",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
9
29
|
*/
|
|
10
30
|
export declare function getStorageBoxSnapshot(args: GetStorageBoxSnapshotArgs, opts?: pulumi.InvokeOptions): Promise<GetStorageBoxSnapshotResult>;
|
|
11
31
|
/**
|
|
@@ -74,6 +94,26 @@ export interface GetStorageBoxSnapshotResult {
|
|
|
74
94
|
* See the [Storage Box Snapshots API documentation](https://docs.hetzner.cloud/reference/hetzner#storage-box-snapshots) for more details.
|
|
75
95
|
*
|
|
76
96
|
* ## Example Usage
|
|
97
|
+
*
|
|
98
|
+
* ```typescript
|
|
99
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
100
|
+
* import * as hcloud from "@pulumi/hcloud";
|
|
101
|
+
*
|
|
102
|
+
* const config = new pulumi.Config();
|
|
103
|
+
* const storageBoxId = config.requireObject<any>("storageBoxId");
|
|
104
|
+
* const byId = hcloud.getStorageBoxSnapshot({
|
|
105
|
+
* storageBoxId: storageBoxId,
|
|
106
|
+
* id: 2,
|
|
107
|
+
* });
|
|
108
|
+
* const byName = hcloud.getStorageBoxSnapshot({
|
|
109
|
+
* storageBoxId: storageBoxId,
|
|
110
|
+
* name: "2025-02-12T11-35-19",
|
|
111
|
+
* });
|
|
112
|
+
* const byLabelSelector = hcloud.getStorageBox({
|
|
113
|
+
* storageBoxId: storageBoxId,
|
|
114
|
+
* withSelector: "env=production",
|
|
115
|
+
* });
|
|
116
|
+
* ```
|
|
77
117
|
*/
|
|
78
118
|
export declare function getStorageBoxSnapshotOutput(args: GetStorageBoxSnapshotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStorageBoxSnapshotResult>;
|
|
79
119
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStorageBoxSnapshot.d.ts","sourceRoot":"","sources":["../getStorageBoxSnapshot.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"getStorageBoxSnapshot.d.ts","sourceRoot":"","sources":["../getStorageBoxSnapshot.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAQxI;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;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;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnD"}
|
package/getStorageBoxSnapshot.js
CHANGED
|
@@ -34,6 +34,26 @@ const utilities = __importStar(require("./utilities"));
|
|
|
34
34
|
* See the [Storage Box Snapshots API documentation](https://docs.hetzner.cloud/reference/hetzner#storage-box-snapshots) for more details.
|
|
35
35
|
*
|
|
36
36
|
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as hcloud from "@pulumi/hcloud";
|
|
41
|
+
*
|
|
42
|
+
* const config = new pulumi.Config();
|
|
43
|
+
* const storageBoxId = config.requireObject<any>("storageBoxId");
|
|
44
|
+
* const byId = hcloud.getStorageBoxSnapshot({
|
|
45
|
+
* storageBoxId: storageBoxId,
|
|
46
|
+
* id: 2,
|
|
47
|
+
* });
|
|
48
|
+
* const byName = hcloud.getStorageBoxSnapshot({
|
|
49
|
+
* storageBoxId: storageBoxId,
|
|
50
|
+
* name: "2025-02-12T11-35-19",
|
|
51
|
+
* });
|
|
52
|
+
* const byLabelSelector = hcloud.getStorageBox({
|
|
53
|
+
* storageBoxId: storageBoxId,
|
|
54
|
+
* withSelector: "env=production",
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
37
57
|
*/
|
|
38
58
|
function getStorageBoxSnapshot(args, opts) {
|
|
39
59
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -51,6 +71,26 @@ exports.getStorageBoxSnapshot = getStorageBoxSnapshot;
|
|
|
51
71
|
* See the [Storage Box Snapshots API documentation](https://docs.hetzner.cloud/reference/hetzner#storage-box-snapshots) for more details.
|
|
52
72
|
*
|
|
53
73
|
* ## Example Usage
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
77
|
+
* import * as hcloud from "@pulumi/hcloud";
|
|
78
|
+
*
|
|
79
|
+
* const config = new pulumi.Config();
|
|
80
|
+
* const storageBoxId = config.requireObject<any>("storageBoxId");
|
|
81
|
+
* const byId = hcloud.getStorageBoxSnapshot({
|
|
82
|
+
* storageBoxId: storageBoxId,
|
|
83
|
+
* id: 2,
|
|
84
|
+
* });
|
|
85
|
+
* const byName = hcloud.getStorageBoxSnapshot({
|
|
86
|
+
* storageBoxId: storageBoxId,
|
|
87
|
+
* name: "2025-02-12T11-35-19",
|
|
88
|
+
* });
|
|
89
|
+
* const byLabelSelector = hcloud.getStorageBox({
|
|
90
|
+
* storageBoxId: storageBoxId,
|
|
91
|
+
* withSelector: "env=production",
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
54
94
|
*/
|
|
55
95
|
function getStorageBoxSnapshotOutput(args, opts) {
|
|
56
96
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStorageBoxSnapshot.js","sourceRoot":"","sources":["../getStorageBoxSnapshot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getStorageBoxSnapshot.js","sourceRoot":"","sources":["../getStorageBoxSnapshot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC;AA6DD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kEAQC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/hcloud",
|
|
3
|
-
"version": "1.43.
|
|
3
|
+
"version": "1.43.4-alpha.1793438488",
|
|
4
4
|
"description": "A Pulumi package for creating and managing hcloud cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "hcloud",
|
|
26
|
-
"version": "1.43.
|
|
26
|
+
"version": "1.43.4-alpha.1793438488"
|
|
27
27
|
}
|
|
28
28
|
}
|