@pulumi/vsphere 4.11.0 → 4.11.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/host.d.ts +0 -38
- package/host.js +0 -38
- package/host.js.map +1 -1
- package/package.json +2 -2
package/host.d.ts
CHANGED
|
@@ -1,44 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
-
/**
|
|
5
|
-
* Provides a VMware vSphere host resource. This represents an ESXi host that
|
|
6
|
-
* can be used either as a member of a cluster or as a standalone host.
|
|
7
|
-
*
|
|
8
|
-
* ## Example Usage
|
|
9
|
-
*
|
|
10
|
-
* ### Create a standalone host
|
|
11
|
-
*
|
|
12
|
-
* ```typescript
|
|
13
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
-
* import * as vsphere from "@pulumi/vsphere";
|
|
15
|
-
*
|
|
16
|
-
* const datacenter = vsphere.getDatacenter({
|
|
17
|
-
* name: "dc-01",
|
|
18
|
-
* });
|
|
19
|
-
* const thumbprint = vsphere.getHostThumbprint({
|
|
20
|
-
* address: "esx-01.example.com",
|
|
21
|
-
* insecure: true,
|
|
22
|
-
* });
|
|
23
|
-
* const esx_01 = new vsphere.Host("esx-01", {
|
|
24
|
-
* hostname: "esx-01.example.com",
|
|
25
|
-
* username: "root",
|
|
26
|
-
* password: "password",
|
|
27
|
-
* license: "00000-00000-00000-00000-00000",
|
|
28
|
-
* thumbprint: thumbprint.then(thumbprint => thumbprint.id),
|
|
29
|
-
* datacenter: datacenter.then(datacenter => datacenter.id),
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* ## Importing
|
|
34
|
-
*
|
|
35
|
-
* An existing host can be [imported][docs-import] into this resource by supplying
|
|
36
|
-
* the host's ID. An example is below:
|
|
37
|
-
*
|
|
38
|
-
* [docs-import]: /docs/import/index.html
|
|
39
|
-
*
|
|
40
|
-
* The above would import the host with ID `host-123`.
|
|
41
|
-
*/
|
|
42
4
|
export declare class Host extends pulumi.CustomResource {
|
|
43
5
|
/**
|
|
44
6
|
* Get an existing Host resource's state with the given name, ID, and optional extra
|
package/host.js
CHANGED
|
@@ -5,44 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.Host = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Provides a VMware vSphere host resource. This represents an ESXi host that
|
|
10
|
-
* can be used either as a member of a cluster or as a standalone host.
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ### Create a standalone host
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as vsphere from "@pulumi/vsphere";
|
|
19
|
-
*
|
|
20
|
-
* const datacenter = vsphere.getDatacenter({
|
|
21
|
-
* name: "dc-01",
|
|
22
|
-
* });
|
|
23
|
-
* const thumbprint = vsphere.getHostThumbprint({
|
|
24
|
-
* address: "esx-01.example.com",
|
|
25
|
-
* insecure: true,
|
|
26
|
-
* });
|
|
27
|
-
* const esx_01 = new vsphere.Host("esx-01", {
|
|
28
|
-
* hostname: "esx-01.example.com",
|
|
29
|
-
* username: "root",
|
|
30
|
-
* password: "password",
|
|
31
|
-
* license: "00000-00000-00000-00000-00000",
|
|
32
|
-
* thumbprint: thumbprint.then(thumbprint => thumbprint.id),
|
|
33
|
-
* datacenter: datacenter.then(datacenter => datacenter.id),
|
|
34
|
-
* });
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* ## Importing
|
|
38
|
-
*
|
|
39
|
-
* An existing host can be [imported][docs-import] into this resource by supplying
|
|
40
|
-
* the host's ID. An example is below:
|
|
41
|
-
*
|
|
42
|
-
* [docs-import]: /docs/import/index.html
|
|
43
|
-
*
|
|
44
|
-
* The above would import the host with ID `host-123`.
|
|
45
|
-
*/
|
|
46
8
|
class Host extends pulumi.CustomResource {
|
|
47
9
|
/**
|
|
48
10
|
* Get an existing Host resource's state with the given name, ID, and optional extra
|
package/host.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host.js","sourceRoot":"","sources":["../host.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"host.js","sourceRoot":"","sources":["../host.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IAoGD,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,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,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAjLL,oBAkLC;AApKG,gBAAgB;AACO,iBAAY,GAAG,yBAAyB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/vsphere",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.1",
|
|
4
4
|
"description": "A Pulumi package for creating vsphere resources",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"pulumi": {
|
|
26
26
|
"resource": true,
|
|
27
27
|
"name": "vsphere",
|
|
28
|
-
"version": "4.11.
|
|
28
|
+
"version": "4.11.1"
|
|
29
29
|
}
|
|
30
30
|
}
|