@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.
Files changed (205) hide show
  1. package/README.md +1 -1
  2. package/computeCluster.d.ts +111 -111
  3. package/computeCluster.js +1 -0
  4. package/computeCluster.js.map +1 -1
  5. package/computeClusterHostGroup.d.ts +6 -6
  6. package/computeClusterHostGroup.js +1 -0
  7. package/computeClusterHostGroup.js.map +1 -1
  8. package/computeClusterVmAffinityRule.d.ts +10 -10
  9. package/computeClusterVmAffinityRule.js +1 -0
  10. package/computeClusterVmAffinityRule.js.map +1 -1
  11. package/computeClusterVmAntiAffinityRule.d.ts +10 -10
  12. package/computeClusterVmAntiAffinityRule.js +1 -0
  13. package/computeClusterVmAntiAffinityRule.js.map +1 -1
  14. package/computeClusterVmDependencyRule.d.ts +12 -12
  15. package/computeClusterVmDependencyRule.js +1 -0
  16. package/computeClusterVmDependencyRule.js.map +1 -1
  17. package/computeClusterVmGroup.d.ts +6 -6
  18. package/computeClusterVmGroup.js +1 -0
  19. package/computeClusterVmGroup.js.map +1 -1
  20. package/computeClusterVmHostRule.d.ts +14 -14
  21. package/computeClusterVmHostRule.js +1 -0
  22. package/computeClusterVmHostRule.js.map +1 -1
  23. package/config/index.js +11 -4
  24. package/config/index.js.map +1 -1
  25. package/config/vars.d.ts +13 -13
  26. package/config/vars.js +87 -50
  27. package/config/vars.js.map +1 -1
  28. package/contentLibrary.d.ts +10 -10
  29. package/contentLibrary.js +1 -0
  30. package/contentLibrary.js.map +1 -1
  31. package/contentLibraryItem.d.ts +12 -12
  32. package/contentLibraryItem.js +1 -0
  33. package/contentLibraryItem.js.map +1 -1
  34. package/customAttribute.d.ts +4 -4
  35. package/customAttribute.js +1 -0
  36. package/customAttribute.js.map +1 -1
  37. package/datacenter.d.ts +9 -9
  38. package/datacenter.js +1 -0
  39. package/datacenter.js.map +1 -1
  40. package/datastoreCluster.d.ts +50 -50
  41. package/datastoreCluster.js +1 -0
  42. package/datastoreCluster.js.map +1 -1
  43. package/datastoreClusterVmAntiAffinityRule.d.ts +10 -10
  44. package/datastoreClusterVmAntiAffinityRule.js +1 -0
  45. package/datastoreClusterVmAntiAffinityRule.js.map +1 -1
  46. package/distributedPortGroup.d.ts +94 -94
  47. package/distributedPortGroup.js +1 -0
  48. package/distributedPortGroup.js.map +1 -1
  49. package/distributedVirtualSwitch.d.ts +189 -189
  50. package/distributedVirtualSwitch.js +1 -0
  51. package/distributedVirtualSwitch.js.map +1 -1
  52. package/dpmHostOverride.d.ts +8 -8
  53. package/dpmHostOverride.js +1 -0
  54. package/dpmHostOverride.js.map +1 -1
  55. package/drsVmOverride.d.ts +8 -8
  56. package/drsVmOverride.js +1 -0
  57. package/drsVmOverride.js.map +1 -1
  58. package/entityPermissions.d.ts +6 -6
  59. package/entityPermissions.js +1 -0
  60. package/entityPermissions.js.map +1 -1
  61. package/file.d.ts +14 -14
  62. package/file.js +1 -0
  63. package/file.js.map +1 -1
  64. package/folder.d.ts +10 -10
  65. package/folder.js +1 -0
  66. package/folder.js.map +1 -1
  67. package/getComputeCluster.d.ts +22 -4
  68. package/getComputeCluster.js +7 -2
  69. package/getComputeCluster.js.map +1 -1
  70. package/getContentLibrary.d.ts +12 -2
  71. package/getContentLibrary.js +6 -1
  72. package/getContentLibrary.js.map +1 -1
  73. package/getContentLibraryItem.d.ts +36 -3
  74. package/getContentLibraryItem.js +20 -0
  75. package/getContentLibraryItem.js.map +1 -1
  76. package/getCustomAttribute.d.ts +12 -2
  77. package/getCustomAttribute.js +6 -1
  78. package/getCustomAttribute.js.map +1 -1
  79. package/getDatacenter.d.ts +13 -2
  80. package/getDatacenter.js +6 -1
  81. package/getDatacenter.js.map +1 -1
  82. package/getDatastore.d.ts +22 -4
  83. package/getDatastore.js +7 -2
  84. package/getDatastore.js.map +1 -1
  85. package/getDatastoreCluster.d.ts +22 -4
  86. package/getDatastoreCluster.js +7 -2
  87. package/getDatastoreCluster.js.map +1 -1
  88. package/getDistributedVirtualSwitch.d.ts +23 -4
  89. package/getDistributedVirtualSwitch.js +7 -2
  90. package/getDistributedVirtualSwitch.js.map +1 -1
  91. package/getDynamic.d.ts +24 -3
  92. package/getDynamic.js +5 -0
  93. package/getDynamic.js.map +1 -1
  94. package/getFolder.d.ts +16 -2
  95. package/getFolder.js +6 -1
  96. package/getFolder.js.map +1 -1
  97. package/getHost.d.ts +20 -4
  98. package/getHost.js +7 -2
  99. package/getHost.js.map +1 -1
  100. package/getHostPciDevice.d.ts +28 -4
  101. package/getHostPciDevice.js +5 -0
  102. package/getHostPciDevice.js.map +1 -1
  103. package/getHostThumbprint.d.ts +24 -4
  104. package/getHostThumbprint.js +6 -1
  105. package/getHostThumbprint.js.map +1 -1
  106. package/getNetwork.d.ts +30 -5
  107. package/getNetwork.js +7 -2
  108. package/getNetwork.js.map +1 -1
  109. package/getOvfVmTemplate.d.ts +78 -14
  110. package/getOvfVmTemplate.js +5 -0
  111. package/getOvfVmTemplate.js.map +1 -1
  112. package/getPolicy.d.ts +12 -2
  113. package/getPolicy.js +6 -1
  114. package/getPolicy.js.map +1 -1
  115. package/getResourcePool.d.ts +24 -5
  116. package/getResourcePool.js +8 -3
  117. package/getResourcePool.js.map +1 -1
  118. package/getRole.d.ts +24 -5
  119. package/getRole.js +6 -1
  120. package/getRole.js.map +1 -1
  121. package/getTag.d.ts +18 -4
  122. package/getTag.js +7 -2
  123. package/getTag.js.map +1 -1
  124. package/getTagCategory.d.ts +12 -2
  125. package/getTagCategory.js +6 -1
  126. package/getTagCategory.js.map +1 -1
  127. package/getVappContainer.d.ts +20 -4
  128. package/getVappContainer.js +7 -2
  129. package/getVappContainer.js.map +1 -1
  130. package/getVirtualMachine.d.ts +149 -51
  131. package/getVirtualMachine.js +7 -2
  132. package/getVirtualMachine.js.map +1 -1
  133. package/getVmfsDisks.d.ts +28 -6
  134. package/getVmfsDisks.js +8 -3
  135. package/getVmfsDisks.js.map +1 -1
  136. package/haVmOverride.d.ts +30 -30
  137. package/haVmOverride.js +1 -0
  138. package/haVmOverride.js.map +1 -1
  139. package/host.d.ts +24 -24
  140. package/host.js +1 -0
  141. package/host.js.map +1 -1
  142. package/hostPortGroup.d.ts +41 -41
  143. package/hostPortGroup.js +5 -4
  144. package/hostPortGroup.js.map +1 -1
  145. package/hostVirtualSwitch.d.ts +42 -42
  146. package/hostVirtualSwitch.js +1 -0
  147. package/hostVirtualSwitch.js.map +1 -1
  148. package/index.js +74 -66
  149. package/index.js.map +1 -1
  150. package/license.d.ts +8 -8
  151. package/license.js +1 -0
  152. package/license.js.map +1 -1
  153. package/nasDatastore.d.ts +30 -30
  154. package/nasDatastore.js +1 -0
  155. package/nasDatastore.js.map +1 -1
  156. package/package.json +4 -3
  157. package/package.json.bak +3 -2
  158. package/package.json.dev +4 -3
  159. package/provider.d.ts +45 -13
  160. package/provider.js +9 -8
  161. package/provider.js.map +1 -1
  162. package/resourcePool.d.ts +28 -28
  163. package/resourcePool.js +1 -0
  164. package/resourcePool.js.map +1 -1
  165. package/role.d.ts +5 -5
  166. package/role.js +1 -0
  167. package/role.js.map +1 -1
  168. package/storageDrsVmOverride.d.ts +10 -10
  169. package/storageDrsVmOverride.js +1 -0
  170. package/storageDrsVmOverride.js.map +1 -1
  171. package/tag.d.ts +6 -6
  172. package/tag.js +1 -0
  173. package/tag.js.map +1 -1
  174. package/tagCategory.d.ts +8 -8
  175. package/tagCategory.js +1 -0
  176. package/tagCategory.js.map +1 -1
  177. package/types/index.js +1 -0
  178. package/types/index.js.map +1 -1
  179. package/types/input.d.ts +5 -0
  180. package/utilities.js +1 -0
  181. package/utilities.js.map +1 -1
  182. package/vappContainer.d.ts +30 -30
  183. package/vappContainer.js +1 -0
  184. package/vappContainer.js.map +1 -1
  185. package/vappEntity.d.ts +20 -20
  186. package/vappEntity.js +1 -0
  187. package/vappEntity.js.map +1 -1
  188. package/virtualDisk.d.ts +14 -14
  189. package/virtualDisk.js +1 -0
  190. package/virtualDisk.js.map +1 -1
  191. package/virtualMachine.d.ts +154 -154
  192. package/virtualMachine.js +1 -0
  193. package/virtualMachine.js.map +1 -1
  194. package/virtualMachineSnapshot.d.ts +14 -14
  195. package/virtualMachineSnapshot.js +1 -0
  196. package/virtualMachineSnapshot.js.map +1 -1
  197. package/vmStoragePolicy.d.ts +6 -6
  198. package/vmStoragePolicy.js +1 -0
  199. package/vmStoragePolicy.js.map +1 -1
  200. package/vmfsDatastore.d.ts +21 -21
  201. package/vmfsDatastore.js +1 -0
  202. package/vmfsDatastore.js.map +1 -1
  203. package/vnic.d.ts +18 -18
  204. package/vnic.js +1 -0
  205. package/vnic.js.map +1 -1
