@pulumi/vsphere 4.0.1 → 4.1.0
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 +1 -1
- package/computeCluster.d.ts +111 -111
- package/computeCluster.js +1 -0
- package/computeCluster.js.map +1 -1
- package/computeClusterHostGroup.d.ts +6 -6
- package/computeClusterHostGroup.js +1 -0
- package/computeClusterHostGroup.js.map +1 -1
- package/computeClusterVmAffinityRule.d.ts +10 -10
- package/computeClusterVmAffinityRule.js +1 -0
- package/computeClusterVmAffinityRule.js.map +1 -1
- package/computeClusterVmAntiAffinityRule.d.ts +10 -10
- package/computeClusterVmAntiAffinityRule.js +1 -0
- package/computeClusterVmAntiAffinityRule.js.map +1 -1
- package/computeClusterVmDependencyRule.d.ts +12 -12
- package/computeClusterVmDependencyRule.js +1 -0
- package/computeClusterVmDependencyRule.js.map +1 -1
- package/computeClusterVmGroup.d.ts +6 -6
- package/computeClusterVmGroup.js +1 -0
- package/computeClusterVmGroup.js.map +1 -1
- package/computeClusterVmHostRule.d.ts +14 -14
- package/computeClusterVmHostRule.js +1 -0
- package/computeClusterVmHostRule.js.map +1 -1
- package/config/index.js +11 -4
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +13 -13
- package/config/vars.js +87 -50
- package/config/vars.js.map +1 -1
- package/contentLibrary.d.ts +10 -10
- package/contentLibrary.js +1 -0
- package/contentLibrary.js.map +1 -1
- package/contentLibraryItem.d.ts +12 -12
- package/contentLibraryItem.js +1 -0
- package/contentLibraryItem.js.map +1 -1
- package/customAttribute.d.ts +4 -4
- package/customAttribute.js +1 -0
- package/customAttribute.js.map +1 -1
- package/datacenter.d.ts +9 -9
- package/datacenter.js +1 -0
- package/datacenter.js.map +1 -1
- package/datastoreCluster.d.ts +50 -50
- package/datastoreCluster.js +1 -0
- package/datastoreCluster.js.map +1 -1
- package/datastoreClusterVmAntiAffinityRule.d.ts +10 -10
- package/datastoreClusterVmAntiAffinityRule.js +1 -0
- package/datastoreClusterVmAntiAffinityRule.js.map +1 -1
- package/distributedPortGroup.d.ts +94 -94
- package/distributedPortGroup.js +1 -0
- package/distributedPortGroup.js.map +1 -1
- package/distributedVirtualSwitch.d.ts +189 -189
- package/distributedVirtualSwitch.js +1 -0
- package/distributedVirtualSwitch.js.map +1 -1
- package/dpmHostOverride.d.ts +8 -8
- package/dpmHostOverride.js +1 -0
- package/dpmHostOverride.js.map +1 -1
- package/drsVmOverride.d.ts +8 -8
- package/drsVmOverride.js +1 -0
- package/drsVmOverride.js.map +1 -1
- package/entityPermissions.d.ts +6 -6
- package/entityPermissions.js +1 -0
- package/entityPermissions.js.map +1 -1
- package/file.d.ts +14 -14
- package/file.js +1 -0
- package/file.js.map +1 -1
- package/folder.d.ts +10 -10
- package/folder.js +1 -0
- package/folder.js.map +1 -1
- package/getComputeCluster.d.ts +22 -4
- package/getComputeCluster.js +7 -2
- package/getComputeCluster.js.map +1 -1
- package/getContentLibrary.d.ts +12 -2
- package/getContentLibrary.js +6 -1
- package/getContentLibrary.js.map +1 -1
- package/getContentLibraryItem.d.ts +36 -3
- package/getContentLibraryItem.js +20 -0
- package/getContentLibraryItem.js.map +1 -1
- package/getCustomAttribute.d.ts +12 -2
- package/getCustomAttribute.js +6 -1
- package/getCustomAttribute.js.map +1 -1
- package/getDatacenter.d.ts +13 -2
- package/getDatacenter.js +6 -1
- package/getDatacenter.js.map +1 -1
- package/getDatastore.d.ts +22 -4
- package/getDatastore.js +7 -2
- package/getDatastore.js.map +1 -1
- package/getDatastoreCluster.d.ts +22 -4
- package/getDatastoreCluster.js +7 -2
- package/getDatastoreCluster.js.map +1 -1
- package/getDistributedVirtualSwitch.d.ts +23 -4
- package/getDistributedVirtualSwitch.js +7 -2
- package/getDistributedVirtualSwitch.js.map +1 -1
- package/getDynamic.d.ts +24 -3
- package/getDynamic.js +5 -0
- package/getDynamic.js.map +1 -1
- package/getFolder.d.ts +16 -2
- package/getFolder.js +6 -1
- package/getFolder.js.map +1 -1
- package/getHost.d.ts +20 -4
- package/getHost.js +7 -2
- package/getHost.js.map +1 -1
- package/getHostPciDevice.d.ts +28 -4
- package/getHostPciDevice.js +5 -0
- package/getHostPciDevice.js.map +1 -1
- package/getHostThumbprint.d.ts +24 -4
- package/getHostThumbprint.js +6 -1
- package/getHostThumbprint.js.map +1 -1
- package/getNetwork.d.ts +30 -5
- package/getNetwork.js +7 -2
- package/getNetwork.js.map +1 -1
- package/getOvfVmTemplate.d.ts +78 -14
- package/getOvfVmTemplate.js +5 -0
- package/getOvfVmTemplate.js.map +1 -1
- package/getPolicy.d.ts +12 -2
- package/getPolicy.js +6 -1
- package/getPolicy.js.map +1 -1
- package/getResourcePool.d.ts +24 -5
- package/getResourcePool.js +8 -3
- package/getResourcePool.js.map +1 -1
- package/getRole.d.ts +24 -5
- package/getRole.js +6 -1
- package/getRole.js.map +1 -1
- package/getTag.d.ts +18 -4
- package/getTag.js +7 -2
- package/getTag.js.map +1 -1
- package/getTagCategory.d.ts +12 -2
- package/getTagCategory.js +6 -1
- package/getTagCategory.js.map +1 -1
- package/getVappContainer.d.ts +20 -4
- package/getVappContainer.js +7 -2
- package/getVappContainer.js.map +1 -1
- package/getVirtualMachine.d.ts +149 -51
- package/getVirtualMachine.js +7 -2
- package/getVirtualMachine.js.map +1 -1
- package/getVmfsDisks.d.ts +28 -6
- package/getVmfsDisks.js +8 -3
- package/getVmfsDisks.js.map +1 -1
- package/haVmOverride.d.ts +30 -30
- package/haVmOverride.js +1 -0
- package/haVmOverride.js.map +1 -1
- package/host.d.ts +24 -24
- package/host.js +1 -0
- package/host.js.map +1 -1
- package/hostPortGroup.d.ts +41 -41
- package/hostPortGroup.js +5 -4
- package/hostPortGroup.js.map +1 -1
- package/hostVirtualSwitch.d.ts +42 -42
- package/hostVirtualSwitch.js +1 -0
- package/hostVirtualSwitch.js.map +1 -1
- package/index.js +74 -66
- package/index.js.map +1 -1
- package/license.d.ts +8 -8
- package/license.js +1 -0
- package/license.js.map +1 -1
- package/nasDatastore.d.ts +30 -30
- package/nasDatastore.js +1 -0
- package/nasDatastore.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +3 -2
- package/package.json.dev +4 -3
- package/provider.d.ts +45 -13
- package/provider.js +9 -8
- package/provider.js.map +1 -1
- package/resourcePool.d.ts +28 -28
- package/resourcePool.js +1 -0
- package/resourcePool.js.map +1 -1
- package/role.d.ts +5 -5
- package/role.js +1 -0
- package/role.js.map +1 -1
- package/storageDrsVmOverride.d.ts +10 -10
- package/storageDrsVmOverride.js +1 -0
- package/storageDrsVmOverride.js.map +1 -1
- package/tag.d.ts +6 -6
- package/tag.js +1 -0
- package/tag.js.map +1 -1
- package/tagCategory.d.ts +8 -8
- package/tagCategory.js +1 -0
- package/tagCategory.js.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/types/input.d.ts +5 -0
- package/utilities.js +1 -0
- package/utilities.js.map +1 -1
- package/vappContainer.d.ts +30 -30
- package/vappContainer.js +1 -0
- package/vappContainer.js.map +1 -1
- package/vappEntity.d.ts +20 -20
- package/vappEntity.js +1 -0
- package/vappEntity.js.map +1 -1
- package/virtualDisk.d.ts +14 -14
- package/virtualDisk.js +1 -0
- package/virtualDisk.js.map +1 -1
- package/virtualMachine.d.ts +154 -154
- package/virtualMachine.js +1 -0
- package/virtualMachine.js.map +1 -1
- package/virtualMachineSnapshot.d.ts +14 -14
- package/virtualMachineSnapshot.js +1 -0
- package/virtualMachineSnapshot.js.map +1 -1
- package/vmStoragePolicy.d.ts +6 -6
- package/vmStoragePolicy.js +1 -0
- package/vmStoragePolicy.js.map +1 -1
- package/vmfsDatastore.d.ts +21 -21
- package/vmfsDatastore.js +1 -0
- package/vmfsDatastore.js.map +1 -1
- package/vnic.d.ts +18 -18
- package/vnic.js +1 -0
- package/vnic.js.map +1 -1
package/getFolder.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
*
|
|
13
13
|
* const folder = pulumi.output(vsphere.getFolder({
|
|
14
14
|
* path: "/dc1/datastore/folder1",
|
|
15
|
-
* }
|
|
15
|
+
* }));
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
export declare function getFolder(args: GetFolderArgs, opts?: pulumi.InvokeOptions): Promise<GetFolderResult>;
|
|
@@ -27,7 +27,7 @@ export interface GetFolderArgs {
|
|
|
27
27
|
* `/default-dc/vm/test-folder`. The valid folder types to be used in
|
|
28
28
|
* the path are: `vm`, `host`, `datacenter`, `datastore`, or `network`.
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
path: string;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* A collection of values returned by getFolder.
|
|
@@ -39,3 +39,17 @@ export interface GetFolderResult {
|
|
|
39
39
|
readonly id: string;
|
|
40
40
|
readonly path: string;
|
|
41
41
|
}
|
|
42
|
+
export declare function getFolderOutput(args: GetFolderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFolderResult>;
|
|
43
|
+
/**
|
|
44
|
+
* A collection of arguments for invoking getFolder.
|
|
45
|
+
*/
|
|
46
|
+
export interface GetFolderOutputArgs {
|
|
47
|
+
/**
|
|
48
|
+
* The absolute path of the folder. For example, given a
|
|
49
|
+
* default datacenter of `default-dc`, a folder of type `vm`, and a folder name
|
|
50
|
+
* of `test-folder`, the resulting path would be
|
|
51
|
+
* `/default-dc/vm/test-folder`. The valid folder types to be used in
|
|
52
|
+
* the path are: `vm`, `host`, `datacenter`, `datastore`, or `network`.
|
|
53
|
+
*/
|
|
54
|
+
path: pulumi.Input<string>;
|
|
55
|
+
}
|
package/getFolder.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getFolderOutput = exports.getFolder = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -17,7 +18,7 @@ const utilities = require("./utilities");
|
|
|
17
18
|
*
|
|
18
19
|
* const folder = pulumi.output(vsphere.getFolder({
|
|
19
20
|
* path: "/dc1/datastore/folder1",
|
|
20
|
-
* }
|
|
21
|
+
* }));
|
|
21
22
|
* ```
|
|
22
23
|
*/
|
|
23
24
|
function getFolder(args, opts) {
|
|
@@ -32,4 +33,8 @@ function getFolder(args, opts) {
|
|
|
32
33
|
}, opts);
|
|
33
34
|
}
|
|
34
35
|
exports.getFolder = getFolder;
|
|
36
|
+
function getFolderOutput(args, opts) {
|
|
37
|
+
return pulumi.output(args).apply(a => getFolder(a, opts));
|
|
38
|
+
}
|
|
39
|
+
exports.getFolderOutput = getFolderOutput;
|
|
35
40
|
//# sourceMappingURL=getFolder.js.map
|
package/getFolder.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFolder.js","sourceRoot":"","sources":["../getFolder.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getFolder.js","sourceRoot":"","sources":["../getFolder.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;AA2BD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
|
package/getHost.d.ts
CHANGED
|
@@ -12,11 +12,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
*
|
|
13
13
|
* const datacenter = pulumi.output(vsphere.getDatacenter({
|
|
14
14
|
* name: "dc1",
|
|
15
|
-
* }
|
|
15
|
+
* }));
|
|
16
16
|
* const host = datacenter.apply(datacenter => vsphere.getHost({
|
|
17
17
|
* datacenterId: datacenter.id,
|
|
18
18
|
* name: "esxi1",
|
|
19
|
-
* }
|
|
19
|
+
* }));
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
22
|
export declare function getHost(args: GetHostArgs, opts?: pulumi.InvokeOptions): Promise<GetHostResult>;
|
|
@@ -28,12 +28,12 @@ export interface GetHostArgs {
|
|
|
28
28
|
* The managed object reference
|
|
29
29
|
* ID of a datacenter.
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
datacenterId: string;
|
|
32
32
|
/**
|
|
33
33
|
* The name of the host. This can be a name or path. Can be
|
|
34
34
|
* omitted if there is only one host in your inventory.
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
name?: string;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* A collection of values returned by getHost.
|
|
@@ -51,3 +51,19 @@ export interface GetHostResult {
|
|
|
51
51
|
*/
|
|
52
52
|
readonly resourcePoolId: string;
|
|
53
53
|
}
|
|
54
|
+
export declare function getHostOutput(args: GetHostOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetHostResult>;
|
|
55
|
+
/**
|
|
56
|
+
* A collection of arguments for invoking getHost.
|
|
57
|
+
*/
|
|
58
|
+
export interface GetHostOutputArgs {
|
|
59
|
+
/**
|
|
60
|
+
* The managed object reference
|
|
61
|
+
* ID of a datacenter.
|
|
62
|
+
*/
|
|
63
|
+
datacenterId: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The name of the host. This can be a name or path. Can be
|
|
66
|
+
* omitted if there is only one host in your inventory.
|
|
67
|
+
*/
|
|
68
|
+
name?: pulumi.Input<string>;
|
|
69
|
+
}
|
package/getHost.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getHostOutput = exports.getHost = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -17,11 +18,11 @@ const utilities = require("./utilities");
|
|
|
17
18
|
*
|
|
18
19
|
* const datacenter = pulumi.output(vsphere.getDatacenter({
|
|
19
20
|
* name: "dc1",
|
|
20
|
-
* }
|
|
21
|
+
* }));
|
|
21
22
|
* const host = datacenter.apply(datacenter => vsphere.getHost({
|
|
22
23
|
* datacenterId: datacenter.id,
|
|
23
24
|
* name: "esxi1",
|
|
24
|
-
* }
|
|
25
|
+
* }));
|
|
25
26
|
* ```
|
|
26
27
|
*/
|
|
27
28
|
function getHost(args, opts) {
|
|
@@ -37,4 +38,8 @@ function getHost(args, opts) {
|
|
|
37
38
|
}, opts);
|
|
38
39
|
}
|
|
39
40
|
exports.getHost = getHost;
|
|
41
|
+
function getHostOutput(args, opts) {
|
|
42
|
+
return pulumi.output(args).apply(a => getHost(a, opts));
|
|
43
|
+
}
|
|
44
|
+
exports.getHostOutput = getHostOutput;
|
|
40
45
|
//# sourceMappingURL=getHost.js.map
|
package/getHost.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getHost.js","sourceRoot":"","sources":["../getHost.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getHost.js","sourceRoot":"","sources":["../getHost.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0BAYC;AAmCD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
|
package/getHostPciDevice.d.ts
CHANGED
|
@@ -34,21 +34,21 @@ export interface GetHostPciDeviceArgs {
|
|
|
34
34
|
/**
|
|
35
35
|
* The hexadecimal PCI device class ID
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
classId?: string;
|
|
38
38
|
/**
|
|
39
39
|
* The [managed object reference
|
|
40
40
|
* ID][docs-about-morefs] of a host.
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
hostId: string;
|
|
43
43
|
/**
|
|
44
44
|
* A regular expression that will be used to match
|
|
45
45
|
* the host PCI device name.
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
nameRegex?: string;
|
|
48
48
|
/**
|
|
49
49
|
* The hexadecimal PCI device vendor ID.
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
vendorId?: string;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* A collection of values returned by getHostPciDevice.
|
|
@@ -67,3 +67,27 @@ export interface GetHostPciDeviceResult {
|
|
|
67
67
|
readonly nameRegex?: string;
|
|
68
68
|
readonly vendorId?: string;
|
|
69
69
|
}
|
|
70
|
+
export declare function getHostPciDeviceOutput(args: GetHostPciDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetHostPciDeviceResult>;
|
|
71
|
+
/**
|
|
72
|
+
* A collection of arguments for invoking getHostPciDevice.
|
|
73
|
+
*/
|
|
74
|
+
export interface GetHostPciDeviceOutputArgs {
|
|
75
|
+
/**
|
|
76
|
+
* The hexadecimal PCI device class ID
|
|
77
|
+
*/
|
|
78
|
+
classId?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The [managed object reference
|
|
81
|
+
* ID][docs-about-morefs] of a host.
|
|
82
|
+
*/
|
|
83
|
+
hostId: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* A regular expression that will be used to match
|
|
86
|
+
* the host PCI device name.
|
|
87
|
+
*/
|
|
88
|
+
nameRegex?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The hexadecimal PCI device vendor ID.
|
|
91
|
+
*/
|
|
92
|
+
vendorId?: pulumi.Input<string>;
|
|
93
|
+
}
|
package/getHostPciDevice.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getHostPciDeviceOutput = exports.getHostPciDevice = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -46,4 +47,8 @@ function getHostPciDevice(args, opts) {
|
|
|
46
47
|
}, opts);
|
|
47
48
|
}
|
|
48
49
|
exports.getHostPciDevice = getHostPciDevice;
|
|
50
|
+
function getHostPciDeviceOutput(args, opts) {
|
|
51
|
+
return pulumi.output(args).apply(a => getHostPciDevice(a, opts));
|
|
52
|
+
}
|
|
53
|
+
exports.getHostPciDeviceOutput = getHostPciDeviceOutput;
|
|
49
54
|
//# sourceMappingURL=getHostPciDevice.js.map
|
package/getHostPciDevice.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getHostPciDevice.js","sourceRoot":"","sources":["../getHostPciDevice.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getHostPciDevice.js","sourceRoot":"","sources":["../getHostPciDevice.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,4CAcC;AA4CD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,wDAEC"}
|
package/getHostThumbprint.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
*
|
|
14
14
|
* const thumbprint = pulumi.output(vsphere.getHostThumbprint({
|
|
15
15
|
* address: "esxi.example.internal",
|
|
16
|
-
* }
|
|
16
|
+
* }));
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
export declare function getHostThumbprint(args: GetHostThumbprintArgs, opts?: pulumi.InvokeOptions): Promise<GetHostThumbprintResult>;
|
|
@@ -25,16 +25,16 @@ export interface GetHostThumbprintArgs {
|
|
|
25
25
|
* The address of the ESXi host to retrieve the
|
|
26
26
|
* thumbprint from.
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
address: string;
|
|
29
29
|
/**
|
|
30
30
|
* Boolean that can be set to true to disable SSL
|
|
31
31
|
* certificate verification. Default: false
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
insecure?: boolean;
|
|
34
34
|
/**
|
|
35
35
|
* The port to use connecting to the ESXi host. Default: 443
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
port?: string;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* A collection of values returned by getHostThumbprint.
|
|
@@ -48,3 +48,23 @@ export interface GetHostThumbprintResult {
|
|
|
48
48
|
readonly insecure?: boolean;
|
|
49
49
|
readonly port?: string;
|
|
50
50
|
}
|
|
51
|
+
export declare function getHostThumbprintOutput(args: GetHostThumbprintOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetHostThumbprintResult>;
|
|
52
|
+
/**
|
|
53
|
+
* A collection of arguments for invoking getHostThumbprint.
|
|
54
|
+
*/
|
|
55
|
+
export interface GetHostThumbprintOutputArgs {
|
|
56
|
+
/**
|
|
57
|
+
* The address of the ESXi host to retrieve the
|
|
58
|
+
* thumbprint from.
|
|
59
|
+
*/
|
|
60
|
+
address: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Boolean that can be set to true to disable SSL
|
|
63
|
+
* certificate verification. Default: false
|
|
64
|
+
*/
|
|
65
|
+
insecure?: pulumi.Input<boolean>;
|
|
66
|
+
/**
|
|
67
|
+
* The port to use connecting to the ESXi host. Default: 443
|
|
68
|
+
*/
|
|
69
|
+
port?: pulumi.Input<string>;
|
|
70
|
+
}
|
package/getHostThumbprint.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getHostThumbprintOutput = exports.getHostThumbprint = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -18,7 +19,7 @@ const utilities = require("./utilities");
|
|
|
18
19
|
*
|
|
19
20
|
* const thumbprint = pulumi.output(vsphere.getHostThumbprint({
|
|
20
21
|
* address: "esxi.example.internal",
|
|
21
|
-
* }
|
|
22
|
+
* }));
|
|
22
23
|
* ```
|
|
23
24
|
*/
|
|
24
25
|
function getHostThumbprint(args, opts) {
|
|
@@ -35,4 +36,8 @@ function getHostThumbprint(args, opts) {
|
|
|
35
36
|
}, opts);
|
|
36
37
|
}
|
|
37
38
|
exports.getHostThumbprint = getHostThumbprint;
|
|
39
|
+
function getHostThumbprintOutput(args, opts) {
|
|
40
|
+
return pulumi.output(args).apply(a => getHostThumbprint(a, opts));
|
|
41
|
+
}
|
|
42
|
+
exports.getHostThumbprintOutput = getHostThumbprintOutput;
|
|
38
43
|
//# sourceMappingURL=getHostThumbprint.js.map
|
package/getHostThumbprint.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getHostThumbprint.js","sourceRoot":"","sources":["../getHostThumbprint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getHostThumbprint.js","sourceRoot":"","sources":["../getHostThumbprint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,8CAaC;AAmCD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
|
package/getNetwork.d.ts
CHANGED
|
@@ -14,11 +14,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
*
|
|
15
15
|
* const datacenter = pulumi.output(vsphere.getDatacenter({
|
|
16
16
|
* name: "dc1",
|
|
17
|
-
* }
|
|
17
|
+
* }));
|
|
18
18
|
* const net = datacenter.apply(datacenter => vsphere.getNetwork({
|
|
19
19
|
* datacenterId: datacenter.id,
|
|
20
20
|
* name: "test-net",
|
|
21
|
-
* }
|
|
21
|
+
* }));
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
export declare function getNetwork(args: GetNetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkResult>;
|
|
@@ -33,18 +33,18 @@ export interface GetNetworkArgs {
|
|
|
33
33
|
* datacenters, use the id attribute from an empty `vsphere.Datacenter` data
|
|
34
34
|
* source.
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
datacenterId?: string;
|
|
37
37
|
/**
|
|
38
38
|
* For distributed port group type
|
|
39
39
|
* network objects, the ID of the distributed virtual switch the given port group
|
|
40
40
|
* belongs to. It is useful to differentiate port groups with same name using the
|
|
41
41
|
* Distributed virtual switch ID.
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
distributedVirtualSwitchUuid?: string;
|
|
44
44
|
/**
|
|
45
45
|
* The name of the network. This can be a name or path.
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
name: string;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* A collection of values returned by getNetwork.
|
|
@@ -59,3 +59,28 @@ export interface GetNetworkResult {
|
|
|
59
59
|
readonly name: string;
|
|
60
60
|
readonly type: string;
|
|
61
61
|
}
|
|
62
|
+
export declare function getNetworkOutput(args: GetNetworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNetworkResult>;
|
|
63
|
+
/**
|
|
64
|
+
* A collection of arguments for invoking getNetwork.
|
|
65
|
+
*/
|
|
66
|
+
export interface GetNetworkOutputArgs {
|
|
67
|
+
/**
|
|
68
|
+
* The managed object reference
|
|
69
|
+
* ID of the datacenter the network is located in. This can
|
|
70
|
+
* be omitted if the search path used in `name` is an absolute path. For default
|
|
71
|
+
* datacenters, use the id attribute from an empty `vsphere.Datacenter` data
|
|
72
|
+
* source.
|
|
73
|
+
*/
|
|
74
|
+
datacenterId?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* For distributed port group type
|
|
77
|
+
* network objects, the ID of the distributed virtual switch the given port group
|
|
78
|
+
* belongs to. It is useful to differentiate port groups with same name using the
|
|
79
|
+
* Distributed virtual switch ID.
|
|
80
|
+
*/
|
|
81
|
+
distributedVirtualSwitchUuid?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The name of the network. This can be a name or path.
|
|
84
|
+
*/
|
|
85
|
+
name: pulumi.Input<string>;
|
|
86
|
+
}
|
package/getNetwork.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getNetworkOutput = exports.getNetwork = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -19,11 +20,11 @@ const utilities = require("./utilities");
|
|
|
19
20
|
*
|
|
20
21
|
* const datacenter = pulumi.output(vsphere.getDatacenter({
|
|
21
22
|
* name: "dc1",
|
|
22
|
-
* }
|
|
23
|
+
* }));
|
|
23
24
|
* const net = datacenter.apply(datacenter => vsphere.getNetwork({
|
|
24
25
|
* datacenterId: datacenter.id,
|
|
25
26
|
* name: "test-net",
|
|
26
|
-
* }
|
|
27
|
+
* }));
|
|
27
28
|
* ```
|
|
28
29
|
*/
|
|
29
30
|
function getNetwork(args, opts) {
|
|
@@ -40,4 +41,8 @@ function getNetwork(args, opts) {
|
|
|
40
41
|
}, opts);
|
|
41
42
|
}
|
|
42
43
|
exports.getNetwork = getNetwork;
|
|
44
|
+
function getNetworkOutput(args, opts) {
|
|
45
|
+
return pulumi.output(args).apply(a => getNetwork(a, opts));
|
|
46
|
+
}
|
|
47
|
+
exports.getNetworkOutput = getNetworkOutput;
|
|
43
48
|
//# sourceMappingURL=getNetwork.js.map
|
package/getNetwork.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNetwork.js","sourceRoot":"","sources":["../getNetwork.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getNetwork.js","sourceRoot":"","sources":["../getNetwork.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,8BAA8B,EAAE,IAAI,CAAC,4BAA4B;QACjE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,gCAaC;AAyCD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
|
package/getOvfVmTemplate.d.ts
CHANGED
|
@@ -29,61 +29,61 @@ export interface GetOvfVmTemplateArgs {
|
|
|
29
29
|
/**
|
|
30
30
|
* Allow unverified ssl certificates while deploying ovf/ova from url.
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
allowUnverifiedSslCert?: boolean;
|
|
33
33
|
/**
|
|
34
34
|
* The ID of the virtual machine's datastore. The virtual machine configuration is placed here, along with any virtual disks that are created without datastores.
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
datastoreId?: string;
|
|
37
37
|
/**
|
|
38
38
|
* The key of the chosen deployment option. If empty, the default option is chosen.
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
deploymentOption?: string;
|
|
41
41
|
/**
|
|
42
42
|
* The disk provisioning. If set, all the disks in the deployed OVF will have
|
|
43
43
|
* the same specified disk type (accepted values {thin, flat, thick, sameAsSource}).
|
|
44
44
|
*/
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
diskProvisioning?: string;
|
|
46
|
+
enableHiddenProperties?: boolean;
|
|
47
47
|
/**
|
|
48
48
|
* The name of the folder to locate the virtual machine in.
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
folder?: string;
|
|
51
51
|
/**
|
|
52
52
|
* The ID of an optional host system to pin the virtual machine to.
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
hostSystemId: string;
|
|
55
55
|
/**
|
|
56
56
|
* The IP allocation policy.
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
ipAllocationPolicy?: string;
|
|
59
59
|
/**
|
|
60
60
|
* The IP protocol.
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
ipProtocol?: string;
|
|
63
63
|
/**
|
|
64
64
|
* The absolute path to the ovf/ova file in the local system. While deploying from ovf,
|
|
65
65
|
* make sure the other necessary files like the .vmdk files are also in the same directory as the given ovf file.
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
localOvfPath?: string;
|
|
68
68
|
/**
|
|
69
69
|
* Name of the virtual machine to create.
|
|
70
70
|
*/
|
|
71
|
-
|
|
71
|
+
name: string;
|
|
72
72
|
/**
|
|
73
73
|
* The mapping of name of network identifiers from the ovf descriptor to network UUID in the
|
|
74
74
|
* VI infrastructure.
|
|
75
75
|
*/
|
|
76
|
-
|
|
76
|
+
ovfNetworkMap?: {
|
|
77
77
|
[key: string]: string;
|
|
78
78
|
};
|
|
79
79
|
/**
|
|
80
80
|
* URL to the remote ovf/ova file to be deployed.
|
|
81
81
|
*/
|
|
82
|
-
|
|
82
|
+
remoteOvfUrl?: string;
|
|
83
83
|
/**
|
|
84
84
|
* The ID of a resource pool to put the virtual machine in.
|
|
85
85
|
*/
|
|
86
|
-
|
|
86
|
+
resourcePoolId: string;
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
89
|
* A collection of values returned by getOvfVmTemplate.
|
|
@@ -163,3 +163,67 @@ export interface GetOvfVmTemplateResult {
|
|
|
163
163
|
*/
|
|
164
164
|
readonly swapPlacementPolicy: string;
|
|
165
165
|
}
|
|
166
|
+
export declare function getOvfVmTemplateOutput(args: GetOvfVmTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOvfVmTemplateResult>;
|
|
167
|
+
/**
|
|
168
|
+
* A collection of arguments for invoking getOvfVmTemplate.
|
|
169
|
+
*/
|
|
170
|
+
export interface GetOvfVmTemplateOutputArgs {
|
|
171
|
+
/**
|
|
172
|
+
* Allow unverified ssl certificates while deploying ovf/ova from url.
|
|
173
|
+
*/
|
|
174
|
+
allowUnverifiedSslCert?: pulumi.Input<boolean>;
|
|
175
|
+
/**
|
|
176
|
+
* The ID of the virtual machine's datastore. The virtual machine configuration is placed here, along with any virtual disks that are created without datastores.
|
|
177
|
+
*/
|
|
178
|
+
datastoreId?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* The key of the chosen deployment option. If empty, the default option is chosen.
|
|
181
|
+
*/
|
|
182
|
+
deploymentOption?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* The disk provisioning. If set, all the disks in the deployed OVF will have
|
|
185
|
+
* the same specified disk type (accepted values {thin, flat, thick, sameAsSource}).
|
|
186
|
+
*/
|
|
187
|
+
diskProvisioning?: pulumi.Input<string>;
|
|
188
|
+
enableHiddenProperties?: pulumi.Input<boolean>;
|
|
189
|
+
/**
|
|
190
|
+
* The name of the folder to locate the virtual machine in.
|
|
191
|
+
*/
|
|
192
|
+
folder?: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* The ID of an optional host system to pin the virtual machine to.
|
|
195
|
+
*/
|
|
196
|
+
hostSystemId: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* The IP allocation policy.
|
|
199
|
+
*/
|
|
200
|
+
ipAllocationPolicy?: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* The IP protocol.
|
|
203
|
+
*/
|
|
204
|
+
ipProtocol?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* The absolute path to the ovf/ova file in the local system. While deploying from ovf,
|
|
207
|
+
* make sure the other necessary files like the .vmdk files are also in the same directory as the given ovf file.
|
|
208
|
+
*/
|
|
209
|
+
localOvfPath?: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* Name of the virtual machine to create.
|
|
212
|
+
*/
|
|
213
|
+
name: pulumi.Input<string>;
|
|
214
|
+
/**
|
|
215
|
+
* The mapping of name of network identifiers from the ovf descriptor to network UUID in the
|
|
216
|
+
* VI infrastructure.
|
|
217
|
+
*/
|
|
218
|
+
ovfNetworkMap?: pulumi.Input<{
|
|
219
|
+
[key: string]: pulumi.Input<string>;
|
|
220
|
+
}>;
|
|
221
|
+
/**
|
|
222
|
+
* URL to the remote ovf/ova file to be deployed.
|
|
223
|
+
*/
|
|
224
|
+
remoteOvfUrl?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* The ID of a resource pool to put the virtual machine in.
|
|
227
|
+
*/
|
|
228
|
+
resourcePoolId: pulumi.Input<string>;
|
|
229
|
+
}
|
package/getOvfVmTemplate.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getOvfVmTemplateOutput = exports.getOvfVmTemplate = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -51,4 +52,8 @@ function getOvfVmTemplate(args, opts) {
|
|
|
51
52
|
}, opts);
|
|
52
53
|
}
|
|
53
54
|
exports.getOvfVmTemplate = getOvfVmTemplate;
|
|
55
|
+
function getOvfVmTemplateOutput(args, opts) {
|
|
56
|
+
return pulumi.output(args).apply(a => getOvfVmTemplate(a, opts));
|
|
57
|
+
}
|
|
58
|
+
exports.getOvfVmTemplateOutput = getOvfVmTemplateOutput;
|
|
54
59
|
//# sourceMappingURL=getOvfVmTemplate.js.map
|
package/getOvfVmTemplate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOvfVmTemplate.js","sourceRoot":"","sources":["../getOvfVmTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getOvfVmTemplate.js","sourceRoot":"","sources":["../getOvfVmTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAxBD,4CAwBC;AA6ID,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,wDAEC"}
|
package/getPolicy.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
*
|
|
16
16
|
* const policy = pulumi.output(vsphere.getPolicy({
|
|
17
17
|
* name: "policy1",
|
|
18
|
-
* }
|
|
18
|
+
* }));
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
21
|
export declare function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetPolicyResult>;
|
|
@@ -26,7 +26,7 @@ export interface GetPolicyArgs {
|
|
|
26
26
|
/**
|
|
27
27
|
* The name of the storage policy.
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
name: string;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* A collection of values returned by getPolicy.
|
|
@@ -38,3 +38,13 @@ export interface GetPolicyResult {
|
|
|
38
38
|
readonly id: string;
|
|
39
39
|
readonly name: string;
|
|
40
40
|
}
|
|
41
|
+
export declare function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPolicyResult>;
|
|
42
|
+
/**
|
|
43
|
+
* A collection of arguments for invoking getPolicy.
|
|
44
|
+
*/
|
|
45
|
+
export interface GetPolicyOutputArgs {
|
|
46
|
+
/**
|
|
47
|
+
* The name of the storage policy.
|
|
48
|
+
*/
|
|
49
|
+
name: pulumi.Input<string>;
|
|
50
|
+
}
|
package/getPolicy.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getPolicyOutput = exports.getPolicy = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -20,7 +21,7 @@ const utilities = require("./utilities");
|
|
|
20
21
|
*
|
|
21
22
|
* const policy = pulumi.output(vsphere.getPolicy({
|
|
22
23
|
* name: "policy1",
|
|
23
|
-
* }
|
|
24
|
+
* }));
|
|
24
25
|
* ```
|
|
25
26
|
*/
|
|
26
27
|
function getPolicy(args, opts) {
|
|
@@ -35,4 +36,8 @@ function getPolicy(args, opts) {
|
|
|
35
36
|
}, opts);
|
|
36
37
|
}
|
|
37
38
|
exports.getPolicy = getPolicy;
|
|
39
|
+
function getPolicyOutput(args, opts) {
|
|
40
|
+
return pulumi.output(args).apply(a => getPolicy(a, opts));
|
|
41
|
+
}
|
|
42
|
+
exports.getPolicyOutput = getPolicyOutput;
|
|
38
43
|
//# sourceMappingURL=getPolicy.js.map
|
package/getPolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPolicy.js","sourceRoot":"","sources":["../getPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getPolicy.js","sourceRoot":"","sources":["../getPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;AAuBD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
|