@pulumi/vsphere 4.16.5 → 4.16.6
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/computeCluster.d.ts +141 -140
- package/computeCluster.d.ts.map +1 -0
- package/computeCluster.js +29 -6
- package/computeCluster.js.map +1 -1
- package/computeClusterHostGroup.d.ts +6 -5
- package/computeClusterHostGroup.d.ts.map +1 -0
- package/computeClusterHostGroup.js +27 -4
- package/computeClusterHostGroup.js.map +1 -1
- package/computeClusterVmAffinityRule.d.ts +10 -9
- package/computeClusterVmAffinityRule.d.ts.map +1 -0
- package/computeClusterVmAffinityRule.js +28 -5
- package/computeClusterVmAffinityRule.js.map +1 -1
- package/computeClusterVmAntiAffinityRule.d.ts +9 -8
- package/computeClusterVmAntiAffinityRule.d.ts.map +1 -0
- package/computeClusterVmAntiAffinityRule.js +27 -4
- package/computeClusterVmAntiAffinityRule.js.map +1 -1
- package/computeClusterVmDependencyRule.d.ts +10 -9
- package/computeClusterVmDependencyRule.d.ts.map +1 -0
- package/computeClusterVmDependencyRule.js +27 -4
- package/computeClusterVmDependencyRule.js.map +1 -1
- package/computeClusterVmGroup.d.ts +6 -5
- package/computeClusterVmGroup.d.ts.map +1 -0
- package/computeClusterVmGroup.js +27 -4
- package/computeClusterVmGroup.js.map +1 -1
- package/computeClusterVmHostRule.d.ts +13 -12
- package/computeClusterVmHostRule.d.ts.map +1 -0
- package/computeClusterVmHostRule.js +27 -4
- package/computeClusterVmHostRule.js.map +1 -1
- package/config/index.d.ts +1 -0
- package/config/index.d.ts.map +1 -0
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +25 -2
- package/config/vars.js.map +1 -1
- package/configurationProfile.d.ts +8 -7
- package/configurationProfile.d.ts.map +1 -0
- package/configurationProfile.js +28 -5
- package/configurationProfile.js.map +1 -1
- package/contentLibrary.d.ts +10 -9
- package/contentLibrary.d.ts.map +1 -0
- package/contentLibrary.js +27 -4
- package/contentLibrary.js.map +1 -1
- package/contentLibraryItem.d.ts +12 -11
- package/contentLibraryItem.d.ts.map +1 -0
- package/contentLibraryItem.js +27 -4
- package/contentLibraryItem.js.map +1 -1
- package/customAttribute.d.ts +5 -4
- package/customAttribute.d.ts.map +1 -0
- package/customAttribute.js +27 -4
- package/customAttribute.js.map +1 -1
- package/datacenter.d.ts +10 -9
- package/datacenter.d.ts.map +1 -0
- package/datacenter.js +27 -4
- package/datacenter.js.map +1 -1
- package/datastoreCluster.d.ts +50 -49
- package/datastoreCluster.d.ts.map +1 -0
- package/datastoreCluster.js +27 -4
- package/datastoreCluster.js.map +1 -1
- package/datastoreClusterVmAntiAffinityRule.d.ts +9 -8
- package/datastoreClusterVmAntiAffinityRule.d.ts.map +1 -0
- package/datastoreClusterVmAntiAffinityRule.js +27 -4
- package/datastoreClusterVmAntiAffinityRule.js.map +1 -1
- package/distributedPortGroup.d.ts +94 -93
- package/distributedPortGroup.d.ts.map +1 -0
- package/distributedPortGroup.js +27 -4
- package/distributedPortGroup.js.map +1 -1
- package/distributedVirtualSwitch.d.ts +189 -188
- package/distributedVirtualSwitch.d.ts.map +1 -0
- package/distributedVirtualSwitch.js +27 -4
- package/distributedVirtualSwitch.js.map +1 -1
- package/distributedVirtualSwitchPvlanMapping.d.ts +5 -4
- package/distributedVirtualSwitchPvlanMapping.d.ts.map +1 -0
- package/distributedVirtualSwitchPvlanMapping.js +27 -4
- package/distributedVirtualSwitchPvlanMapping.js.map +1 -1
- package/dpmHostOverride.d.ts +7 -6
- package/dpmHostOverride.d.ts.map +1 -0
- package/dpmHostOverride.js +27 -4
- package/dpmHostOverride.js.map +1 -1
- package/drsVmOverride.d.ts +7 -6
- package/drsVmOverride.d.ts.map +1 -0
- package/drsVmOverride.js +27 -4
- package/drsVmOverride.js.map +1 -1
- package/entityPermissions.d.ts +4 -3
- package/entityPermissions.d.ts.map +1 -0
- package/entityPermissions.js +27 -4
- package/entityPermissions.js.map +1 -1
- package/file.d.ts +12 -11
- package/file.d.ts.map +1 -0
- package/file.js +27 -4
- package/file.js.map +1 -1
- package/folder.d.ts +9 -8
- package/folder.d.ts.map +1 -0
- package/folder.js +27 -4
- package/folder.js.map +1 -1
- package/getComputeCluster.d.ts +2 -1
- package/getComputeCluster.d.ts.map +1 -0
- package/getComputeCluster.js +25 -2
- package/getComputeCluster.js.map +1 -1
- package/getComputeClusterHostGroup.d.ts +1 -0
- package/getComputeClusterHostGroup.d.ts.map +1 -0
- package/getComputeClusterHostGroup.js +25 -2
- package/getComputeClusterHostGroup.js.map +1 -1
- package/getConfigurationProfile.d.ts +1 -0
- package/getConfigurationProfile.d.ts.map +1 -0
- package/getConfigurationProfile.js +25 -2
- package/getConfigurationProfile.js.map +1 -1
- package/getContentLibrary.d.ts +1 -0
- package/getContentLibrary.d.ts.map +1 -0
- package/getContentLibrary.js +25 -2
- package/getContentLibrary.js.map +1 -1
- package/getContentLibraryItem.d.ts +1 -0
- package/getContentLibraryItem.d.ts.map +1 -0
- package/getContentLibraryItem.js +25 -2
- package/getContentLibraryItem.js.map +1 -1
- package/getCustomAttribute.d.ts +1 -0
- package/getCustomAttribute.d.ts.map +1 -0
- package/getCustomAttribute.js +25 -2
- package/getCustomAttribute.js.map +1 -1
- package/getDatacenter.d.ts +2 -1
- package/getDatacenter.d.ts.map +1 -0
- package/getDatacenter.js +25 -2
- package/getDatacenter.js.map +1 -1
- package/getDatastore.d.ts +3 -2
- package/getDatastore.d.ts.map +1 -0
- package/getDatastore.js +25 -2
- package/getDatastore.js.map +1 -1
- package/getDatastoreCluster.d.ts +2 -1
- package/getDatastoreCluster.d.ts.map +1 -0
- package/getDatastoreCluster.js +25 -2
- package/getDatastoreCluster.js.map +1 -1
- package/getDatastoreStats.d.ts +3 -2
- package/getDatastoreStats.d.ts.map +1 -0
- package/getDatastoreStats.js +25 -2
- package/getDatastoreStats.js.map +1 -1
- package/getDistributedVirtualSwitch.d.ts +2 -1
- package/getDistributedVirtualSwitch.d.ts.map +1 -0
- package/getDistributedVirtualSwitch.js +25 -2
- package/getDistributedVirtualSwitch.js.map +1 -1
- package/getDynamic.d.ts +3 -2
- package/getDynamic.d.ts.map +1 -0
- package/getDynamic.js +25 -2
- package/getDynamic.js.map +1 -1
- package/getFolder.d.ts +1 -0
- package/getFolder.d.ts.map +1 -0
- package/getFolder.js +25 -2
- package/getFolder.js.map +1 -1
- package/getGuestOsCustomization.d.ts +1 -0
- package/getGuestOsCustomization.d.ts.map +1 -0
- package/getGuestOsCustomization.js +25 -2
- package/getGuestOsCustomization.js.map +1 -1
- package/getHost.d.ts +2 -1
- package/getHost.d.ts.map +1 -0
- package/getHost.js +25 -2
- package/getHost.js.map +1 -1
- package/getHostBaseImages.d.ts +1 -0
- package/getHostBaseImages.d.ts.map +1 -0
- package/getHostBaseImages.js +25 -2
- package/getHostBaseImages.js.map +1 -1
- package/getHostPciDevice.d.ts +4 -3
- package/getHostPciDevice.d.ts.map +1 -0
- package/getHostPciDevice.js +25 -2
- package/getHostPciDevice.js.map +1 -1
- package/getHostThumbprint.d.ts +3 -2
- package/getHostThumbprint.d.ts.map +1 -0
- package/getHostThumbprint.js +25 -2
- package/getHostThumbprint.js.map +1 -1
- package/getHostVgpuProfile.d.ts +2 -1
- package/getHostVgpuProfile.d.ts.map +1 -0
- package/getHostVgpuProfile.js +25 -2
- package/getHostVgpuProfile.js.map +1 -1
- package/getLicense.d.ts +1 -0
- package/getLicense.d.ts.map +1 -0
- package/getLicense.js +25 -2
- package/getLicense.js.map +1 -1
- package/getNetwork.d.ts +7 -6
- package/getNetwork.d.ts.map +1 -0
- package/getNetwork.js +25 -2
- package/getNetwork.js.map +1 -1
- package/getOvfVmTemplate.d.ts +18 -17
- package/getOvfVmTemplate.d.ts.map +1 -0
- package/getOvfVmTemplate.js +31 -8
- package/getOvfVmTemplate.js.map +1 -1
- package/getPolicy.d.ts +1 -0
- package/getPolicy.d.ts.map +1 -0
- package/getPolicy.js +25 -2
- package/getPolicy.js.map +1 -1
- package/getResourcePool.d.ts +4 -3
- package/getResourcePool.d.ts.map +1 -0
- package/getResourcePool.js +25 -2
- package/getResourcePool.js.map +1 -1
- package/getRole.d.ts +4 -3
- package/getRole.d.ts.map +1 -0
- package/getRole.js +25 -2
- package/getRole.js.map +1 -1
- package/getTag.d.ts +1 -0
- package/getTag.d.ts.map +1 -0
- package/getTag.js +25 -2
- package/getTag.js.map +1 -1
- package/getTagCategory.d.ts +1 -0
- package/getTagCategory.d.ts.map +1 -0
- package/getTagCategory.js +25 -2
- package/getTagCategory.js.map +1 -1
- package/getVappContainer.d.ts +1 -0
- package/getVappContainer.d.ts.map +1 -0
- package/getVappContainer.js +25 -2
- package/getVappContainer.js.map +1 -1
- package/getVirtualMachine.d.ts +57 -56
- package/getVirtualMachine.d.ts.map +1 -0
- package/getVirtualMachine.js +25 -2
- package/getVirtualMachine.js.map +1 -1
- package/getVmfsDisks.d.ts +3 -2
- package/getVmfsDisks.d.ts.map +1 -0
- package/getVmfsDisks.js +25 -2
- package/getVmfsDisks.js.map +1 -1
- package/guestOsCustomization.d.ts +9 -8
- package/guestOsCustomization.d.ts.map +1 -0
- package/guestOsCustomization.js +27 -4
- package/guestOsCustomization.js.map +1 -1
- package/haVmOverride.d.ts +29 -28
- package/haVmOverride.d.ts.map +1 -0
- package/haVmOverride.js +27 -4
- package/haVmOverride.js.map +1 -1
- package/host.d.ts +28 -27
- package/host.d.ts.map +1 -0
- package/host.js +27 -4
- package/host.js.map +1 -1
- package/hostPortGroup.d.ts +36 -35
- package/hostPortGroup.d.ts.map +1 -0
- package/hostPortGroup.js +27 -4
- package/hostPortGroup.js.map +1 -1
- package/hostVirtualSwitch.d.ts +40 -39
- package/hostVirtualSwitch.d.ts.map +1 -0
- package/hostVirtualSwitch.js +27 -4
- package/hostVirtualSwitch.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -0
- package/index.js +16 -4
- package/index.js.map +1 -1
- package/license.d.ts +8 -7
- package/license.d.ts.map +1 -0
- package/license.js +27 -4
- package/license.js.map +1 -1
- package/nasDatastore.d.ts +28 -27
- package/nasDatastore.d.ts.map +1 -0
- package/nasDatastore.js +27 -4
- package/nasDatastore.js.map +1 -1
- package/offlineSoftwareDepot.d.ts +3 -2
- package/offlineSoftwareDepot.d.ts.map +1 -0
- package/offlineSoftwareDepot.js +27 -4
- package/offlineSoftwareDepot.js.map +1 -1
- package/package.json +3 -3
- package/provider.d.ts +14 -13
- package/provider.d.ts.map +1 -0
- package/provider.js +27 -4
- package/provider.js.map +1 -1
- package/resourcePool.d.ts +30 -29
- package/resourcePool.d.ts.map +1 -0
- package/resourcePool.js +27 -4
- package/resourcePool.js.map +1 -1
- package/role.d.ts +6 -5
- package/role.d.ts.map +1 -0
- package/role.js +27 -4
- package/role.js.map +1 -1
- package/storageDrsVmOverride.d.ts +9 -8
- package/storageDrsVmOverride.d.ts.map +1 -0
- package/storageDrsVmOverride.js +27 -4
- package/storageDrsVmOverride.js.map +1 -1
- package/supervisor.d.ts +19 -18
- package/supervisor.d.ts.map +1 -0
- package/supervisor.js +27 -4
- package/supervisor.js.map +1 -1
- package/tag.d.ts +6 -5
- package/tag.d.ts.map +1 -0
- package/tag.js +27 -4
- package/tag.js.map +1 -1
- package/tagCategory.d.ts +7 -6
- package/tagCategory.d.ts.map +1 -0
- package/tagCategory.js +27 -4
- package/tagCategory.js.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +25 -2
- package/types/index.js.map +1 -1
- package/types/input.d.ts +160 -159
- package/types/input.d.ts.map +1 -0
- package/types/output.d.ts +1 -0
- package/types/output.d.ts.map +1 -0
- package/utilities.d.ts +1 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js +24 -1
- package/utilities.js.map +1 -1
- package/vappContainer.d.ts +30 -29
- package/vappContainer.d.ts.map +1 -0
- package/vappContainer.js +27 -4
- package/vappContainer.js.map +1 -1
- package/vappEntity.d.ts +19 -18
- package/vappEntity.d.ts.map +1 -0
- package/vappEntity.js +27 -4
- package/vappEntity.js.map +1 -1
- package/virtualDisk.d.ts +12 -11
- package/virtualDisk.d.ts.map +1 -0
- package/virtualDisk.js +27 -4
- package/virtualDisk.js.map +1 -1
- package/virtualMachine.d.ts +171 -170
- package/virtualMachine.d.ts.map +1 -0
- package/virtualMachine.js +33 -10
- package/virtualMachine.js.map +1 -1
- package/virtualMachineClass.d.ts +11 -10
- package/virtualMachineClass.d.ts.map +1 -0
- package/virtualMachineClass.js +27 -4
- package/virtualMachineClass.js.map +1 -1
- package/virtualMachineSnapshot.d.ts +10 -9
- package/virtualMachineSnapshot.d.ts.map +1 -0
- package/virtualMachineSnapshot.js +27 -4
- package/virtualMachineSnapshot.js.map +1 -1
- package/vmStoragePolicy.d.ts +6 -5
- package/vmStoragePolicy.d.ts.map +1 -0
- package/vmStoragePolicy.js +27 -4
- package/vmStoragePolicy.js.map +1 -1
- package/vmfsDatastore.d.ts +20 -19
- package/vmfsDatastore.d.ts.map +1 -0
- package/vmfsDatastore.js +27 -4
- package/vmfsDatastore.js.map +1 -1
- package/vnic.d.ts +20 -19
- package/vnic.d.ts.map +1 -0
- package/vnic.js +27 -4
- package/vnic.js.map +1 -1
package/offlineSoftwareDepot.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.OfflineSoftwareDepot = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* Provides a VMware vSphere offline software depot resource.
|
|
10
33
|
*
|
|
@@ -25,6 +48,8 @@ class OfflineSoftwareDepot extends pulumi.CustomResource {
|
|
|
25
48
|
static get(name, id, state, opts) {
|
|
26
49
|
return new OfflineSoftwareDepot(name, state, { ...opts, id: id });
|
|
27
50
|
}
|
|
51
|
+
/** @internal */
|
|
52
|
+
static __pulumiType = 'vsphere:index/offlineSoftwareDepot:OfflineSoftwareDepot';
|
|
28
53
|
/**
|
|
29
54
|
* Returns true if the given object is an instance of OfflineSoftwareDepot. This is designed to work even
|
|
30
55
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -56,6 +81,4 @@ class OfflineSoftwareDepot extends pulumi.CustomResource {
|
|
|
56
81
|
}
|
|
57
82
|
}
|
|
58
83
|
exports.OfflineSoftwareDepot = OfflineSoftwareDepot;
|
|
59
|
-
/** @internal */
|
|
60
|
-
OfflineSoftwareDepot.__pulumiType = 'vsphere:index/offlineSoftwareDepot:OfflineSoftwareDepot';
|
|
61
84
|
//# sourceMappingURL=offlineSoftwareDepot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offlineSoftwareDepot.js","sourceRoot":"","sources":["../offlineSoftwareDepot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"offlineSoftwareDepot.js","sourceRoot":"","sources":["../offlineSoftwareDepot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,yDAAyD,CAAC;IAEhG;;;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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;SAChD;aAAM;YACH,MAAM,IAAI,GAAG,WAAmD,CAAC;YACjE,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AA9DL,oDA+DC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/vsphere",
|
|
3
|
-
"version": "4.16.
|
|
3
|
+
"version": "4.16.6",
|
|
4
4
|
"description": "A Pulumi package for creating vsphere resources",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/node": "^10.9.2",
|
|
20
|
-
"typescript": "^4.
|
|
20
|
+
"typescript": "^4.7.0"
|
|
21
21
|
},
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "vsphere",
|
|
25
|
-
"version": "4.16.
|
|
25
|
+
"version": "4.16.6"
|
|
26
26
|
}
|
|
27
27
|
}
|
package/provider.d.ts
CHANGED
|
@@ -63,55 +63,55 @@ export interface ProviderArgs {
|
|
|
63
63
|
/**
|
|
64
64
|
* If set, VMware vSphere client will permit unverifiable SSL certificates.
|
|
65
65
|
*/
|
|
66
|
-
allowUnverifiedSsl?: pulumi.Input<boolean>;
|
|
66
|
+
allowUnverifiedSsl?: pulumi.Input<boolean | undefined>;
|
|
67
67
|
/**
|
|
68
68
|
* API timeout in minutes (Default: 5)
|
|
69
69
|
*/
|
|
70
|
-
apiTimeout?: pulumi.Input<number>;
|
|
70
|
+
apiTimeout?: pulumi.Input<number | undefined>;
|
|
71
71
|
/**
|
|
72
72
|
* govmomi debug
|
|
73
73
|
*/
|
|
74
|
-
clientDebug?: pulumi.Input<boolean>;
|
|
74
|
+
clientDebug?: pulumi.Input<boolean | undefined>;
|
|
75
75
|
/**
|
|
76
76
|
* govmomi debug path for debug
|
|
77
77
|
*/
|
|
78
|
-
clientDebugPath?: pulumi.Input<string>;
|
|
78
|
+
clientDebugPath?: pulumi.Input<string | undefined>;
|
|
79
79
|
/**
|
|
80
80
|
* govmomi debug path for a single run
|
|
81
81
|
*/
|
|
82
|
-
clientDebugPathRun?: pulumi.Input<string>;
|
|
82
|
+
clientDebugPathRun?: pulumi.Input<string | undefined>;
|
|
83
83
|
/**
|
|
84
84
|
* The user password for vSphere API operations.
|
|
85
85
|
*/
|
|
86
|
-
password?: pulumi.Input<string>;
|
|
86
|
+
password?: pulumi.Input<string | undefined>;
|
|
87
87
|
/**
|
|
88
88
|
* Persist vSphere client sessions to disk
|
|
89
89
|
*/
|
|
90
|
-
persistSession?: pulumi.Input<boolean>;
|
|
90
|
+
persistSession?: pulumi.Input<boolean | undefined>;
|
|
91
91
|
/**
|
|
92
92
|
* The directory to save vSphere REST API sessions to
|
|
93
93
|
*/
|
|
94
|
-
restSessionPath?: pulumi.Input<string>;
|
|
94
|
+
restSessionPath?: pulumi.Input<string | undefined>;
|
|
95
95
|
/**
|
|
96
96
|
* The user name for vSphere API operations.
|
|
97
97
|
*/
|
|
98
|
-
user?: pulumi.Input<string>;
|
|
98
|
+
user?: pulumi.Input<string | undefined>;
|
|
99
99
|
/**
|
|
100
100
|
* @deprecated This field has been renamed to vsphere_server.
|
|
101
101
|
*/
|
|
102
|
-
vcenterServer?: pulumi.Input<string>;
|
|
102
|
+
vcenterServer?: pulumi.Input<string | undefined>;
|
|
103
103
|
/**
|
|
104
104
|
* Keep alive interval for the VIM session in minutes
|
|
105
105
|
*/
|
|
106
|
-
vimKeepAlive?: pulumi.Input<number>;
|
|
106
|
+
vimKeepAlive?: pulumi.Input<number | undefined>;
|
|
107
107
|
/**
|
|
108
108
|
* The directory to save vSphere SOAP API sessions to
|
|
109
109
|
*/
|
|
110
|
-
vimSessionPath?: pulumi.Input<string>;
|
|
110
|
+
vimSessionPath?: pulumi.Input<string | undefined>;
|
|
111
111
|
/**
|
|
112
112
|
* The vSphere Server name for vSphere API operations.
|
|
113
113
|
*/
|
|
114
|
-
vsphereServer?: pulumi.Input<string>;
|
|
114
|
+
vsphereServer?: pulumi.Input<string | undefined>;
|
|
115
115
|
}
|
|
116
116
|
export declare namespace Provider {
|
|
117
117
|
/**
|
|
@@ -123,3 +123,4 @@ export declare namespace Provider {
|
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;GAKG;AACH,qBAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,QAAQ;IAOnD;;OAEG;IACH,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3E;;OAEG;IACH,SAAwB,kBAAkB,EAAE,MAAM,CAAC,MAAM,CAAC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AM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACpD;AAED,yBAAiB,QAAQ,CAAC;IACtB;;OAEG;IACH,UAAiB,qBAAqB;QAClC,QAAQ,CAAC,MAAM,EAAE;YAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAC,CAAC;KACzC;CAEJ"}
|
package/provider.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.Provider = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* The provider type for the vsphere package. By default, resources use package-wide configuration
|
|
10
33
|
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
@@ -12,6 +35,8 @@ const utilities = require("./utilities");
|
|
|
12
35
|
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
13
36
|
*/
|
|
14
37
|
class Provider extends pulumi.ProviderResource {
|
|
38
|
+
/** @internal */
|
|
39
|
+
static __pulumiType = 'vsphere';
|
|
15
40
|
/**
|
|
16
41
|
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
17
42
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -60,6 +85,4 @@ class Provider extends pulumi.ProviderResource {
|
|
|
60
85
|
}
|
|
61
86
|
}
|
|
62
87
|
exports.Provider = Provider;
|
|
63
|
-
/** @internal */
|
|
64
|
-
Provider.__pulumiType = 'vsphere';
|
|
65
88
|
//# sourceMappingURL=provider.js.map
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IACjD,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,SAAS,CAAC;IAEhD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAmCD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,oBAAoB,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,kBAAkB,CAAC,IAAI,SAAS,CAAC,aAAa,CAAC,8BAA8B,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,C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AI,CAAC,SAAS,CAAC,CAAC;YAC/I,cAAc,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,EAAE,cAAc,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC;YAC1G,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,eAAe;QACX,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE;YACnE,UAAU,EAAE,IAAI;SACnB,EAAE,IAAI,CAAC,CAAC;IACb,CAAC;;AApFL,4BAqFC"}
|
package/resourcePool.d.ts
CHANGED
|
@@ -254,18 +254,18 @@ export interface ResourcePoolState {
|
|
|
254
254
|
* pool can grow beyond the specified value if the parent resource pool has
|
|
255
255
|
* unreserved resources. Default: `true`
|
|
256
256
|
*/
|
|
257
|
-
cpuExpandable?: pulumi.Input<boolean>;
|
|
257
|
+
cpuExpandable?: pulumi.Input<boolean | undefined>;
|
|
258
258
|
/**
|
|
259
259
|
* The CPU utilization of a resource pool will not
|
|
260
260
|
* exceed this limit, even if there are available resources. Set to `-1` for
|
|
261
261
|
* unlimited. Default: `-1`
|
|
262
262
|
*/
|
|
263
|
-
cpuLimit?: pulumi.Input<number>;
|
|
263
|
+
cpuLimit?: pulumi.Input<number | undefined>;
|
|
264
264
|
/**
|
|
265
265
|
* Amount of CPU (MHz) that is guaranteed
|
|
266
266
|
* available to the resource pool. Default: `0`
|
|
267
267
|
*/
|
|
268
|
-
cpuReservation?: pulumi.Input<number>;
|
|
268
|
+
cpuReservation?: pulumi.Input<number | undefined>;
|
|
269
269
|
/**
|
|
270
270
|
* The CPU allocation level. The level is a
|
|
271
271
|
* simplified view of shares. Levels map to a pre-determined set of numeric
|
|
@@ -273,36 +273,36 @@ export interface ResourcePoolState {
|
|
|
273
273
|
* `low`, `normal`, or `high` are specified values in `cpuShares` will be
|
|
274
274
|
* ignored. Default: `normal`
|
|
275
275
|
*/
|
|
276
|
-
cpuShareLevel?: pulumi.Input<string>;
|
|
276
|
+
cpuShareLevel?: pulumi.Input<string | undefined>;
|
|
277
277
|
/**
|
|
278
278
|
* The number of shares allocated for CPU. Used to
|
|
279
279
|
* determine resource allocation in case of resource contention. If this is set,
|
|
280
280
|
* `cpuShareLevel` must be `custom`.
|
|
281
281
|
*/
|
|
282
|
-
cpuShares?: pulumi.Input<number>;
|
|
282
|
+
cpuShares?: pulumi.Input<number | undefined>;
|
|
283
283
|
/**
|
|
284
284
|
* A list of custom attributes to set on this resource.
|
|
285
285
|
*/
|
|
286
286
|
customAttributes?: pulumi.Input<{
|
|
287
287
|
[key: string]: pulumi.Input<string>;
|
|
288
|
-
}>;
|
|
288
|
+
} | undefined>;
|
|
289
289
|
/**
|
|
290
290
|
* Determines if the reservation on a resource
|
|
291
291
|
* pool can grow beyond the specified value if the parent resource pool has
|
|
292
292
|
* unreserved resources. Default: `true`
|
|
293
293
|
*/
|
|
294
|
-
memoryExpandable?: pulumi.Input<boolean>;
|
|
294
|
+
memoryExpandable?: pulumi.Input<boolean | undefined>;
|
|
295
295
|
/**
|
|
296
296
|
* The CPU utilization of a resource pool will not
|
|
297
297
|
* exceed this limit, even if there are available resources. Set to `-1` for
|
|
298
298
|
* unlimited. Default: `-1`
|
|
299
299
|
*/
|
|
300
|
-
memoryLimit?: pulumi.Input<number>;
|
|
300
|
+
memoryLimit?: pulumi.Input<number | undefined>;
|
|
301
301
|
/**
|
|
302
302
|
* Amount of CPU (MHz) that is guaranteed
|
|
303
303
|
* available to the resource pool. Default: `0`
|
|
304
304
|
*/
|
|
305
|
-
memoryReservation?: pulumi.Input<number>;
|
|
305
|
+
memoryReservation?: pulumi.Input<number | undefined>;
|
|
306
306
|
/**
|
|
307
307
|
* The CPU allocation level. The level is a
|
|
308
308
|
* simplified view of shares. Levels map to a pre-determined set of numeric
|
|
@@ -310,17 +310,17 @@ export interface ResourcePoolState {
|
|
|
310
310
|
* `low`, `normal`, or `high` are specified values in `memoryShares` will be
|
|
311
311
|
* ignored. Default: `normal`
|
|
312
312
|
*/
|
|
313
|
-
memoryShareLevel?: pulumi.Input<string>;
|
|
313
|
+
memoryShareLevel?: pulumi.Input<string | undefined>;
|
|
314
314
|
/**
|
|
315
315
|
* The number of shares allocated for CPU. Used to
|
|
316
316
|
* determine resource allocation in case of resource contention. If this is set,
|
|
317
317
|
* `memoryShareLevel` must be `custom`.
|
|
318
318
|
*/
|
|
319
|
-
memoryShares?: pulumi.Input<number>;
|
|
319
|
+
memoryShares?: pulumi.Input<number | undefined>;
|
|
320
320
|
/**
|
|
321
321
|
* The name of the resource pool.
|
|
322
322
|
*/
|
|
323
|
-
name?: pulumi.Input<string>;
|
|
323
|
+
name?: pulumi.Input<string | undefined>;
|
|
324
324
|
/**
|
|
325
325
|
* The [managed object ID][docs-about-morefs]
|
|
326
326
|
* of the parent resource pool. This can be the root resource pool for a cluster
|
|
@@ -328,14 +328,14 @@ export interface ResourcePoolState {
|
|
|
328
328
|
* from one parent resource pool to another, both must share a common root
|
|
329
329
|
* resource pool.
|
|
330
330
|
*/
|
|
331
|
-
parentResourcePoolId?: pulumi.Input<string>;
|
|
331
|
+
parentResourcePoolId?: pulumi.Input<string | undefined>;
|
|
332
332
|
/**
|
|
333
333
|
* Determines if the shares of all
|
|
334
334
|
* descendants of the resource pool are scaled up or down when the shares
|
|
335
335
|
* of the resource pool are scaled up or down. Can be one of `disabled` or
|
|
336
336
|
* `scaleCpuAndMemoryShares`. Default: `disabled`.
|
|
337
337
|
*/
|
|
338
|
-
scaleDescendantsShares?: pulumi.Input<string>;
|
|
338
|
+
scaleDescendantsShares?: pulumi.Input<string | undefined>;
|
|
339
339
|
/**
|
|
340
340
|
* The IDs of any tags to attach to this resource. See
|
|
341
341
|
* [here][docs-applying-tags] for a reference on how to apply tags.
|
|
@@ -343,7 +343,7 @@ export interface ResourcePoolState {
|
|
|
343
343
|
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
344
344
|
* [docs-applying-tags]: /docs/providers/vsphere/r/tag.html#using-tags-in-a-supported-resource
|
|
345
345
|
*/
|
|
346
|
-
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
346
|
+
tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
347
347
|
}
|
|
348
348
|
/**
|
|
349
349
|
* The set of arguments for constructing a ResourcePool resource.
|
|
@@ -354,18 +354,18 @@ export interface ResourcePoolArgs {
|
|
|
354
354
|
* pool can grow beyond the specified value if the parent resource pool has
|
|
355
355
|
* unreserved resources. Default: `true`
|
|
356
356
|
*/
|
|
357
|
-
cpuExpandable?: pulumi.Input<boolean>;
|
|
357
|
+
cpuExpandable?: pulumi.Input<boolean | undefined>;
|
|
358
358
|
/**
|
|
359
359
|
* The CPU utilization of a resource pool will not
|
|
360
360
|
* exceed this limit, even if there are available resources. Set to `-1` for
|
|
361
361
|
* unlimited. Default: `-1`
|
|
362
362
|
*/
|
|
363
|
-
cpuLimit?: pulumi.Input<number>;
|
|
363
|
+
cpuLimit?: pulumi.Input<number | undefined>;
|
|
364
364
|
/**
|
|
365
365
|
* Amount of CPU (MHz) that is guaranteed
|
|
366
366
|
* available to the resource pool. Default: `0`
|
|
367
367
|
*/
|
|
368
|
-
cpuReservation?: pulumi.Input<number>;
|
|
368
|
+
cpuReservation?: pulumi.Input<number | undefined>;
|
|
369
369
|
/**
|
|
370
370
|
* The CPU allocation level. The level is a
|
|
371
371
|
* simplified view of shares. Levels map to a pre-determined set of numeric
|
|
@@ -373,36 +373,36 @@ export interface ResourcePoolArgs {
|
|
|
373
373
|
* `low`, `normal`, or `high` are specified values in `cpuShares` will be
|
|
374
374
|
* ignored. Default: `normal`
|
|
375
375
|
*/
|
|
376
|
-
cpuShareLevel?: pulumi.Input<string>;
|
|
376
|
+
cpuShareLevel?: pulumi.Input<string | undefined>;
|
|
377
377
|
/**
|
|
378
378
|
* The number of shares allocated for CPU. Used to
|
|
379
379
|
* determine resource allocation in case of resource contention. If this is set,
|
|
380
380
|
* `cpuShareLevel` must be `custom`.
|
|
381
381
|
*/
|
|
382
|
-
cpuShares?: pulumi.Input<number>;
|
|
382
|
+
cpuShares?: pulumi.Input<number | undefined>;
|
|
383
383
|
/**
|
|
384
384
|
* A list of custom attributes to set on this resource.
|
|
385
385
|
*/
|
|
386
386
|
customAttributes?: pulumi.Input<{
|
|
387
387
|
[key: string]: pulumi.Input<string>;
|
|
388
|
-
}>;
|
|
388
|
+
} | undefined>;
|
|
389
389
|
/**
|
|
390
390
|
* Determines if the reservation on a resource
|
|
391
391
|
* pool can grow beyond the specified value if the parent resource pool has
|
|
392
392
|
* unreserved resources. Default: `true`
|
|
393
393
|
*/
|
|
394
|
-
memoryExpandable?: pulumi.Input<boolean>;
|
|
394
|
+
memoryExpandable?: pulumi.Input<boolean | undefined>;
|
|
395
395
|
/**
|
|
396
396
|
* The CPU utilization of a resource pool will not
|
|
397
397
|
* exceed this limit, even if there are available resources. Set to `-1` for
|
|
398
398
|
* unlimited. Default: `-1`
|
|
399
399
|
*/
|
|
400
|
-
memoryLimit?: pulumi.Input<number>;
|
|
400
|
+
memoryLimit?: pulumi.Input<number | undefined>;
|
|
401
401
|
/**
|
|
402
402
|
* Amount of CPU (MHz) that is guaranteed
|
|
403
403
|
* available to the resource pool. Default: `0`
|
|
404
404
|
*/
|
|
405
|
-
memoryReservation?: pulumi.Input<number>;
|
|
405
|
+
memoryReservation?: pulumi.Input<number | undefined>;
|
|
406
406
|
/**
|
|
407
407
|
* The CPU allocation level. The level is a
|
|
408
408
|
* simplified view of shares. Levels map to a pre-determined set of numeric
|
|
@@ -410,17 +410,17 @@ export interface ResourcePoolArgs {
|
|
|
410
410
|
* `low`, `normal`, or `high` are specified values in `memoryShares` will be
|
|
411
411
|
* ignored. Default: `normal`
|
|
412
412
|
*/
|
|
413
|
-
memoryShareLevel?: pulumi.Input<string>;
|
|
413
|
+
memoryShareLevel?: pulumi.Input<string | undefined>;
|
|
414
414
|
/**
|
|
415
415
|
* The number of shares allocated for CPU. Used to
|
|
416
416
|
* determine resource allocation in case of resource contention. If this is set,
|
|
417
417
|
* `memoryShareLevel` must be `custom`.
|
|
418
418
|
*/
|
|
419
|
-
memoryShares?: pulumi.Input<number>;
|
|
419
|
+
memoryShares?: pulumi.Input<number | undefined>;
|
|
420
420
|
/**
|
|
421
421
|
* The name of the resource pool.
|
|
422
422
|
*/
|
|
423
|
-
name?: pulumi.Input<string>;
|
|
423
|
+
name?: pulumi.Input<string | undefined>;
|
|
424
424
|
/**
|
|
425
425
|
* The [managed object ID][docs-about-morefs]
|
|
426
426
|
* of the parent resource pool. This can be the root resource pool for a cluster
|
|
@@ -435,7 +435,7 @@ export interface ResourcePoolArgs {
|
|
|
435
435
|
* of the resource pool are scaled up or down. Can be one of `disabled` or
|
|
436
436
|
* `scaleCpuAndMemoryShares`. Default: `disabled`.
|
|
437
437
|
*/
|
|
438
|
-
scaleDescendantsShares?: pulumi.Input<string>;
|
|
438
|
+
scaleDescendantsShares?: pulumi.Input<string | undefined>;
|
|
439
439
|
/**
|
|
440
440
|
* The IDs of any tags to attach to this resource. See
|
|
441
441
|
* [here][docs-applying-tags] for a reference on how to apply tags.
|
|
@@ -443,5 +443,6 @@ export interface ResourcePoolArgs {
|
|
|
443
443
|
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
444
444
|
* [docs-applying-tags]: /docs/providers/vsphere/r/tag.html#using-tags-in-a-supported-resource
|
|
445
445
|
*/
|
|
446
|
-
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
446
|
+
tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|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AM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;;;;;OAMG;IACH,oBAAoB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3C;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1D;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC3D"}
|
package/resourcePool.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.ResourcePool = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* The `vsphere.ResourcePool` resource can be used to create and manage
|
|
10
33
|
* resource pools on DRS-enabled vSphere clusters or standalone ESXi hosts.
|
|
@@ -144,6 +167,8 @@ class ResourcePool extends pulumi.CustomResource {
|
|
|
144
167
|
static get(name, id, state, opts) {
|
|
145
168
|
return new ResourcePool(name, state, { ...opts, id: id });
|
|
146
169
|
}
|
|
170
|
+
/** @internal */
|
|
171
|
+
static __pulumiType = 'vsphere:index/resourcePool:ResourcePool';
|
|
147
172
|
/**
|
|
148
173
|
* Returns true if the given object is an instance of ResourcePool. This is designed to work even
|
|
149
174
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -201,6 +226,4 @@ class ResourcePool extends pulumi.CustomResource {
|
|
|
201
226
|
}
|
|
202
227
|
}
|
|
203
228
|
exports.ResourcePool = ResourcePool;
|
|
204
|
-
/** @internal */
|
|
205
|
-
ResourcePool.__pulumiType = 'vsphere:index/resourcePool:ResourcePool';
|
|
206
229
|
//# sourceMappingURL=resourcePool.js.map
|
package/resourcePool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourcePool.js","sourceRoot":"","sources":["../resourcePool.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"resourcePool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S,CAAC;YAC9C,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA7KL,oCA8KC"}
|
package/role.d.ts
CHANGED
|
@@ -87,15 +87,15 @@ export interface RoleState {
|
|
|
87
87
|
/**
|
|
88
88
|
* The display label of the role.
|
|
89
89
|
*/
|
|
90
|
-
label?: pulumi.Input<string>;
|
|
90
|
+
label?: pulumi.Input<string | undefined>;
|
|
91
91
|
/**
|
|
92
92
|
* The name of the role.
|
|
93
93
|
*/
|
|
94
|
-
name?: pulumi.Input<string>;
|
|
94
|
+
name?: pulumi.Input<string | undefined>;
|
|
95
95
|
/**
|
|
96
96
|
* The privileges to be associated with this role.
|
|
97
97
|
*/
|
|
98
|
-
rolePrivileges?: pulumi.Input<pulumi.Input<string>[]>;
|
|
98
|
+
rolePrivileges?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
99
99
|
}
|
|
100
100
|
/**
|
|
101
101
|
* The set of arguments for constructing a Role resource.
|
|
@@ -104,9 +104,10 @@ export interface RoleArgs {
|
|
|
104
104
|
/**
|
|
105
105
|
* The name of the role.
|
|
106
106
|
*/
|
|
107
|
-
name?: pulumi.Input<string>;
|
|
107
|
+
name?: pulumi.Input<string | undefined>;
|
|
108
108
|
/**
|
|
109
109
|
* The privileges to be associated with this role.
|
|
110
110
|
*/
|
|
111
|
-
rolePrivileges?: pulumi.Input<pulumi.Input<string>[]>;
|
|
111
|
+
rolePrivileges?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
112
112
|
}
|
|
113
|
+
//# sourceMappingURL=role.d.ts.map
|
package/role.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"role.d.ts","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,qBAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,IAAI;IAO1H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,IAAI;IAO/C;;OAEG;IACH,SAAgC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;IAE5E;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAkBjF;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACrE;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACrE"}
|
package/role.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.Role = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* The `vsphere.Role` resource can be used to create and manage roles. Using this resource, privileges can be
|
|
10
33
|
* associated with the roles. The role can be used while granting permissions to an entity.
|
|
@@ -62,6 +85,8 @@ class Role extends pulumi.CustomResource {
|
|
|
62
85
|
static get(name, id, state, opts) {
|
|
63
86
|
return new Role(name, state, { ...opts, id: id });
|
|
64
87
|
}
|
|
88
|
+
/** @internal */
|
|
89
|
+
static __pulumiType = 'vsphere:index/role:Role';
|
|
65
90
|
/**
|
|
66
91
|
* Returns true if the given object is an instance of Role. This is designed to work even
|
|
67
92
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -92,6 +117,4 @@ class Role extends pulumi.CustomResource {
|
|
|
92
117
|
}
|
|
93
118
|
}
|
|
94
119
|
exports.Role = Role;
|
|
95
|
-
/** @internal */
|
|
96
|
-
Role.__pulumiType = 'vsphere:index/role:Role';
|
|
97
120
|
//# sourceMappingURL=role.js.map
|
package/role.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.js","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"role.js","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,yBAAyB,CAAC;IAEhE;;;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;IAuBD,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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