package/nasDatastore.d.ts CHANGED
@@ -137,21 +137,21 @@ export interface NasDatastoreState {
137
137
  * that the datastore will be read-write depending on the permissions of the
138
138
  * actual share. Default: `readWrite`. Forces a new resource if changed.
139
139
  */
140
- readonly accessMode?: pulumi.Input<string>;
140
+ accessMode?: pulumi.Input<string>;
141
141
  /**
142
142
  * The connectivity status of the datastore. If this is `false`,
143
143
  * some other computed attributes may be out of date.
144
144
  */
145
- readonly accessible?: pulumi.Input<boolean>;
145
+ accessible?: pulumi.Input<boolean>;
146
146
  /**
147
147
  * Maximum capacity of the datastore, in megabytes.
148
148
  */
149
- readonly capacity?: pulumi.Input<number>;
149
+ capacity?: pulumi.Input<number>;
150
150
  /**
151
151
  * Map of custom attribute ids to attribute
152
152
  * value strings to set on datasource resource.
153
153
  */
154
- readonly customAttributes?: pulumi.Input<{
154
+ customAttributes?: pulumi.Input<{
155
155
  [key: string]: pulumi.Input<string>;
156
156
  }>;
157
157
  /**
@@ -159,7 +159,7 @@ export interface NasDatastoreState {
159
159
  * ID of a datastore cluster to put this datastore in.
160
160
  * Conflicts with `folder`.
161
161
  */
162
- readonly datastoreClusterId?: pulumi.Input<string>;
162
+ datastoreClusterId?: pulumi.Input<string>;
163
163
  /**
164
164
  * The relative path to a folder to put this datastore in.
165
165
  * This is a path relative to the datacenter you are deploying the datastore to.
@@ -169,71 +169,71 @@ export interface NasDatastoreState {
169
169
  * `/dc1/datastore/foo/bar/test`. Conflicts with
170
170
  * `datastoreClusterId`.
171
171
  */
172
- readonly folder?: pulumi.Input<string>;
172
+ folder?: pulumi.Input<string>;
173
173
  /**
174
174
  * Available space of this datastore, in megabytes.
175
175
  */
176
- readonly freeSpace?: pulumi.Input<number>;
176
+ freeSpace?: pulumi.Input<number>;
177
177
  /**
178
178
  * The managed object IDs of
179
179
  * the hosts to mount the datastore on.
180
180
  */
181
- readonly hostSystemIds?: pulumi.Input<pulumi.Input<string>[]>;
181
+ hostSystemIds?: pulumi.Input<pulumi.Input<string>[]>;
182
182
  /**
183
183
  * The current maintenance mode state of the datastore.
184
184
  */
185
- readonly maintenanceMode?: pulumi.Input<string>;
185
+ maintenanceMode?: pulumi.Input<string>;
186
186
  /**
187
187
  * If `true`, more than one host in the datacenter has
188
188
  * been configured with access to the datastore.
189
189
  */
190
- readonly multipleHostAccess?: pulumi.Input<boolean>;
190
+ multipleHostAccess?: pulumi.Input<boolean>;
191
191
  /**
192
192
  * The name of the datastore. Forces a new resource if
193
193
  * changed.
194
194
  */
195
- readonly name?: pulumi.Input<string>;
195
+ name?: pulumi.Input<string>;
196
196
  /**
197
197
  * Indicates that this NAS volume is a protocol endpoint.
198
198
  * This field is only populated if the host supports virtual datastores.
199
199
  */
200
- readonly protocolEndpoint?: pulumi.Input<boolean>;
200
+ protocolEndpoint?: pulumi.Input<boolean>;
201
201
  /**
202
202
  * The hostnames or IP addresses of the remote
203
203
  * server or servers. Only one element should be present for NFS v3 but multiple
204
204
  * can be present for NFS v4.1. Forces a new resource if changed.
205
205
  */
206
- readonly remoteHosts?: pulumi.Input<pulumi.Input<string>[]>;
206
+ remoteHosts?: pulumi.Input<pulumi.Input<string>[]>;
207
207
  /**
208
208
  * The remote path of the mount point. Forces a new
209
209
  * resource if changed.
210
210
  */
211
- readonly remotePath?: pulumi.Input<string>;
211
+ remotePath?: pulumi.Input<string>;
212
212
  /**
213
213
  * The security type to use when using NFS v4.1.
214
214
  * Can be one of `AUTH_SYS`, `SEC_KRB5`, or `SEC_KRB5I`. Forces a new resource
215
215
  * if changed.
216
216
  */
217
- readonly securityType?: pulumi.Input<string>;
217
+ securityType?: pulumi.Input<string>;
218
218
  /**
219
219
  * The IDs of any tags to attach to this resource.
220
220
  */
221
- readonly tags?: pulumi.Input<pulumi.Input<string>[]>;
221
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
222
222
  /**
223
223
  * The type of NAS volume. Can be one of `NFS` (to denote
224
224
  * v3) or `NFS41` (to denote NFS v4.1). Default: `NFS`. Forces a new resource if
225
225
  * changed.
226
226
  */
227
- readonly type?: pulumi.Input<string>;
227
+ type?: pulumi.Input<string>;
228
228
  /**
229
229
  * Total additional storage space, in megabytes,
230
230
  * potentially used by all virtual machines on this datastore.
231
231
  */
232
- readonly uncommittedSpace?: pulumi.Input<number>;
232
+ uncommittedSpace?: pulumi.Input<number>;
233
233
  /**
234
234
  * The unique locator for the datastore.
235
235
  */
236
- readonly url?: pulumi.Input<string>;
236
+ url?: pulumi.Input<string>;
237
237
  }
238
238
  /**
239
239
  * The set of arguments for constructing a NasDatastore resource.
@@ -245,12 +245,12 @@ export interface NasDatastoreArgs {
245
245
  * that the datastore will be read-write depending on the permissions of the
246
246
  * actual share. Default: `readWrite`. Forces a new resource if changed.
247
247
  */
248
- readonly accessMode?: pulumi.Input<string>;
248
+ accessMode?: pulumi.Input<string>;
249
249
  /**
250
250
  * Map of custom attribute ids to attribute
251
251
  * value strings to set on datasource resource.
252
252
  */
253
- readonly customAttributes?: pulumi.Input<{
253
+ customAttributes?: pulumi.Input<{
254
254
  [key: string]: pulumi.Input<string>;
255
255
  }>;
256
256
  /**
@@ -258,7 +258,7 @@ export interface NasDatastoreArgs {
258
258
  * ID of a datastore cluster to put this datastore in.
259
259
  * Conflicts with `folder`.
260
260
  */
261
- readonly datastoreClusterId?: pulumi.Input<string>;
261
+ datastoreClusterId?: pulumi.Input<string>;
262
262
  /**
263
263
  * The relative path to a folder to put this datastore in.
264
264
  * This is a path relative to the datacenter you are deploying the datastore to.
@@ -268,42 +268,42 @@ export interface NasDatastoreArgs {
268
268
  * `/dc1/datastore/foo/bar/test`. Conflicts with
269
269
  * `datastoreClusterId`.
270
270
  */
271
- readonly folder?: pulumi.Input<string>;
271
+ folder?: pulumi.Input<string>;
272
272
  /**
273
273
  * The managed object IDs of
274
274
  * the hosts to mount the datastore on.
275
275
  */
276
- readonly hostSystemIds: pulumi.Input<pulumi.Input<string>[]>;
276
+ hostSystemIds: pulumi.Input<pulumi.Input<string>[]>;
277
277
  /**
278
278
  * The name of the datastore. Forces a new resource if
279
279
  * changed.
280
280
  */
281
- readonly name?: pulumi.Input<string>;
281
+ name?: pulumi.Input<string>;
282
282
  /**
283
283
  * The hostnames or IP addresses of the remote
284
284
  * server or servers. Only one element should be present for NFS v3 but multiple
285
285
  * can be present for NFS v4.1. Forces a new resource if changed.
286
286
  */
287
- readonly remoteHosts: pulumi.Input<pulumi.Input<string>[]>;
287
+ remoteHosts: pulumi.Input<pulumi.Input<string>[]>;
288
288
  /**
289
289
  * The remote path of the mount point. Forces a new
290
290
  * resource if changed.
291
291
  */
292
- readonly remotePath: pulumi.Input<string>;
292
+ remotePath: pulumi.Input<string>;
293
293
  /**
294
294
  * The security type to use when using NFS v4.1.
295
295
  * Can be one of `AUTH_SYS`, `SEC_KRB5`, or `SEC_KRB5I`. Forces a new resource
296
296
  * if changed.
297
297
  */
298
- readonly securityType?: pulumi.Input<string>;
298
+ securityType?: pulumi.Input<string>;
299
299
  /**
300
300
  * The IDs of any tags to attach to this resource.
301
301
  */
302
- readonly tags?: pulumi.Input<pulumi.Input<string>[]>;
302
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
303
303
  /**
304
304
  * The type of NAS volume. Can be one of `NFS` (to denote
305
305
  * v3) or `NFS41` (to denote NFS v4.1). Default: `NFS`. Forces a new resource if
306
306
  * changed.
307
307
  */
308
- readonly type?: pulumi.Input<string>;
308
+ type?: pulumi.Input<string>;
309
309
  }
package/nasDatastore.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.NasDatastore = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  class NasDatastore extends pulumi.CustomResource {
@@ -1 +1 @@
1
- {"version":3,"file":"nasDatastore.js","sourceRoot":"","sources":["../nasDatastore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA0InD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,MAAM,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kB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AI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAsMC;AAxLG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/vsphere",
3
- "version": "v4.0.1",
3
+ "version": "v4.1.0",
4
4
  "description": "A Pulumi package for creating vsphere resources",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource vsphere v4.0.1"
14
+ "install": "node scripts/install-pulumi-plugin.js resource vsphere v4.1.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0",
@@ -20,7 +20,8 @@
20
20
  "resolve": "^1.8.1"
21
21
  },
22
22
  "devDependencies": {
23
- "@types/node": "^10.9.2"
23
+ "@types/node": "^10.9.2",
24
+ "typescript": "^4.3.5"
24
25
  },
25
26
  "pulumi": {
26
27
  "resource": true
package/package.json.bak CHANGED
@@ -19,9 +19,10 @@
19
19
  "resolve": "^1.8.1"
20
20
  },
21
21
  "devDependencies": {
22
- "@types/node": "^10.9.2"
22
+ "@types/node": "^10.9.2",
23
+ "typescript": "^4.3.5"
23
24
  },
24
25
  "pulumi": {
25
26
  "resource": true
26
27
  }
27
- }
28
+ }
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/vsphere",
3
- "version": "v4.0.1",
3
+ "version": "v4.1.0",
4
4
  "description": "A Pulumi package for creating vsphere resources",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -19,9 +19,10 @@
19
19
  "resolve": "^1.8.1"
20
20
  },
