@pulumi/vsphere 4.16.1 → 4.16.2
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.
|
@@ -5,6 +5,28 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* details about a customization specification for a guest operating system.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
12
|
+
*
|
|
13
|
+
* const datacenter = vsphere.getDatacenter({
|
|
14
|
+
* name: "dc-01",
|
|
15
|
+
* });
|
|
16
|
+
* const template = datacenter.then(datacenter => vsphere.getVirtualMachine({
|
|
17
|
+
* name: "windows-template",
|
|
18
|
+
* datacenterId: datacenter.id,
|
|
19
|
+
* }));
|
|
20
|
+
* const windows = vsphere.getGuestOsCustomization({
|
|
21
|
+
* name: "windows",
|
|
22
|
+
* });
|
|
23
|
+
* const vm = new vsphere.VirtualMachine("vm", {
|
|
24
|
+
* templateUuid: template.then(template => template.id),
|
|
25
|
+
* customizationSpec: [{
|
|
26
|
+
* id: windows.then(windows => windows.id),
|
|
27
|
+
* }],
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
8
30
|
*/
|
|
9
31
|
export declare function getGuestOsCustomization(args: GetGuestOsCustomizationArgs, opts?: pulumi.InvokeOptions): Promise<GetGuestOsCustomizationResult>;
|
|
10
32
|
/**
|
|
@@ -56,6 +78,28 @@ export interface GetGuestOsCustomizationResult {
|
|
|
56
78
|
* details about a customization specification for a guest operating system.
|
|
57
79
|
*
|
|
58
80
|
* ## Example Usage
|
|
81
|
+
*
|
|
82
|
+
* ```typescript
|
|
83
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
84
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
85
|
+
*
|
|
86
|
+
* const datacenter = vsphere.getDatacenter({
|
|
87
|
+
* name: "dc-01",
|
|
88
|
+
* });
|
|
89
|
+
* const template = datacenter.then(datacenter => vsphere.getVirtualMachine({
|
|
90
|
+
* name: "windows-template",
|
|
91
|
+
* datacenterId: datacenter.id,
|
|
92
|
+
* }));
|
|
93
|
+
* const windows = vsphere.getGuestOsCustomization({
|
|
94
|
+
* name: "windows",
|
|
95
|
+
* });
|
|
96
|
+
* const vm = new vsphere.VirtualMachine("vm", {
|
|
97
|
+
* templateUuid: template.then(template => template.id),
|
|
98
|
+
* customizationSpec: [{
|
|
99
|
+
* id: windows.then(windows => windows.id),
|
|
100
|
+
* }],
|
|
101
|
+
* });
|
|
102
|
+
* ```
|
|
59
103
|
*/
|
|
60
104
|
export declare function getGuestOsCustomizationOutput(args: GetGuestOsCustomizationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGuestOsCustomizationResult>;
|
|
61
105
|
/**
|
|
@@ -10,6 +10,28 @@ const utilities = require("./utilities");
|
|
|
10
10
|
* details about a customization specification for a guest operating system.
|
|
11
11
|
*
|
|
12
12
|
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
17
|
+
*
|
|
18
|
+
* const datacenter = vsphere.getDatacenter({
|
|
19
|
+
* name: "dc-01",
|
|
20
|
+
* });
|
|
21
|
+
* const template = datacenter.then(datacenter => vsphere.getVirtualMachine({
|
|
22
|
+
* name: "windows-template",
|
|
23
|
+
* datacenterId: datacenter.id,
|
|
24
|
+
* }));
|
|
25
|
+
* const windows = vsphere.getGuestOsCustomization({
|
|
26
|
+
* name: "windows",
|
|
27
|
+
* });
|
|
28
|
+
* const vm = new vsphere.VirtualMachine("vm", {
|
|
29
|
+
* templateUuid: template.then(template => template.id),
|
|
30
|
+
* customizationSpec: [{
|
|
31
|
+
* id: windows.then(windows => windows.id),
|
|
32
|
+
* }],
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
13
35
|
*/
|
|
14
36
|
function getGuestOsCustomization(args, opts) {
|
|
15
37
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -23,6 +45,28 @@ exports.getGuestOsCustomization = getGuestOsCustomization;
|
|
|
23
45
|
* details about a customization specification for a guest operating system.
|
|
24
46
|
*
|
|
25
47
|
* ## Example Usage
|
|
48
|
+
*
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
52
|
+
*
|
|
53
|
+
* const datacenter = vsphere.getDatacenter({
|
|
54
|
+
* name: "dc-01",
|
|
55
|
+
* });
|
|
56
|
+
* const template = datacenter.then(datacenter => vsphere.getVirtualMachine({
|
|
57
|
+
* name: "windows-template",
|
|
58
|
+
* datacenterId: datacenter.id,
|
|
59
|
+
* }));
|
|
60
|
+
* const windows = vsphere.getGuestOsCustomization({
|
|
61
|
+
* name: "windows",
|
|
62
|
+
* });
|
|
63
|
+
* const vm = new vsphere.VirtualMachine("vm", {
|
|
64
|
+
* templateUuid: template.then(template => template.id),
|
|
65
|
+
* customizationSpec: [{
|
|
66
|
+
* id: windows.then(windows => windows.id),
|
|
67
|
+
* }],
|
|
68
|
+
* });
|
|
69
|
+
* ```
|
|
26
70
|
*/
|
|
27
71
|
function getGuestOsCustomizationOutput(args, opts) {
|
|
28
72
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGuestOsCustomization.js","sourceRoot":"","sources":["../getGuestOsCustomization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getGuestOsCustomization.js","sourceRoot":"","sources":["../getGuestOsCustomization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+DAA+D,EAAE;QAC1F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0DAKC;AA+CD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAAiC;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+DAA+D,EAAE;QAChG,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sEAKC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/vsphere",
|
|
3
|
-
"version": "4.16.
|
|
3
|
+
"version": "4.16.2",
|
|
4
4
|
"description": "A Pulumi package for creating vsphere resources",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "vsphere",
|
|
25
|
-
"version": "4.16.
|
|
25
|
+
"version": "4.16.2"
|
|
26
26
|
}
|
|
27
27
|
}
|