@pulumi/vsphere 4.10.1 → 4.10.2-alpha.1720054582

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 (91) hide show
  1. package/computeCluster.d.ts +12 -0
  2. package/computeCluster.js +2 -0
  3. package/computeCluster.js.map +1 -1
  4. package/computeClusterVmAffinityRule.d.ts +0 -2
  5. package/computeClusterVmAffinityRule.js +0 -2
  6. package/computeClusterVmAffinityRule.js.map +1 -1
  7. package/datacenter.d.ts +0 -9
  8. package/datacenter.js.map +1 -1
  9. package/datastoreCluster.d.ts +0 -6
  10. package/datastoreCluster.js.map +1 -1
  11. package/distributedPortGroup.d.ts +24 -3
  12. package/distributedPortGroup.js.map +1 -1
  13. package/distributedVirtualSwitch.d.ts +3 -12
  14. package/distributedVirtualSwitch.js.map +1 -1
  15. package/entityPermissions.d.ts +24 -15
  16. package/entityPermissions.js.map +1 -1
  17. package/folder.d.ts +0 -9
  18. package/folder.js.map +1 -1
  19. package/getComputeClusterHostGroup.d.ts +20 -18
  20. package/getComputeClusterHostGroup.js +14 -14
  21. package/getComputeClusterHostGroup.js.map +1 -1
  22. package/getContentLibrary.d.ts +10 -6
  23. package/getContentLibrary.js +10 -6
  24. package/getContentLibrary.js.map +1 -1
  25. package/getContentLibraryItem.d.ts +12 -8
  26. package/getContentLibraryItem.js +4 -4
  27. package/getContentLibraryItem.js.map +1 -1
  28. package/getDatastore.d.ts +9 -9
  29. package/getDatastoreStats.d.ts +34 -32
  30. package/getDatastoreStats.js +12 -12
  31. package/getDatastoreStats.js.map +1 -1
  32. package/getDynamic.d.ts +14 -12
  33. package/getDynamic.js +8 -6
  34. package/getDynamic.js.map +1 -1
  35. package/getFolder.d.ts +10 -2
  36. package/getFolder.js +10 -2
  37. package/getFolder.js.map +1 -1
  38. package/getGuestOsCustomization.d.ts +8 -47
  39. package/getGuestOsCustomization.js +4 -30
  40. package/getGuestOsCustomization.js.map +1 -1
  41. package/getHostBaseImages.d.ts +42 -0
  42. package/getHostBaseImages.js +43 -0
  43. package/getHostBaseImages.js.map +1 -0
  44. package/getHostPciDevice.d.ts +4 -2
  45. package/getHostPciDevice.js.map +1 -1
  46. package/getHostThumbprint.d.ts +12 -12
  47. package/getHostThumbprint.js +8 -8
  48. package/getHostVgpuProfile.d.ts +4 -2
  49. package/getHostVgpuProfile.js.map +1 -1
  50. package/getLicense.d.ts +2 -1
  51. package/getLicense.js.map +1 -1
  52. package/getNetwork.d.ts +14 -14
  53. package/getNetwork.js +10 -10
  54. package/getResourcePool.d.ts +12 -8
  55. package/getResourcePool.js +12 -8
  56. package/getResourcePool.js.map +1 -1
  57. package/getRole.d.ts +4 -4
  58. package/getRole.js +4 -4
  59. package/getVirtualMachine.d.ts +48 -32
  60. package/getVirtualMachine.js +6 -4
  61. package/getVirtualMachine.js.map +1 -1
  62. package/guestOsCustomization.d.ts +2 -2
  63. package/guestOsCustomization.js +2 -2
  64. package/index.d.ts +12 -0
  65. package/index.js +21 -2
  66. package/index.js.map +1 -1
  67. package/nasDatastore.d.ts +3 -3
  68. package/offlineSoftwareDepot.d.ts +63 -0
  69. package/offlineSoftwareDepot.js +59 -0
  70. package/offlineSoftwareDepot.js.map +1 -0
  71. package/package.json +3 -2
  72. package/resourcePool.d.ts +1 -1
  73. package/resourcePool.js +1 -1
  74. package/supervisor.d.ts +292 -0
  75. package/supervisor.js +178 -0
  76. package/supervisor.js.map +1 -0
  77. package/types/input.d.ts +124 -3
  78. package/types/output.d.ts +144 -18
  79. package/virtualDisk.d.ts +3 -3
  80. package/virtualMachine.d.ts +2 -2
  81. package/virtualMachineClass.d.ts +143 -0
  82. package/virtualMachineClass.js +100 -0
  83. package/virtualMachineClass.js.map +1 -0
  84. package/virtualMachineSnapshot.d.ts +1 -1
  85. package/virtualMachineSnapshot.js +1 -1
  86. package/vmStoragePolicy.d.ts +1 -1
  87. package/vmStoragePolicy.js +1 -1
  88. package/vnic.d.ts +34 -36
  89. package/vnic.js +31 -33
  90. package/vnic.js.map +1 -1
  91. package/package.json.bak +0 -29