21
21
  "devDependencies": {
22
- "@types/node": "^10.9.2"
22
+ "@types/node": "^10.9.2",
23
+ "typescript": "^4.3.5"
23
24
  },
24
25
  "pulumi": {
25
26
  "resource": true
26
27
  }
27
- }
28
+ }
package/provider.d.ts CHANGED
@@ -11,6 +11,38 @@ export declare class Provider extends pulumi.ProviderResource {
11
11
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
12
12
  */
13
13
  static isInstance(obj: any): obj is Provider;
14
+ /**
15
+ * govmomi debug path for debug
16
+ */
17
+ readonly clientDebugPath: pulumi.Output<string | undefined>;
18
+ /**
19
+ * govmomi debug path for a single run
20
+ */
21
+ readonly clientDebugPathRun: pulumi.Output<string | undefined>;
22
+ /**
23
+ * The user password for vSphere API operations.
24
+ */
25
+ readonly password: pulumi.Output<string>;
26
+ /**
27
+ * The directory to save vSphere REST API sessions to
28
+ */
29
+ readonly restSessionPath: pulumi.Output<string | undefined>;
30
+ /**
31
+ * The user name for vSphere API operations.
32
+ */
33
+ readonly user: pulumi.Output<string>;
34
+ /**
35
+ * @deprecated This field has been renamed to vsphere_server.
36
+ */
37
+ readonly vcenterServer: pulumi.Output<string | undefined>;
38
+ /**
39
+ * The directory to save vSphere SOAP API sessions to
40
+ */
41
+ readonly vimSessionPath: pulumi.Output<string | undefined>;
42
+ /**
43
+ * The vSphere Server name for vSphere API operations.
44
+ */
45
+ readonly vsphereServer: pulumi.Output<string | undefined>;
14
46
  /**
15
47
  * Create a Provider resource with the given unique name, arguments, and options.
16
48
  *
@@ -27,53 +59,53 @@ export interface ProviderArgs {
27
59
  /**
28
60
  * If set, VMware vSphere client will permit unverifiable SSL certificates.
29
61
  */
30
- readonly allowUnverifiedSsl?: pulumi.Input<boolean>;
62
+ allowUnverifiedSsl?: pulumi.Input<boolean>;
31
63
  /**
32
64
  * API timeout in minutes (Default: 5)
33
65
  */
34
- readonly apiTimeout?: pulumi.Input<number>;
66
+ apiTimeout?: pulumi.Input<number>;
35
67
  /**
36
68
  * govmomi debug
37
69
  */
38
- readonly clientDebug?: pulumi.Input<boolean>;
70
+ clientDebug?: pulumi.Input<boolean>;
39
71
  /**
40
72
  * govmomi debug path for debug
41
73
  */
42
- readonly clientDebugPath?: pulumi.Input<string>;
74
+ clientDebugPath?: pulumi.Input<string>;
43
75
  /**
44
76
  * govmomi debug path for a single run
45
77
  */
46
- readonly clientDebugPathRun?: pulumi.Input<string>;
78
+ clientDebugPathRun?: pulumi.Input<string>;
47
79
  /**
48
80
  * The user password for vSphere API operations.
49
81
  */
50
- readonly password: pulumi.Input<string>;
82
+ password: pulumi.Input<string>;
51
83
  /**
52
84
  * Persist vSphere client sessions to disk
53
85
  */
54
- readonly persistSession?: pulumi.Input<boolean>;
86
+ persistSession?: pulumi.Input<boolean>;
55
87
  /**
56
88
  * The directory to save vSphere REST API sessions to
57
89
  */
58
- readonly restSessionPath?: pulumi.Input<string>;
90
+ restSessionPath?: pulumi.Input<string>;
59
91
  /**
60
92
  * The user name for vSphere API operations.
61
93
  */
62
- readonly user: pulumi.Input<string>;
94
+ user: pulumi.Input<string>;
63
95
  /**
64
96
  * @deprecated This field has been renamed to vsphere_server.
65
97
  */
66
- readonly vcenterServer?: pulumi.Input<string>;
98
+ vcenterServer?: pulumi.Input<string>;
67
99
  /**
68
100
  * Keep alive interval for the VIM session in minutes
69
101
  */
70
- readonly vimKeepAlive?: pulumi.Input<number>;
102
+ vimKeepAlive?: pulumi.Input<number>;
71
103
  /**
72
104
  * The directory to save vSphere SOAP API sessions to
73
105
  */
74
- readonly vimSessionPath?: pulumi.Input<string>;
106
+ vimSessionPath?: pulumi.Input<string>;
75
107
  /**
76
108
  * The vSphere Server name for vSphere API operations.
77
109
  */
78
- readonly vsphereServer?: pulumi.Input<string>;
110
+ vsphereServer?: pulumi.Input<string>;
79
111
  }
