@pulumi/rancher2 10.4.0-alpha.1766506762 → 11.0.0-alpha.1766596160
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/README.md +2 -2
- package/authConfigGenericOidc.d.ts +313 -0
- package/authConfigGenericOidc.js +134 -0
- package/authConfigGenericOidc.js.map +1 -0
- package/authConfigGithubapp.d.ts +133 -0
- package/authConfigGithubapp.js +89 -0
- package/authConfigGithubapp.js.map +1 -0
- package/cluster.d.ts +36 -340
- package/cluster.js +36 -340
- package/cluster.js.map +1 -1
- package/clusterProxyConfigV2.d.ts +96 -0
- package/clusterProxyConfigV2.js +61 -0
- package/clusterProxyConfigV2.js.map +1 -0
- package/clusterSync.d.ts +4 -4
- package/clusterSync.js +4 -4
- package/getClusterProxyConfigV2.d.ts +14 -0
- package/getClusterProxyConfigV2.js +18 -0
- package/getClusterProxyConfigV2.js.map +1 -0
- package/index.d.ts +12 -18
- package/index.js +20 -26
- package/index.js.map +1 -1
- package/nodePool.d.ts +4 -4
- package/nodePool.js +4 -4
- package/package.json +2 -2
- package/types/input.d.ts +762 -2581
- package/types/output.d.ts +2358 -5036
- package/clusterTemplate.d.ts +0 -215
- package/clusterTemplate.js +0 -146
- package/clusterTemplate.js.map +0 -1
- package/etcdBackup.d.ts +0 -186
- package/etcdBackup.js +0 -106
- package/etcdBackup.js.map +0 -1
- package/getClusterTemplate.d.ts +0 -115
- package/getClusterTemplate.js +0 -60
- package/getClusterTemplate.js.map +0 -1
- package/getEtcdBackup.d.ts +0 -99
- package/getEtcdBackup.js +0 -54
- package/getEtcdBackup.js.map +0 -1
- package/getNodeTemplate.d.ts +0 -134
- package/getNodeTemplate.js +0 -52
- package/getNodeTemplate.js.map +0 -1
- package/nodeTemplate.d.ts +0 -562
- package/nodeTemplate.js +0 -261
- package/nodeTemplate.js.map +0 -1
package/getClusterTemplate.d.ts
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as outputs from "./types/output";
|
|
3
|
-
/**
|
|
4
|
-
* Use this data source to retrieve information about a Rancher v2 cluster template.
|
|
5
|
-
*
|
|
6
|
-
* Cluster Templates are available from Rancher v2.3.x and above.
|
|
7
|
-
*
|
|
8
|
-
* ## Example Usage
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
13
|
-
*
|
|
14
|
-
* const foo = rancher2.getClusterTemplate({
|
|
15
|
-
* name: "foo",
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare function getClusterTemplate(args: GetClusterTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterTemplateResult>;
|
|
20
|
-
/**
|
|
21
|
-
* A collection of arguments for invoking getClusterTemplate.
|
|
22
|
-
*/
|
|
23
|
-
export interface GetClusterTemplateArgs {
|
|
24
|
-
/**
|
|
25
|
-
* (Computed) Annotations for the cluster template (map)
|
|
26
|
-
*/
|
|
27
|
-
annotations?: {
|
|
28
|
-
[key: string]: string;
|
|
29
|
-
};
|
|
30
|
-
description?: string;
|
|
31
|
-
/**
|
|
32
|
-
* (Computed) Labels for the cluster template (map)
|
|
33
|
-
*/
|
|
34
|
-
labels?: {
|
|
35
|
-
[key: string]: string;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* The cluster template name (string)
|
|
39
|
-
*/
|
|
40
|
-
name: string;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* A collection of values returned by getClusterTemplate.
|
|
44
|
-
*/
|
|
45
|
-
export interface GetClusterTemplateResult {
|
|
46
|
-
/**
|
|
47
|
-
* (Computed) Annotations for the cluster template (map)
|
|
48
|
-
*/
|
|
49
|
-
readonly annotations: {
|
|
50
|
-
[key: string]: string;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* (Computed) Default cluster template revision ID (string)
|
|
54
|
-
*/
|
|
55
|
-
readonly defaultRevisionId: string;
|
|
56
|
-
readonly description: string;
|
|
57
|
-
/**
|
|
58
|
-
* The provider-assigned unique ID for this managed resource.
|
|
59
|
-
*/
|
|
60
|
-
readonly id: string;
|
|
61
|
-
/**
|
|
62
|
-
* (Computed) Labels for the cluster template (map)
|
|
63
|
-
*/
|
|
64
|
-
readonly labels: {
|
|
65
|
-
[key: string]: string;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* (Computed) Cluster template members (list)
|
|
69
|
-
*/
|
|
70
|
-
readonly members: outputs.GetClusterTemplateMember[];
|
|
71
|
-
readonly name: string;
|
|
72
|
-
/**
|
|
73
|
-
* (Computed) Cluster template revisions (list)
|
|
74
|
-
*/
|
|
75
|
-
readonly templateRevisions: outputs.GetClusterTemplateTemplateRevision[];
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Use this data source to retrieve information about a Rancher v2 cluster template.
|
|
79
|
-
*
|
|
80
|
-
* Cluster Templates are available from Rancher v2.3.x and above.
|
|
81
|
-
*
|
|
82
|
-
* ## Example Usage
|
|
83
|
-
*
|
|
84
|
-
* ```typescript
|
|
85
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
87
|
-
*
|
|
88
|
-
* const foo = rancher2.getClusterTemplate({
|
|
89
|
-
* name: "foo",
|
|
90
|
-
* });
|
|
91
|
-
* ```
|
|
92
|
-
*/
|
|
93
|
-
export declare function getClusterTemplateOutput(args: GetClusterTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClusterTemplateResult>;
|
|
94
|
-
/**
|
|
95
|
-
* A collection of arguments for invoking getClusterTemplate.
|
|
96
|
-
*/
|
|
97
|
-
export interface GetClusterTemplateOutputArgs {
|
|
98
|
-
/**
|
|
99
|
-
* (Computed) Annotations for the cluster template (map)
|
|
100
|
-
*/
|
|
101
|
-
annotations?: pulumi.Input<{
|
|
102
|
-
[key: string]: pulumi.Input<string>;
|
|
103
|
-
}>;
|
|
104
|
-
description?: pulumi.Input<string>;
|
|
105
|
-
/**
|
|
106
|
-
* (Computed) Labels for the cluster template (map)
|
|
107
|
-
*/
|
|
108
|
-
labels?: pulumi.Input<{
|
|
109
|
-
[key: string]: pulumi.Input<string>;
|
|
110
|
-
}>;
|
|
111
|
-
/**
|
|
112
|
-
* The cluster template name (string)
|
|
113
|
-
*/
|
|
114
|
-
name: pulumi.Input<string>;
|
|
115
|
-
}
|
package/getClusterTemplate.js
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getClusterTemplateOutput = exports.getClusterTemplate = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to retrieve information about a Rancher v2 cluster template.
|
|
10
|
-
*
|
|
11
|
-
* Cluster Templates are available from Rancher v2.3.x and above.
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
18
|
-
*
|
|
19
|
-
* const foo = rancher2.getClusterTemplate({
|
|
20
|
-
* name: "foo",
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
function getClusterTemplate(args, opts) {
|
|
25
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
-
return pulumi.runtime.invoke("rancher2:index/getClusterTemplate:getClusterTemplate", {
|
|
27
|
-
"annotations": args.annotations,
|
|
28
|
-
"description": args.description,
|
|
29
|
-
"labels": args.labels,
|
|
30
|
-
"name": args.name,
|
|
31
|
-
}, opts);
|
|
32
|
-
}
|
|
33
|
-
exports.getClusterTemplate = getClusterTemplate;
|
|
34
|
-
/**
|
|
35
|
-
* Use this data source to retrieve information about a Rancher v2 cluster template.
|
|
36
|
-
*
|
|
37
|
-
* Cluster Templates are available from Rancher v2.3.x and above.
|
|
38
|
-
*
|
|
39
|
-
* ## Example Usage
|
|
40
|
-
*
|
|
41
|
-
* ```typescript
|
|
42
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
44
|
-
*
|
|
45
|
-
* const foo = rancher2.getClusterTemplate({
|
|
46
|
-
* name: "foo",
|
|
47
|
-
* });
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
function getClusterTemplateOutput(args, opts) {
|
|
51
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
52
|
-
return pulumi.runtime.invokeOutput("rancher2:index/getClusterTemplate:getClusterTemplate", {
|
|
53
|
-
"annotations": args.annotations,
|
|
54
|
-
"description": args.description,
|
|
55
|
-
"labels": args.labels,
|
|
56
|
-
"name": args.name,
|
|
57
|
-
}, opts);
|
|
58
|
-
}
|
|
59
|
-
exports.getClusterTemplateOutput = getClusterTemplateOutput;
|
|
60
|
-
//# sourceMappingURL=getClusterTemplate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getClusterTemplate.js","sourceRoot":"","sources":["../getClusterTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC;AAoDD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4DAQC"}
|
package/getEtcdBackup.d.ts
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as outputs from "./types/output";
|
|
3
|
-
/**
|
|
4
|
-
* Use this data source to retrieve information about a Rancher v2 etcd backup.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
11
|
-
*
|
|
12
|
-
* const foo = rancher2.getEtcdBackup({
|
|
13
|
-
* clusterId: "<CLUSTER_ID>",
|
|
14
|
-
* name: "foo",
|
|
15
|
-
* });
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export declare function getEtcdBackup(args: GetEtcdBackupArgs, opts?: pulumi.InvokeOptions): Promise<GetEtcdBackupResult>;
|
|
19
|
-
/**
|
|
20
|
-
* A collection of arguments for invoking getEtcdBackup.
|
|
21
|
-
*/
|
|
22
|
-
export interface GetEtcdBackupArgs {
|
|
23
|
-
/**
|
|
24
|
-
* Cluster ID to config Etcd Backup (string)
|
|
25
|
-
*/
|
|
26
|
-
clusterId: string;
|
|
27
|
-
/**
|
|
28
|
-
* The name of the Etcd Backup (string)
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* A collection of values returned by getEtcdBackup.
|
|
34
|
-
*/
|
|
35
|
-
export interface GetEtcdBackupResult {
|
|
36
|
-
/**
|
|
37
|
-
* (Computed) Annotations for Etcd Backup object (map)
|
|
38
|
-
*/
|
|
39
|
-
readonly annotations: {
|
|
40
|
-
[key: string]: string;
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* (Computed) Backup config for etcd backup (list maxitems:1)
|
|
44
|
-
*/
|
|
45
|
-
readonly backupConfig: outputs.GetEtcdBackupBackupConfig;
|
|
46
|
-
readonly clusterId: string;
|
|
47
|
-
/**
|
|
48
|
-
* (Computed) Filename of the Etcd Backup (string)
|
|
49
|
-
*/
|
|
50
|
-
readonly filename: string;
|
|
51
|
-
/**
|
|
52
|
-
* The provider-assigned unique ID for this managed resource.
|
|
53
|
-
*/
|
|
54
|
-
readonly id: string;
|
|
55
|
-
/**
|
|
56
|
-
* (Computed) Labels for Etcd Backup object (map)
|
|
57
|
-
*/
|
|
58
|
-
readonly labels: {
|
|
59
|
-
[key: string]: string;
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* (Computed) Manual execution of the Etcd Backup. Default `false` (bool)
|
|
63
|
-
*/
|
|
64
|
-
readonly manual: boolean;
|
|
65
|
-
readonly name: string;
|
|
66
|
-
/**
|
|
67
|
-
* (Computed) Description for the Etcd Backup (string)
|
|
68
|
-
*/
|
|
69
|
-
readonly namespaceId: string;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Use this data source to retrieve information about a Rancher v2 etcd backup.
|
|
73
|
-
*
|
|
74
|
-
* ## Example Usage
|
|
75
|
-
*
|
|
76
|
-
* ```typescript
|
|
77
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
78
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
79
|
-
*
|
|
80
|
-
* const foo = rancher2.getEtcdBackup({
|
|
81
|
-
* clusterId: "<CLUSTER_ID>",
|
|
82
|
-
* name: "foo",
|
|
83
|
-
* });
|
|
84
|
-
* ```
|
|
85
|
-
*/
|
|
86
|
-
export declare function getEtcdBackupOutput(args: GetEtcdBackupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEtcdBackupResult>;
|
|
87
|
-
/**
|
|
88
|
-
* A collection of arguments for invoking getEtcdBackup.
|
|
89
|
-
*/
|
|
90
|
-
export interface GetEtcdBackupOutputArgs {
|
|
91
|
-
/**
|
|
92
|
-
* Cluster ID to config Etcd Backup (string)
|
|
93
|
-
*/
|
|
94
|
-
clusterId: pulumi.Input<string>;
|
|
95
|
-
/**
|
|
96
|
-
* The name of the Etcd Backup (string)
|
|
97
|
-
*/
|
|
98
|
-
name: pulumi.Input<string>;
|
|
99
|
-
}
|
package/getEtcdBackup.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getEtcdBackupOutput = exports.getEtcdBackup = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to retrieve information about a Rancher v2 etcd backup.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
16
|
-
*
|
|
17
|
-
* const foo = rancher2.getEtcdBackup({
|
|
18
|
-
* clusterId: "<CLUSTER_ID>",
|
|
19
|
-
* name: "foo",
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
function getEtcdBackup(args, opts) {
|
|
24
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
-
return pulumi.runtime.invoke("rancher2:index/getEtcdBackup:getEtcdBackup", {
|
|
26
|
-
"clusterId": args.clusterId,
|
|
27
|
-
"name": args.name,
|
|
28
|
-
}, opts);
|
|
29
|
-
}
|
|
30
|
-
exports.getEtcdBackup = getEtcdBackup;
|
|
31
|
-
/**
|
|
32
|
-
* Use this data source to retrieve information about a Rancher v2 etcd backup.
|
|
33
|
-
*
|
|
34
|
-
* ## Example Usage
|
|
35
|
-
*
|
|
36
|
-
* ```typescript
|
|
37
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
39
|
-
*
|
|
40
|
-
* const foo = rancher2.getEtcdBackup({
|
|
41
|
-
* clusterId: "<CLUSTER_ID>",
|
|
42
|
-
* name: "foo",
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
|
-
*/
|
|
46
|
-
function getEtcdBackupOutput(args, opts) {
|
|
47
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
|
-
return pulumi.runtime.invokeOutput("rancher2:index/getEtcdBackup:getEtcdBackup", {
|
|
49
|
-
"clusterId": args.clusterId,
|
|
50
|
-
"name": args.name,
|
|
51
|
-
}, opts);
|
|
52
|
-
}
|
|
53
|
-
exports.getEtcdBackupOutput = getEtcdBackupOutput;
|
|
54
|
-
//# sourceMappingURL=getEtcdBackup.js.map
|
package/getEtcdBackup.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getEtcdBackup.js","sourceRoot":"","sources":["../getEtcdBackup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AAmDD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC"}
|
package/getNodeTemplate.d.ts
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as outputs from "./types/output";
|
|
3
|
-
/**
|
|
4
|
-
* Use this data source to retrieve information about a Rancher v2 Node Template resource.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
11
|
-
*
|
|
12
|
-
* const foo = rancher2.getNodeTemplate({
|
|
13
|
-
* name: "foo",
|
|
14
|
-
* });
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export declare function getNodeTemplate(args: GetNodeTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetNodeTemplateResult>;
|
|
18
|
-
/**
|
|
19
|
-
* A collection of arguments for invoking getNodeTemplate.
|
|
20
|
-
*/
|
|
21
|
-
export interface GetNodeTemplateArgs {
|
|
22
|
-
/**
|
|
23
|
-
* The name of the Node Template (string)
|
|
24
|
-
*/
|
|
25
|
-
name: string;
|
|
26
|
-
/**
|
|
27
|
-
* (Computed) Engine storage driver for the node template (bool)
|
|
28
|
-
*/
|
|
29
|
-
useInternalIpAddress?: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* A collection of values returned by getNodeTemplate.
|
|
33
|
-
*/
|
|
34
|
-
export interface GetNodeTemplateResult {
|
|
35
|
-
/**
|
|
36
|
-
* (Computed) Annotations for Node Template object (map)
|
|
37
|
-
*/
|
|
38
|
-
readonly annotations: {
|
|
39
|
-
[key: string]: string;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* (Computed) Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
|
|
43
|
-
*/
|
|
44
|
-
readonly cloudCredentialId: string;
|
|
45
|
-
/**
|
|
46
|
-
* (Computed) Description for the Node Template (string)
|
|
47
|
-
*/
|
|
48
|
-
readonly description: string;
|
|
49
|
-
/**
|
|
50
|
-
* (Computed) The driver of the node template (string)
|
|
51
|
-
*/
|
|
52
|
-
readonly driver: string;
|
|
53
|
-
/**
|
|
54
|
-
* (Computed) Engine environment for the node template (string)
|
|
55
|
-
*/
|
|
56
|
-
readonly engineEnv: {
|
|
57
|
-
[key: string]: string;
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* (Computed) Insecure registry for the node template (list)
|
|
61
|
-
*/
|
|
62
|
-
readonly engineInsecureRegistries: string[];
|
|
63
|
-
/**
|
|
64
|
-
* (Computed) Docker engine install URL for the node template (string)
|
|
65
|
-
*/
|
|
66
|
-
readonly engineInstallUrl: string;
|
|
67
|
-
/**
|
|
68
|
-
* (Computed) Engine label for the node template (string)
|
|
69
|
-
*/
|
|
70
|
-
readonly engineLabel: {
|
|
71
|
-
[key: string]: string;
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* (Computed) Engine options for the node template (map)
|
|
75
|
-
*/
|
|
76
|
-
readonly engineOpt: {
|
|
77
|
-
[key: string]: string;
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* (Computed) Engine registry mirror for the node template (list)
|
|
81
|
-
*/
|
|
82
|
-
readonly engineRegistryMirrors: string[];
|
|
83
|
-
/**
|
|
84
|
-
* (Computed) Engine storage driver for the node template (string)
|
|
85
|
-
*/
|
|
86
|
-
readonly engineStorageDriver: string;
|
|
87
|
-
/**
|
|
88
|
-
* The provider-assigned unique ID for this managed resource.
|
|
89
|
-
*/
|
|
90
|
-
readonly id: string;
|
|
91
|
-
/**
|
|
92
|
-
* (Computed) Labels for Node Template object (map)
|
|
93
|
-
*/
|
|
94
|
-
readonly labels: {
|
|
95
|
-
[key: string]: string;
|
|
96
|
-
};
|
|
97
|
-
readonly name: string;
|
|
98
|
-
/**
|
|
99
|
-
* (Computed) Node taints (List)
|
|
100
|
-
*/
|
|
101
|
-
readonly nodeTaints: outputs.GetNodeTemplateNodeTaint[];
|
|
102
|
-
/**
|
|
103
|
-
* (Computed) Engine storage driver for the node template (bool)
|
|
104
|
-
*/
|
|
105
|
-
readonly useInternalIpAddress?: boolean;
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Use this data source to retrieve information about a Rancher v2 Node Template resource.
|
|
109
|
-
*
|
|
110
|
-
* ## Example Usage
|
|
111
|
-
*
|
|
112
|
-
* ```typescript
|
|
113
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
114
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
115
|
-
*
|
|
116
|
-
* const foo = rancher2.getNodeTemplate({
|
|
117
|
-
* name: "foo",
|
|
118
|
-
* });
|
|
119
|
-
* ```
|
|
120
|
-
*/
|
|
121
|
-
export declare function getNodeTemplateOutput(args: GetNodeTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNodeTemplateResult>;
|
|
122
|
-
/**
|
|
123
|
-
* A collection of arguments for invoking getNodeTemplate.
|
|
124
|
-
*/
|
|
125
|
-
export interface GetNodeTemplateOutputArgs {
|
|
126
|
-
/**
|
|
127
|
-
* The name of the Node Template (string)
|
|
128
|
-
*/
|
|
129
|
-
name: pulumi.Input<string>;
|
|
130
|
-
/**
|
|
131
|
-
* (Computed) Engine storage driver for the node template (bool)
|
|
132
|
-
*/
|
|
133
|
-
useInternalIpAddress?: pulumi.Input<boolean>;
|
|
134
|
-
}
|
package/getNodeTemplate.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getNodeTemplateOutput = exports.getNodeTemplate = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to retrieve information about a Rancher v2 Node Template resource.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
16
|
-
*
|
|
17
|
-
* const foo = rancher2.getNodeTemplate({
|
|
18
|
-
* name: "foo",
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
function getNodeTemplate(args, opts) {
|
|
23
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
-
return pulumi.runtime.invoke("rancher2:index/getNodeTemplate:getNodeTemplate", {
|
|
25
|
-
"name": args.name,
|
|
26
|
-
"useInternalIpAddress": args.useInternalIpAddress,
|
|
27
|
-
}, opts);
|
|
28
|
-
}
|
|
29
|
-
exports.getNodeTemplate = getNodeTemplate;
|
|
30
|
-
/**
|
|
31
|
-
* Use this data source to retrieve information about a Rancher v2 Node Template resource.
|
|
32
|
-
*
|
|
33
|
-
* ## Example Usage
|
|
34
|
-
*
|
|
35
|
-
* ```typescript
|
|
36
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
38
|
-
*
|
|
39
|
-
* const foo = rancher2.getNodeTemplate({
|
|
40
|
-
* name: "foo",
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
function getNodeTemplateOutput(args, opts) {
|
|
45
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
-
return pulumi.runtime.invokeOutput("rancher2:index/getNodeTemplate:getNodeTemplate", {
|
|
47
|
-
"name": args.name,
|
|
48
|
-
"useInternalIpAddress": args.useInternalIpAddress,
|
|
49
|
-
}, opts);
|
|
50
|
-
}
|
|
51
|
-
exports.getNodeTemplateOutput = getNodeTemplateOutput;
|
|
52
|
-
//# sourceMappingURL=getNodeTemplate.js.map
|
package/getNodeTemplate.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getNodeTemplate.js","sourceRoot":"","sources":["../getNodeTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;KACpD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAkFD;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;KACpD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC"}
|