@pulumi/hcloud 1.12.0 → 1.12.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/getSshKeys.d.ts +0 -49
- package/getSshKeys.js +0 -28
- package/getSshKeys.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
package/getSshKeys.d.ts
CHANGED
|
@@ -1,64 +1,15 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
|
-
/**
|
|
4
|
-
* ## Example Usage
|
|
5
|
-
*
|
|
6
|
-
* ```typescript
|
|
7
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
-
* import * as hcloud from "@pulumi/hcloud";
|
|
9
|
-
*
|
|
10
|
-
* const allKeys = hcloud.getSshKeys({});
|
|
11
|
-
* const keysBySelector = hcloud.getSshKeys({
|
|
12
|
-
* withSelector: "foo=bar",
|
|
13
|
-
* });
|
|
14
|
-
* const main = new hcloud.Server("main", {sshKeys: allKeys.then(allKeys => allKeys.sshKeys.map(__item => __item.name))});
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
3
|
export declare function getSshKeys(args?: GetSshKeysArgs, opts?: pulumi.InvokeOptions): Promise<GetSshKeysResult>;
|
|
18
|
-
/**
|
|
19
|
-
* A collection of arguments for invoking getSshKeys.
|
|
20
|
-
*/
|
|
21
4
|
export interface GetSshKeysArgs {
|
|
22
|
-
/**
|
|
23
|
-
* [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
|
24
|
-
*/
|
|
25
5
|
withSelector?: string;
|
|
26
6
|
}
|
|
27
|
-
/**
|
|
28
|
-
* A collection of values returned by getSshKeys.
|
|
29
|
-
*/
|
|
30
7
|
export interface GetSshKeysResult {
|
|
31
|
-
/**
|
|
32
|
-
* The provider-assigned unique ID for this managed resource.
|
|
33
|
-
*/
|
|
34
8
|
readonly id: string;
|
|
35
|
-
/**
|
|
36
|
-
* (list) List of all matches SSH keys. See `data.hcloud_ssh_key` for schema.
|
|
37
|
-
*/
|
|
38
9
|
readonly sshKeys: outputs.GetSshKeysSshKey[];
|
|
39
10
|
readonly withSelector?: string;
|
|
40
11
|
}
|
|
41
|
-
/**
|
|
42
|
-
* ## Example Usage
|
|
43
|
-
*
|
|
44
|
-
* ```typescript
|
|
45
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
-
* import * as hcloud from "@pulumi/hcloud";
|
|
47
|
-
*
|
|
48
|
-
* const allKeys = hcloud.getSshKeys({});
|
|
49
|
-
* const keysBySelector = hcloud.getSshKeys({
|
|
50
|
-
* withSelector: "foo=bar",
|
|
51
|
-
* });
|
|
52
|
-
* const main = new hcloud.Server("main", {sshKeys: allKeys.then(allKeys => allKeys.sshKeys.map(__item => __item.name))});
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
12
|
export declare function getSshKeysOutput(args?: GetSshKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSshKeysResult>;
|
|
56
|
-
/**
|
|
57
|
-
* A collection of arguments for invoking getSshKeys.
|
|
58
|
-
*/
|
|
59
13
|
export interface GetSshKeysOutputArgs {
|
|
60
|
-
/**
|
|
61
|
-
* [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
|
62
|
-
*/
|
|
63
14
|
withSelector?: pulumi.Input<string>;
|
|
64
15
|
}
|
package/getSshKeys.js
CHANGED
|
@@ -5,20 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getSshKeysOutput = exports.getSshKeys = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as hcloud from "@pulumi/hcloud";
|
|
14
|
-
*
|
|
15
|
-
* const allKeys = hcloud.getSshKeys({});
|
|
16
|
-
* const keysBySelector = hcloud.getSshKeys({
|
|
17
|
-
* withSelector: "foo=bar",
|
|
18
|
-
* });
|
|
19
|
-
* const main = new hcloud.Server("main", {sshKeys: allKeys.then(allKeys => allKeys.sshKeys.map(__item => __item.name))});
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
8
|
function getSshKeys(args, opts) {
|
|
23
9
|
args = args || {};
|
|
24
10
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -27,20 +13,6 @@ function getSshKeys(args, opts) {
|
|
|
27
13
|
}, opts);
|
|
28
14
|
}
|
|
29
15
|
exports.getSshKeys = getSshKeys;
|
|
30
|
-
/**
|
|
31
|
-
* ## Example Usage
|
|
32
|
-
*
|
|
33
|
-
* ```typescript
|
|
34
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
-
* import * as hcloud from "@pulumi/hcloud";
|
|
36
|
-
*
|
|
37
|
-
* const allKeys = hcloud.getSshKeys({});
|
|
38
|
-
* const keysBySelector = hcloud.getSshKeys({
|
|
39
|
-
* withSelector: "foo=bar",
|
|
40
|
-
* });
|
|
41
|
-
* const main = new hcloud.Server("main", {sshKeys: allKeys.then(allKeys => allKeys.sshKeys.map(__item => __item.name))});
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
16
|
function getSshKeysOutput(args, opts) {
|
|
45
17
|
return pulumi.output(args).apply((a) => getSshKeys(a, opts));
|
|
46
18
|
}
|
package/getSshKeys.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSshKeys.js","sourceRoot":"","sources":["../getSshKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getSshKeys.js","sourceRoot":"","sources":["../getSshKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AAWD,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/hcloud",
|
|
3
|
-
"version": "v1.12.
|
|
3
|
+
"version": "v1.12.1",
|
|
4
4
|
"description": "A Pulumi package for creating and managing hcloud cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.12.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.12.1"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/hcloud",
|
|
3
|
-
"version": "v1.12.
|
|
3
|
+
"version": "v1.12.1",
|
|
4
4
|
"description": "A Pulumi package for creating and managing hcloud cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.12.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.12.1"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|