package/provider.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.Provider = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -29,18 +30,18 @@ class Provider extends pulumi.ProviderResource {
29
30
  if ((!args || args.user === undefined) && !opts.urn) {
30
31
  throw new Error("Missing required property 'user'");
31
32
  }
32
- inputs["allowUnverifiedSsl"] = pulumi.output((_a = (args ? args.allowUnverifiedSsl : undefined), (_a !== null && _a !== void 0 ? _a : utilities.getEnvBoolean("VSPHERE_ALLOW_UNVERIFIED_SSL")))).apply(JSON.stringify);
33
+ inputs["allowUnverifiedSsl"] = pulumi.output((_a = (args ? args.allowUnverifiedSsl : undefined)) !== null && _a !== void 0 ? _a : utilities.getEnvBoolean("VSPHERE_ALLOW_UNVERIFIED_SSL")).apply(JSON.stringify);
33
34
  inputs["apiTimeout"] = pulumi.output(args ? args.apiTimeout : undefined).apply(JSON.stringify);
34
- inputs["clientDebug"] = pulumi.output((_b = (args ? args.clientDebug : undefined), (_b !== null && _b !== void 0 ? _b : utilities.getEnvBoolean("VSPHERE_CLIENT_DEBUG")))).apply(JSON.stringify);
35
- inputs["clientDebugPath"] = (_c = (args ? args.clientDebugPath : undefined), (_c !== null && _c !== void 0 ? _c : utilities.getEnv("VSPHERE_CLIENT_DEBUG_PATH")));
36
- inputs["clientDebugPathRun"] = (_d = (args ? args.clientDebugPathRun : undefined), (_d !== null && _d !== void 0 ? _d : utilities.getEnv("VSPHERE_CLIENT_DEBUG_PATH_RUN")));
35
+ inputs["clientDebug"] = pulumi.output((_b = (args ? args.clientDebug : undefined)) !== null && _b !== void 0 ? _b : utilities.getEnvBoolean("VSPHERE_CLIENT_DEBUG")).apply(JSON.stringify);
36
+ inputs["clientDebugPath"] = (_c = (args ? args.clientDebugPath : undefined)) !== null && _c !== void 0 ? _c : utilities.getEnv("VSPHERE_CLIENT_DEBUG_PATH");
37
+ inputs["clientDebugPathRun"] = (_d = (args ? args.clientDebugPathRun : undefined)) !== null && _d !== void 0 ? _d : utilities.getEnv("VSPHERE_CLIENT_DEBUG_PATH_RUN");
37
38
  inputs["password"] = args ? args.password : undefined;
38
- inputs["persistSession"] = pulumi.output((_e = (args ? args.persistSession : undefined), (_e !== null && _e !== void 0 ? _e : utilities.getEnvBoolean("VSPHERE_PERSIST_SESSION")))).apply(JSON.stringify);
39
- inputs["restSessionPath"] = (_f = (args ? args.restSessionPath : undefined), (_f !== null && _f !== void 0 ? _f : utilities.getEnv("VSPHERE_REST_SESSION_PATH")));
39
+ inputs["persistSession"] = pulumi.output((_e = (args ? args.persistSession : undefined)) !== null && _e !== void 0 ? _e : utilities.getEnvBoolean("VSPHERE_PERSIST_SESSION")).apply(JSON.stringify);
40
+ inputs["restSessionPath"] = (_f = (args ? args.restSessionPath : undefined)) !== null && _f !== void 0 ? _f : utilities.getEnv("VSPHERE_REST_SESSION_PATH");
40
41
  inputs["user"] = args ? args.user : undefined;
41
42
  inputs["vcenterServer"] = args ? args.vcenterServer : undefined;
42
- inputs["vimKeepAlive"] = pulumi.output((_g = (args ? args.vimKeepAlive : undefined), (_g !== null && _g !== void 0 ? _g : utilities.getEnvNumber("VSPHERE_VIM_KEEP_ALIVE")))).apply(JSON.stringify);
43
- inputs["vimSessionPath"] = (_h = (args ? args.vimSessionPath : undefined), (_h !== null && _h !== void 0 ? _h : utilities.getEnv("VSPHERE_VIM_SESSION_PATH")));
43
+ inputs["vimKeepAlive"] = pulumi.output((_g = (args ? args.vimKeepAlive : undefined)) !== null && _g !== void 0 ? _g : utilities.getEnvNumber("VSPHERE_VIM_KEEP_ALIVE")).apply(JSON.stringify);
44
+ inputs["vimSessionPath"] = (_h = (args ? args.vimSessionPath : undefined)) !== null && _h !== void 0 ? _h : utilities.getEnv("VSPHERE_VIM_SESSION_PATH");
44
45
  inputs["vsphereServer"] = args ? args.vsphereServer : undefined;
45
46
  }