package/supervisor.js ADDED
@@ -0,0 +1,178 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Supervisor = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a resource for configuring Workload Management.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### S
14
+ *
15
+ * **Enable Workload Management on a compute cluster**
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as vsphere from "@pulumi/vsphere";
20
+ *
21
+ * const vmClass = new vsphere.VirtualMachineClass("vm_class", {
22
+ * name: "custom-class",
23
+ * cpus: 4,
24
+ * memory: 4096,
25
+ * });
26
+ * const supervisor = new vsphere.Supervisor("supervisor", {
27
+ * cluster: "<compute_cluster_id>",
28
+ * storagePolicy: "<storage_policy_name>",
29
+ * contentLibrary: "<content_library_id>",
30
+ * mainDns: "10.0.0.250",
31
+ * workerDns: "10.0.0.250",
32
+ * edgeCluster: "<edge_cluster_id>",
33
+ * dvsUuid: "<distributed_switch_uuid>",
34
+ * sizingHint: "MEDIUM",
35
+ * managementNetwork: {
36
+ * network: "<portgroup_id>",
37
+ * subnetMask: "255.255.255.0",
38
+ * startingAddress: "10.0.0.150",
39
+ * gateway: "10.0.0.250",
40
+ * addressCount: 5,
41
+ * },
42
+ * ingressCidrs: [{
43
+ * address: "10.10.10.0",
44
+ * prefix: 24,
45
+ * }],
46
+ * egressCidrs: [{
47
+ * address: "10.10.11.0",
48
+ * prefix: 24,
49
+ * }],
50
+ * podCidrs: [{
51
+ * address: "10.244.10.0",
52
+ * prefix: 23,
53
+ * }],
54
+ * serviceCidr: {
55
+ * address: "10.10.12.0",
56
+ * prefix: 24,
57
+ * },
58
+ * searchDomains: "vsphere.local",
59
+ * namespaces: [{
60
+ * name: "custom-namespace",
61
+ * contentLibraries: [],
62
+ * vmClasses: [vmClass.id],
63
+ * }],
64
+ * });
65
+ * ```
66
+ */
67
+ class Supervisor extends pulumi.CustomResource {
68
+ /**
69
+ * Get an existing Supervisor resource's state with the given name, ID, and optional extra
70
+ * properties used to qualify the lookup.
71
+ *
72
+ * @param name The _unique_ name of the resulting resource.
73
+ * @param id The _unique_ provider ID of the resource to lookup.
74
+ * @param state Any extra arguments used during the lookup.
75
+ * @param opts Optional settings to control the behavior of the CustomResource.
76
+ */
77
+ static get(name, id, state, opts) {
78
+ return new Supervisor(name, state, Object.assign(Object.assign({}, opts), { id: id }));
79
+ }
80
+ /**
81
+ * Returns true if the given object is an instance of Supervisor. This is designed to work even
82
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
83
+ */
84
+ static isInstance(obj) {
85
+ if (obj === undefined || obj === null) {
86
+ return false;
87
+ }
88
+ return obj['__pulumiType'] === Supervisor.__pulumiType;
89
+ }
90
+ constructor(name, argsOrState, opts) {
91
+ let resourceInputs = {};
92
+ opts = opts || {};
93
+ if (opts.id) {
94
+ const state = argsOrState;
95
+ resourceInputs["cluster"] = state ? state.cluster : undefined;
96
+ resourceInputs["contentLibrary"] = state ? state.contentLibrary : undefined;
97
+ resourceInputs["dvsUuid"] = state ? state.dvsUuid : undefined;
98
+ resourceInputs["edgeCluster"] = state ? state.edgeCluster : undefined;
99
+ resourceInputs["egressCidrs"] = state ? state.egressCidrs : undefined;
100
+ resourceInputs["ingressCidrs"] = state ? state.ingressCidrs : undefined;
101
+ resourceInputs["mainDns"] = state ? state.mainDns : undefined;
102
+ resourceInputs["managementNetwork"] = state ? state.managementNetwork : undefined;
103
+ resourceInputs["namespaces"] = state ? state.namespaces : undefined;
104
+ resourceInputs["podCidrs"] = state ? state.podCidrs : undefined;
105
+ resourceInputs["searchDomains"] = state ? state.searchDomains : undefined;
106
+ resourceInputs["serviceCidr"] = state ? state.serviceCidr : undefined;
107
+ resourceInputs["sizingHint"] = state ? state.sizingHint : undefined;
108
+ resourceInputs["storagePolicy"] = state ? state.storagePolicy : undefined;
109
+ resourceInputs["workerDns"] = state ? state.workerDns : undefined;
110
+ }
111
+ else {
112
+ const args = argsOrState;
113
+ if ((!args || args.cluster === undefined) && !opts.urn) {
114
+ throw new Error("Missing required property 'cluster'");
115
+ }
116
+ if ((!args || args.contentLibrary === undefined) && !opts.urn) {
117
+ throw new Error("Missing required property 'contentLibrary'");
118
+ }
119
+ if ((!args || args.dvsUuid === undefined) && !opts.urn) {
120
+ throw new Error("Missing required property 'dvsUuid'");
121
+ }
122
+ if ((!args || args.edgeCluster === undefined) && !opts.urn) {
123
+ throw new Error("Missing required property 'edgeCluster'");
124
+ }
125
+ if ((!args || args.egressCidrs === undefined) && !opts.urn) {
126
+ throw new Error("Missing required property 'egressCidrs'");
127
+ }
128
+ if ((!args || args.ingressCidrs === undefined) && !opts.urn) {
129
+ throw new Error("Missing required property 'ingressCidrs'");
130
+ }
131
+ if ((!args || args.mainDns === undefined) && !opts.urn) {
132
+ throw new Error("Missing required property 'mainDns'");
133
+ }
134
+ if ((!args || args.managementNetwork === undefined) && !opts.urn) {
135
+ throw new Error("Missing required property 'managementNetwork'");
136
+ }
137
+ if ((!args || args.podCidrs === undefined) && !opts.urn) {
138
+ throw new Error("Missing required property 'podCidrs'");
139
+ }
140
+ if ((!args || args.searchDomains === undefined) && !opts.urn) {
141
+ throw new Error("Missing required property 'searchDomains'");
142
+ }
143
+ if ((!args || args.serviceCidr === undefined) && !opts.urn) {
144
+ throw new Error("Missing required property 'serviceCidr'");
145
+ }
146
+ if ((!args || args.sizingHint === undefined) && !opts.urn) {
147
+ throw new Error("Missing required property 'sizingHint'");
148
+ }
149
+ if ((!args || args.storagePolicy === undefined) && !opts.urn) {
150
+ throw new Error("Missing required property 'storagePolicy'");
151
+ }
152
+ if ((!args || args.workerDns === undefined) && !opts.urn) {
153
+ throw new Error("Missing required property 'workerDns'");
154
+ }
155
+ resourceInputs["cluster"] = args ? args.cluster : undefined;
156
+ resourceInputs["contentLibrary"] = args ? args.contentLibrary : undefined;
157
+ resourceInputs["dvsUuid"] = args ? args.dvsUuid : undefined;
158
+ resourceInputs["edgeCluster"] = args ? args.edgeCluster : undefined;
159
+ resourceInputs["egressCidrs"] = args ? args.egressCidrs : undefined;
160
+ resourceInputs["ingressCidrs"] = args ? args.ingressCidrs : undefined;
161
+ resourceInputs["mainDns"] = args ? args.mainDns : undefined;
162
+ resourceInputs["managementNetwork"] = args ? args.managementNetwork : undefined;
163
+ resourceInputs["namespaces"] = args ? args.namespaces : undefined;
164
+ resourceInputs["podCidrs"] = args ? args.podCidrs : undefined;
165
+ resourceInputs["searchDomains"] = args ? args.searchDomains : undefined;
166
+ resourceInputs["serviceCidr"] = args ? args.serviceCidr : undefined;
167
+ resourceInputs["sizingHint"] = args ? args.sizingHint : undefined;
168
+ resourceInputs["storagePolicy"] = args ? args.storagePolicy : undefined;
169
+ resourceInputs["workerDns"] = args ? args.workerDns : undefined;
170
+ }
171
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
172
+ super(Supervisor.__pulumiType, name, resourceInputs, opts);
173
+ }
174
+ }
175
+ exports.Supervisor = Supervisor;
176
+ /** @internal */
177
+ Supervisor.__pulumiType = 'vsphere:index/supervisor:Supervisor';
178
+ //# sourceMappingURL=supervisor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supervisor.js","sourceRoot":"","sources":["../supervisor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,E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AS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAxLL,gCAyLC;AA3KG,gBAAgB;AACO,uBAAY,GAAG,qCAAqC,CAAC"}
package/types/input.d.ts CHANGED
@@ -1,5 +1,25 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
+ export interface ComputeClusterHostImage {
4
+ /**
5
+ * List of custom components.
6
+ */
7
+ components?: pulumi.Input<pulumi.Input<inputs.ComputeClusterHostImageComponent>[]>;
8
+ /**
9
+ * The ESXi version which the image is based on.
10
+ */
11
+ esxVersion?: pulumi.Input<string>;
12
+ }
13
+ export interface ComputeClusterHostImageComponent {
14
+ /**
15
+ * The identifier for the component.
16
+ */
17
+ key?: pulumi.Input<string>;
18
+ /**
19
+ * The version to use.
20
+ */
21
+ version?: pulumi.Input<string>;
22
+ }
3
23
  export interface ComputeClusterVsanDiskGroup {
4
24
  /**
5
25
  * Cache disk.
@@ -142,15 +162,18 @@ export interface DistributedVirtualSwitchVlanRange {
142
162
  }
143
163
  export interface EntityPermissionsPermission {
144
164
  /**
145
- * Whether userOrGroup field refers to a user or a group. True for a group and false for a user.
165
+ * Whether `userOrGroup` field refers to a user or a
166
+ * group. True for a group and false for a user.
146
167
  */
147
168
  isGroup: pulumi.Input<boolean>;
148
169
  /**
149
- * Whether or not this permission propagates down the hierarchy to sub-entities.
170
+ * Whether or not this permission propagates down the
171
+ * hierarchy to sub-entities.
150
172
  */
151
173
  propagate: pulumi.Input<boolean>;
152
174
  /**
153
- * The role id of the role to be given to the user on the specified entity.
175
+ * The role id of the role to be given to the user on
176
+ * the specified entity.
154
177
  */
155
178
  roleId: pulumi.Input<string>;
156
179
  /**
@@ -281,6 +304,10 @@ export interface GuestOsCustomizationSpecWindowsOptions {
281
304
  * The user account of the domain administrator used to join this virtual machine to the domain.
282
305
  */
283
306
  domainAdminUser?: pulumi.Input<string>;
307
+ /**
308
+ * The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
309
+ */
310
+ domainOu?: pulumi.Input<string>;
284
311
  /**
285
312
  * The full name of the user of this virtual machine.
286
313
  */
@@ -324,6 +351,96 @@ export interface HostPortGroupPort {
324
351
  */
325
352
  type?: pulumi.Input<string>;
326
353
  }
354
+ export interface OfflineSoftwareDepotComponent {
355
+ /**
356
+ * The name of the component. Useful for easier identification.
357
+ */
358
+ displayName?: pulumi.Input<string>;
359
+ /**
360
+ * The identifier of the component.
361
+ */
362
+ key?: pulumi.Input<string>;
363
+ /**
364
+ * The list of available versions of the component.
365
+ */
366
+ versions?: pulumi.Input<pulumi.Input<string>[]>;
367
+ }
368
+ export interface SupervisorEgressCidr {
369
+ /**
370
+ * Network address.
371
+ */
372
+ address: pulumi.Input<string>;
373
+ /**
374
+ * Subnet prefix.
375
+ */
376
+ prefix: pulumi.Input<number>;
377
+ }
378
+ export interface SupervisorIngressCidr {
379
+ /**
380
+ * Network address.
381
+ */
382
+ address: pulumi.Input<string>;
383
+ /**
384
+ * Subnet prefix.
385
+ */
386
+ prefix: pulumi.Input<number>;
387
+ }
388
+ export interface SupervisorManagementNetwork {
389
+ /**
390
+ * Number of addresses to allocate. Starts from 'starting_address'
391
+ */
392
+ addressCount: pulumi.Input<number>;
393
+ /**
394
+ * Gateway IP address.
395
+ */
396
+ gateway: pulumi.Input<string>;
397
+ /**
398
+ * ID of the network. (e.g. a distributed port group).
399
+ */
400
+ network: pulumi.Input<string>;
401
+ /**
402
+ * Starting address of the management network range.
403
+ */
404
+ startingAddress: pulumi.Input<string>;
405
+ /**
406
+ * Subnet mask.
407
+ */
408
+ subnetMask: pulumi.Input<string>;
409
+ }
410
+ export interface SupervisorNamespace {
411
+ /**
412
+ * A list of content libraries.
413
+ */
414
+ contentLibraries?: pulumi.Input<pulumi.Input<string>[]>;
415
+ /**
416
+ * The name of the namespace.
417
+ */
418
+ name: pulumi.Input<string>;
419
+ /**
420
+ * A list of virtual machine classes.
421
+ */
422
+ vmClasses?: pulumi.Input<pulumi.Input<string>[]>;
423
+ }
424
+ export interface SupervisorPodCidr {
425
+ /**
426
+ * Network address.
427
+ */
428
+ address: pulumi.Input<string>;
429
+ /**
430
+ * Subnet prefix.
431
+ */
432
+ prefix: pulumi.Input<number>;
433
+ }
434
+ export interface SupervisorServiceCidr {
435
+ /**
436
+ * Network address.
437
+ */
438
+ address: pulumi.Input<string>;
439
+ /**
440
+ * Subnet prefix.
441
+ */
442
+ prefix: pulumi.Input<number>;
443
+ }
327
444
  export interface VirtualMachineCdrom {
328
445
  /**
329
446
  * Indicates whether the device should be mapped to a remote client device
@@ -501,6 +618,10 @@ export interface VirtualMachineCloneCustomizeWindowsOptions {
501
618
  * The user account of the domain administrator used to join this virtual machine to the domain.
502
619
  */
503
620
  domainAdminUser?: pulumi.Input<string>;
621
+ /**
622
+ * The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
623
+ */
624
+ domainOu?: pulumi.Input<string>;
504
625
  /**
505
626
  * The full name of the user of this virtual machine.
506
627
  */
package/types/output.d.ts CHANGED
@@ -1,4 +1,24 @@
1
1
  import * as outputs from "../types/output";
2
+ export interface ComputeClusterHostImage {
3
+ /**
4
+ * List of custom components.
5
+ */
6
+ components?: outputs.ComputeClusterHostImageComponent[];
7
+ /**
8
+ * The ESXi version which the image is based on.
9
+ */
10
+ esxVersion?: string;
11
+ }
12
+ export interface ComputeClusterHostImageComponent {
13
+ /**
14
+ * The identifier for the component.
15
+ */
16
+ key?: string;
17
+ /**
18
+ * The version to use.
19
+ */
20
+ version?: string;
21
+ }
2
22
  export interface ComputeClusterVsanDiskGroup {
3
23
  /**
4
24
  * Cache disk.
@@ -141,15 +161,18 @@ export interface DistributedVirtualSwitchVlanRange {
141
161
  }
142
162
  export interface EntityPermissionsPermission {
143
163
  /**
144
- * Whether userOrGroup field refers to a user or a group. True for a group and false for a user.
164
+ * Whether `userOrGroup` field refers to a user or a
165
+ * group. True for a group and false for a user.
145
166
  */
146
167
  isGroup: boolean;
147
168
  /**
148
- * Whether or not this permission propagates down the hierarchy to sub-entities.
169
+ * Whether or not this permission propagates down the
170
+ * hierarchy to sub-entities.
149
171
  */
150
172
  propagate: boolean;
151
173
  /**
152
- * The role id of the role to be given to the user on the specified entity.
174
+ * The role id of the role to be given to the user on
175
+ * the specified entity.
153
176
  */
154
177
  roleId: string;
155
178
  /**
@@ -256,6 +279,10 @@ export interface GetGuestOsCustomizationSpecWindowsOption {
256
279
  * The user account of the domain administrator used to join this virtual machine to the domain.
257
280
  */
258
281
  domainAdminUser: string;
282
+ /**
283
+ * The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
284
+ */
285
+ domainOu: string;
259
286
  /**
260
287
  * The Active Directory domain for the virtual machine to join.
261
288
  */
@@ -280,22 +307,23 @@ export interface GetHostVgpuProfileVgpuProfile {
280
307
  */
281
308
  diskSnapshotSupported: boolean;
282
309
  /**
283
- * Indicates whether the GPU plugin on this host is
284
- * capable of memory snapshots.
310
+ * Indicates whether the GPU plugin on this host
311
+ * is capable of memory snapshots.
285
312
  */
286
313
  memorySnapshotSupported: boolean;
287
314
  /**
288
- * Indicates whether the GPU plugin on this host is capable
289
- * of migration.
315
+ * Indicates whether the GPU plugin on this host is
316
+ * capable of migration.
290
317
  */
291
318
  migrateSupported: boolean;
292
319
  /**
293
- * Indicates whether the GPU plugin on this host is capable
294
- * of suspend-resume.
320
+ * Indicates whether the GPU plugin on this host is
321
+ * capable of suspend-resume.
295
322
  */
296
323
  suspendSupported: boolean;
297
324
  /**
298
- * Name of a particular vGPU available as a shared GPU device (vGPU profile).
325
+ * Name of a particular vGPU available as a shared GPU device (vGPU
326
+ * profile).
299
327
  */
300
328
  vgpu: string;
301
329
  }
@@ -324,8 +352,8 @@ export interface GetVirtualMachineDisk {
324
352
  export interface GetVirtualMachineNetworkInterface {
325
353
  /**
326
354
  * The network interface types for each network interface found
327
- * on the virtual machine, in device bus order. Will be one of `e1000`, `e1000e`,
328
- * `vmxnet3vrdma`, or `vmxnet3`.
355
+ * on the virtual machine, in device bus order. Will be one of `e1000`,
356
+ * `e1000e`, `vmxnet3vrdma`, or `vmxnet3`.
329
357
  */
330
358
  adapterType: string;
331
359
  /**
@@ -334,8 +362,8 @@ export interface GetVirtualMachineNetworkInterface {
334
362
  */
335
363
  bandwidthLimit?: number;
336
364
  /**
337
- * The bandwidth reservation of this network interface,
338
- * in Mbits/sec.
365
+ * The bandwidth reservation of this network
366
+ * interface, in Mbits/sec.
339
367
  */
340
368
  bandwidthReservation?: number;
341
369
  /**
@@ -344,8 +372,8 @@ export interface GetVirtualMachineNetworkInterface {
344
372
  */
345
373
  bandwidthShareCount: number;
346
374
  /**
347
- * The bandwidth share allocation level for this interface.
348
- * Can be one of `low`, `normal`, `high`, or `custom`.
375
+ * The bandwidth share allocation level for this
376
+ * interface. Can be one of `low`, `normal`, `high`, or `custom`.
349
377
  */
350
378
  bandwidthShareLevel?: string;
351
379
  /**
@@ -353,8 +381,8 @@ export interface GetVirtualMachineNetworkInterface {
353
381
  */
354
382
  macAddress: string;
355
383
  /**
356
- * The managed object reference ID of the network this interface is
357
- * connected to.
384
+ * The managed object reference ID of the network this interface
385
+ * is connected to.
358
386
  */
359
387
  networkId: string;
360
388
  /**
@@ -477,6 +505,10 @@ export interface GuestOsCustomizationSpecWindowsOptions {
477
505
  * The user account of the domain administrator used to join this virtual machine to the domain.
478
506
  */
479
507
  domainAdminUser?: string;
508
+ /**
509
+ * The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
510
+ */
511
+ domainOu?: string;
480
512
  /**
481
513
  * The full name of the user of this virtual machine.
482
514
  */
@@ -520,6 +552,96 @@ export interface HostPortGroupPort {
520
552
  */
521
553
  type: string;
522
554
  }
555
+ export interface OfflineSoftwareDepotComponent {
556
+ /**
557
+ * The name of the component. Useful for easier identification.
558
+ */
559
+ displayName: string;
560
+ /**
561
+ * The identifier of the component.
562
+ */
563
+ key: string;
564
+ /**
565
+ * The list of available versions of the component.
566
+ */
567
+ versions: string[];
568
+ }
569
+ export interface SupervisorEgressCidr {
570
+ /**
571
+ * Network address.
572
+ */
573
+ address: string;
574
+ /**
575
+ * Subnet prefix.
576
+ */
577
+ prefix: number;
578
+ }
579
+ export interface SupervisorIngressCidr {
580
+ /**
581
+ * Network address.
582
+ */
583
+ address: string;
584
+ /**
585
+ * Subnet prefix.
586
+ */
587
+ prefix: number;
588
+ }
589
+ export interface SupervisorManagementNetwork {
590
+ /**
591
+ * Number of addresses to allocate. Starts from 'starting_address'
592
+ */
593
+ addressCount: number;
594
+ /**
595
+ * Gateway IP address.
596
+ */
597
+ gateway: string;
598
+ /**
599
+ * ID of the network. (e.g. a distributed port group).
600
+ */
601
+ network: string;
602
+ /**
603
+ * Starting address of the management network range.
604
+ */
605
+ startingAddress: string;
606
+ /**
607
+ * Subnet mask.
608
+ */
609
+ subnetMask: string;
610
+ }
611
+ export interface SupervisorNamespace {
612
+ /**
613
+ * A list of content libraries.
614
+ */
615
+ contentLibraries?: string[];
616
+ /**
617
+ * The name of the namespace.
618
+ */
619
+ name: string;
620
+ /**
621
+ * A list of virtual machine classes.
622
+ */
623
+ vmClasses?: string[];
624
+ }
625
+ export interface SupervisorPodCidr {
626
+ /**
627
+ * Network address.
628
+ */
629
+ address: string;
630
+ /**
631
+ * Subnet prefix.
632
+ */
633
+ prefix: number;
634
+ }
635
+ export interface SupervisorServiceCidr {
636
+ /**
637
+ * Network address.
638
+ */
639
+ address: string;
640
+ /**
641
+ * Subnet prefix.
642
+ */
643
+ prefix: number;
644
+ }
523
645
  export interface VirtualMachineCdrom {
524
646
  /**
525
647
  * Indicates whether the device should be mapped to a remote client device
@@ -697,6 +819,10 @@ export interface VirtualMachineCloneCustomizeWindowsOptions {
697
819
  * The user account of the domain administrator used to join this virtual machine to the domain.
698
820
  */
699
821
  domainAdminUser?: string;
822
+ /**
823
+ * The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
824
+ */
825
+ domainOu?: string;
700
826
  /**
701
827
  * The full name of the user of this virtual machine.
702
828
  */
package/virtualDisk.d.ts CHANGED
@@ -60,7 +60,7 @@ export declare class VirtualDisk extends pulumi.CustomResource {
60
60
  * information on what each kind of disk provisioning policy means, click
61
61
  * [here][docs-vmware-vm-disk-provisioning].
62
62
  *
63
- * [docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
63
+ * [docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
64
64
  */
65
65
  readonly type: pulumi.Output<string | undefined>;
66
66
  /**
@@ -126,7 +126,7 @@ export interface VirtualDiskState {
126
126
  * information on what each kind of disk provisioning policy means, click
127
127
  * [here][docs-vmware-vm-disk-provisioning].
128
128
  *
129
- * [docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
129
+ * [docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
130
130
  */
131
131
  type?: pulumi.Input<string>;
132
132
  /**
@@ -184,7 +184,7 @@ export interface VirtualDiskArgs {
184
184
  * information on what each kind of disk provisioning policy means, click
185
185
  * [here][docs-vmware-vm-disk-provisioning].
186
186
  *
187
- * [docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
187
+ * [docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
188
188
  */
189
189
  type?: pulumi.Input<string>;
190
190
  /**
@@ -120,7 +120,7 @@ export declare class VirtualMachine extends pulumi.CustomResource {
120
120
  /**
121
121
  * The EPT/RVI (hardware memory virtualization) setting for this virtual machine. Can be one of automatic, on, or off.
122
122
  */
123
- readonly eptRviMode: pulumi.Output<string | undefined>;
123
+ readonly eptRviMode: pulumi.Output<string>;
124
124
  /**
125
125
  * Extra configuration data for this virtual machine. Can be used to supply advanced parameters not normally in
126
126
  * configuration, such as instance metadata, or configuration data for OVF images.
@@ -163,7 +163,7 @@ export declare class VirtualMachine extends pulumi.CustomResource {
163
163
  /**
164
164
  * The (non-nested) hardware virtualization setting for this virtual machine. Can be one of hvAuto, hvOn, or hvOff.
165
165
  */
166
- readonly hvMode: pulumi.Output<string | undefined>;
166
+ readonly hvMode: pulumi.Output<string>;
167
167
  readonly ideControllerCount: pulumi.Output<number | undefined>;
168
168
  /**
169
169
  * List of IP addresses and CIDR networks to ignore while waiting for an IP