46
47
  if (!opts.version) {
package/provider.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names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AAC,GAAG,MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC;YACpH,MAAM,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;IA/ED;;;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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAbL,4BAoFC;AAnFG,gBAAgB;AACO,qBAAY,GAAG,SAAS,CAAC"}
package/resourcePool.d.ts CHANGED
@@ -117,18 +117,18 @@ export interface ResourcePoolState {
117
117
  * pool can grow beyond the specified value if the parent resource pool has
118
118
  * unreserved resources. Default: `true`
119
119
  */
120
- readonly cpuExpandable?: pulumi.Input<boolean>;
120
+ cpuExpandable?: pulumi.Input<boolean>;
121
121
  /**
122
122
  * The CPU utilization of a resource pool will not exceed
123
123
  * this limit, even if there are available resources. Set to `-1` for unlimited.
124
124
  * Default: `-1`
125
125
  */
126
- readonly cpuLimit?: pulumi.Input<number>;
126
+ cpuLimit?: pulumi.Input<number>;
127
127
  /**
128
128
  * Amount of CPU (MHz) that is guaranteed
129
129
  * available to the resource pool. Default: `0`
130
130
  */
131
- readonly cpuReservation?: pulumi.Input<number>;
131
+ cpuReservation?: pulumi.Input<number>;
132
132
  /**
133
133
  * The CPU allocation level. The level is a
134
134
  * simplified view of shares. Levels map to a pre-determined set of numeric
@@ -136,17 +136,17 @@ export interface ResourcePoolState {
136
136
  * `low`, `normal`, or `high` are specified values in `cpuShares` will be
137
137
  * ignored. Default: `normal`
138
138
  */
139
- readonly cpuShareLevel?: pulumi.Input<string>;
139
+ cpuShareLevel?: pulumi.Input<string>;
140
140
  /**
141
141
  * The number of shares allocated for CPU. Used to
142
142
  * determine resource allocation in case of resource contention. If this is set,
143
143
  * `cpuShareLevel` must be `custom`.
144
144
  */
145
- readonly cpuShares?: pulumi.Input<number>;
145
+ cpuShares?: pulumi.Input<number>;
146
146
  /**
147
147
  * A list of custom attributes to set on this resource.
148
148
  */
149
- readonly customAttributes?: pulumi.Input<{
149
+ customAttributes?: pulumi.Input<{
150
150
  [key: string]: pulumi.Input<string>;
151
151
  }>;
152
152
  /**
@@ -154,18 +154,18 @@ export interface ResourcePoolState {
154
154
  * pool can grow beyond the specified value if the parent resource pool has
155
155
  * unreserved resources. Default: `true`
156
156
  */
157
- readonly memoryExpandable?: pulumi.Input<boolean>;
157
+ memoryExpandable?: pulumi.Input<boolean>;
158
158
  /**
159
159
  * The CPU utilization of a resource pool will not exceed
160
160
  * this limit, even if there are available resources. Set to `-1` for unlimited.
161
161
  * Default: `-1`
162
162
  */
163
- readonly memoryLimit?: pulumi.Input<number>;
163
+ memoryLimit?: pulumi.Input<number>;
164
164
  /**
165
165
  * Amount of CPU (MHz) that is guaranteed
166
166
  * available to the resource pool. Default: `0`
167
167
  */
168
- readonly memoryReservation?: pulumi.Input<number>;
168
+ memoryReservation?: pulumi.Input<number>;
169
169
  /**
170
170
  * The CPU allocation level. The level is a
171
171
  * simplified view of shares. Levels map to a pre-determined set of numeric
@@ -173,17 +173,17 @@ export interface ResourcePoolState {
173
173
  * `low`, `normal`, or `high` are specified values in `memoryShares` will be
174
174
  * ignored. Default: `normal`
175
175
  */
176
- readonly memoryShareLevel?: pulumi.Input<string>;
176
+ memoryShareLevel?: pulumi.Input<string>;
177
177
  /**
178
178
  * The number of shares allocated for CPU. Used to
179
179
  * determine resource allocation in case of resource contention. If this is set,
180
180
  * `memoryShareLevel` must be `custom`.
181
181
  */
182
- readonly memoryShares?: pulumi.Input<number>;
182
+ memoryShares?: pulumi.Input<number>;
183
183
  /**
184
184
  * The name of the resource pool.
185
185
  */
186
- readonly name?: pulumi.Input<string>;
186
+ name?: pulumi.Input<string>;
187
187
  /**
188
188
  * The managed object ID
189
189
  * of the parent resource pool. This can be the root resource pool for a cluster
@@ -191,11 +191,11 @@ export interface ResourcePoolState {
191
191
  * from one parent resource pool to another, both must share a common root
192
192
  * resource pool or the move will fail.
193
193
  */
194
- readonly parentResourcePoolId?: pulumi.Input<string>;
194
+ parentResourcePoolId?: pulumi.Input<string>;
195
195
  /**
196
196
  * The IDs of any tags to attach to this resource.
197
197
  */
198
- readonly tags?: pulumi.Input<pulumi.Input<string>[]>;
198
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
199
199
  }
200
200
  /**
201
201
  * The set of arguments for constructing a ResourcePool resource.
@@ -206,18 +206,18 @@ export interface ResourcePoolArgs {
206
206
  * pool can grow beyond the specified value if the parent resource pool has
207
207
  * unreserved resources. Default: `true`
208
208
  */
209
- readonly cpuExpandable?: pulumi.Input<boolean>;
209
+ cpuExpandable?: pulumi.Input<boolean>;
210
210
  /**
211
211
  * The CPU utilization of a resource pool will not exceed
212
212
  * this limit, even if there are available resources. Set to `-1` for unlimited.
213
213
  * Default: `-1`
214
214
  */
215
- readonly cpuLimit?: pulumi.Input<number>;
215
+ cpuLimit?: pulumi.Input<number>;
216
216
  /**
217
217
  * Amount of CPU (MHz) that is guaranteed
218
218
  * available to the resource pool. Default: `0`
219
219
  */
220
- readonly cpuReservation?: pulumi.Input<number>;
220
+ cpuReservation?: pulumi.Input<number>;
221
221
  /**
222
222
  * The CPU allocation level. The level is a
223
223
  * simplified view of shares. Levels map to a pre-determined set of numeric
@@ -225,17 +225,17 @@ export interface ResourcePoolArgs {
225
225
  * `low`, `normal`, or `high` are specified values in `cpuShares` will be
226
226
  * ignored. Default: `normal`
227
227
  */
228
- readonly cpuShareLevel?: pulumi.Input<string>;
228
+ cpuShareLevel?: pulumi.Input<string>;
229
229
  /**
230
230
  * The number of shares allocated for CPU. Used to
231
231
  * determine resource allocation in case of resource contention. If this is set,
232
232
  * `cpuShareLevel` must be `custom`.
233
233
  */
234
- readonly cpuShares?: pulumi.Input<number>;
234
+ cpuShares?: pulumi.Input<number>;
235
235
  /**
236
236
  * A list of custom attributes to set on this resource.
237
237
  */
238
- readonly customAttributes?: pulumi.Input<{
238
+ customAttributes?: pulumi.Input<{
239
239
  [key: string]: pulumi.Input<string>;
240
240
  }>;
241
241
  /**
@@ -243,18 +243,18 @@ export interface ResourcePoolArgs {
243
243
  * pool can grow beyond the specified value if the parent resource pool has
244
244
  * unreserved resources. Default: `true`
245
245
  */
246
- readonly memoryExpandable?: pulumi.Input<boolean>;
246
+ memoryExpandable?: pulumi.Input<boolean>;
247
247
  /**
248
248
  * The CPU utilization of a resource pool will not exceed
249
249
  * this limit, even if there are available resources. Set to `-1` for unlimited.
250
250
  * Default: `-1`
251
251
  */
252
- readonly memoryLimit?: pulumi.Input<number>;
252
+ memoryLimit?: pulumi.Input<number>;
253
253
  /**
254
254
  * Amount of CPU (MHz) that is guaranteed
255
255
  * available to the resource pool. Default: `0`
256
256
  */
257
- readonly memoryReservation?: pulumi.Input<number>;
257
+ memoryReservation?: pulumi.Input<number>;
258
258
  /**
259
259
  * The CPU allocation level. The level is a
260
260
  * simplified view of shares. Levels map to a pre-determined set of numeric
@@ -262,17 +262,17 @@ export interface ResourcePoolArgs {
262
262
  * `low`, `normal`, or `high` are specified values in `memoryShares` will be
263
263
  * ignored. Default: `normal`
264
264
  */
265
- readonly memoryShareLevel?: pulumi.Input<string>;
265
+ memoryShareLevel?: pulumi.Input<string>;
266
266
  /**
267
267
  * The number of shares allocated for CPU. Used to
268
268
  * determine resource allocation in case of resource contention. If this is set,
269
269
  * `memoryShareLevel` must be `custom`.
270
270
  */
271
- readonly memoryShares?: pulumi.Input<number>;
271
+ memoryShares?: pulumi.Input<number>;
272
272
  /**
273
273
  * The name of the resource pool.
274
274
  */
275
- readonly name?: pulumi.Input<string>;
275
+ name?: pulumi.Input<string>;
276
276
  /**
277
277
  * The managed object ID
278
278
  * of the parent resource pool. This can be the root resource pool for a cluster
@@ -280,9 +280,9 @@ export interface ResourcePoolArgs {
280
280
  * from one parent resource pool to another, both must share a common root
281
281
  * resource pool or the move will fail.
282
282
  */
283
- readonly parentResourcePoolId: pulumi.Input<string>;
283
+ parentResourcePoolId: pulumi.Input<string>;
284
284
  /**
285
285
  * The IDs of any tags to attach to this resource.
286
286
  */
287
- readonly tags?: pulumi.Input<pulumi.Input<string>[]>;
287
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
288
288
  }
package/resourcePool.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.ResourcePool = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  class ResourcePool extends pulumi.CustomResource {