@pulumi/vsphere 4.10.0 → 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.
- package/computeCluster.d.ts +309 -633
- package/computeCluster.js +2 -0
- package/computeCluster.js.map +1 -1
- package/computeClusterVmAffinityRule.d.ts +14 -10
- package/computeClusterVmAffinityRule.js +14 -10
- package/computeClusterVmAffinityRule.js.map +1 -1
- package/datacenter.d.ts +14 -15
- package/datacenter.js +14 -6
- package/datacenter.js.map +1 -1
- package/datastoreCluster.d.ts +72 -162
- package/datastoreCluster.js.map +1 -1
- package/distributedPortGroup.d.ts +54 -78
- package/distributedPortGroup.js.map +1 -1
- package/distributedVirtualSwitch.d.ts +129 -351
- package/distributedVirtualSwitch.js.map +1 -1
- package/entityPermissions.d.ts +24 -15
- package/entityPermissions.js.map +1 -1
- package/file.d.ts +8 -12
- package/file.js +8 -12
- package/file.js.map +1 -1
- package/folder.d.ts +0 -9
- package/folder.js.map +1 -1
- package/getComputeCluster.d.ts +0 -4
- package/getComputeCluster.js +0 -4
- package/getComputeCluster.js.map +1 -1
- package/getComputeClusterHostGroup.d.ts +22 -22
- package/getComputeClusterHostGroup.js +16 -18
- package/getComputeClusterHostGroup.js.map +1 -1
- package/getContentLibrary.d.ts +10 -10
- package/getContentLibrary.js +10 -10
- package/getContentLibraryItem.d.ts +12 -8
- package/getContentLibraryItem.js +4 -4
- package/getContentLibraryItem.js.map +1 -1
- package/getCustomAttribute.d.ts +0 -4
- package/getCustomAttribute.js +0 -4
- package/getCustomAttribute.js.map +1 -1
- package/getDatacenter.d.ts +0 -4
- package/getDatacenter.js +0 -4
- package/getDatacenter.js.map +1 -1
- package/getDatastore.d.ts +9 -13
- package/getDatastore.js +0 -4
- package/getDatastore.js.map +1 -1
- package/getDatastoreCluster.d.ts +0 -4
- package/getDatastoreCluster.js +0 -4
- package/getDatastoreCluster.js.map +1 -1
- package/getDatastoreStats.d.ts +38 -44
- package/getDatastoreStats.js +16 -24
- package/getDatastoreStats.js.map +1 -1
- package/getDistributedVirtualSwitch.d.ts +2 -4
- package/getDistributedVirtualSwitch.js +2 -4
- package/getDistributedVirtualSwitch.js.map +1 -1
- package/getDynamic.d.ts +18 -20
- package/getDynamic.js +12 -14
- package/getDynamic.js.map +1 -1
- package/getFolder.d.ts +10 -6
- package/getFolder.js +10 -6
- package/getFolder.js.map +1 -1
- package/getGuestOsCustomization.d.ts +8 -51
- package/getGuestOsCustomization.js +4 -34
- package/getGuestOsCustomization.js.map +1 -1
- package/getHost.d.ts +0 -4
- package/getHost.js +0 -4
- package/getHost.js.map +1 -1
- package/getHostBaseImages.d.ts +42 -0
- package/getHostBaseImages.js +43 -0
- package/getHostBaseImages.js.map +1 -0
- package/getHostPciDevice.d.ts +14 -20
- package/getHostPciDevice.js +10 -18
- package/getHostPciDevice.js.map +1 -1
- package/getHostThumbprint.d.ts +12 -16
- package/getHostThumbprint.js +8 -12
- package/getHostThumbprint.js.map +1 -1
- package/getHostVgpuProfile.d.ts +4 -10
- package/getHostVgpuProfile.js +0 -8
- package/getHostVgpuProfile.js.map +1 -1
- package/getLicense.d.ts +2 -5
- package/getLicense.js +0 -4
- package/getLicense.js.map +1 -1
- package/getNetwork.d.ts +14 -18
- package/getNetwork.js +10 -14
- package/getNetwork.js.map +1 -1
- package/getPolicy.d.ts +0 -4
- package/getPolicy.js +0 -4
- package/getPolicy.js.map +1 -1
- package/getResourcePool.d.ts +14 -18
- package/getResourcePool.js +14 -18
- package/getResourcePool.js.map +1 -1
- package/getRole.d.ts +4 -8
- package/getRole.js +4 -8
- package/getRole.js.map +1 -1
- package/getTag.d.ts +0 -4
- package/getTag.js +0 -4
- package/getTag.js.map +1 -1
- package/getTagCategory.d.ts +0 -4
- package/getTagCategory.js +0 -4
- package/getTagCategory.js.map +1 -1
- package/getVappContainer.d.ts +0 -4
- package/getVappContainer.js +0 -4
- package/getVappContainer.js.map +1 -1
- package/getVirtualMachine.d.ts +48 -40
- package/getVirtualMachine.js +6 -12
- package/getVirtualMachine.js.map +1 -1
- package/getVmfsDisks.d.ts +0 -4
- package/getVmfsDisks.js +0 -4
- package/getVmfsDisks.js.map +1 -1
- package/guestOsCustomization.d.ts +26 -0
- package/guestOsCustomization.js +26 -0
- package/guestOsCustomization.js.map +1 -1
- package/haVmOverride.d.ts +81 -162
- package/haVmOverride.js.map +1 -1
- package/host.d.ts +0 -10
- package/host.js +0 -10
- package/host.js.map +1 -1
- package/hostPortGroup.d.ts +6 -12
- package/hostPortGroup.js +6 -12
- package/hostPortGroup.js.map +1 -1
- package/hostVirtualSwitch.d.ts +60 -123
- package/hostVirtualSwitch.js.map +1 -1
- package/index.d.ts +12 -0
- package/index.js +21 -2
- package/index.js.map +1 -1
- package/license.d.ts +0 -17
- package/license.js +0 -17
- package/license.js.map +1 -1
- package/nasDatastore.d.ts +3 -3
- package/offlineSoftwareDepot.d.ts +63 -0
- package/offlineSoftwareDepot.js +59 -0
- package/offlineSoftwareDepot.js.map +1 -0
- package/package.json +3 -2
- package/resourcePool.d.ts +28 -12
- package/resourcePool.js +28 -12
- package/resourcePool.js.map +1 -1
- package/supervisor.d.ts +292 -0
- package/supervisor.js +178 -0
- package/supervisor.js.map +1 -0
- package/types/input.d.ts +172 -119
- package/types/output.d.ts +192 -134
- package/virtualDisk.d.ts +6 -6
- package/virtualMachine.d.ts +250 -361
- package/virtualMachine.js.map +1 -1
- package/virtualMachineClass.d.ts +143 -0
- package/virtualMachineClass.js +100 -0
- package/virtualMachineClass.js.map +1 -0
- package/virtualMachineSnapshot.d.ts +4 -6
- package/virtualMachineSnapshot.js +4 -6
- package/virtualMachineSnapshot.js.map +1 -1
- package/vmStoragePolicy.d.ts +29 -35
- package/vmStoragePolicy.js +29 -35
- package/vmStoragePolicy.js.map +1 -1
- package/vnic.d.ts +34 -42
- package/vnic.js +31 -39
- package/vnic.js.map +1 -1
- package/package.json.bak +0 -29
package/types/output.d.ts
CHANGED
|
@@ -1,11 +1,31 @@
|
|
|
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.
|
|
5
25
|
*/
|
|
6
26
|
cache?: string;
|
|
7
27
|
/**
|
|
8
|
-
*
|
|
28
|
+
* List of storage disks.
|
|
9
29
|
*/
|
|
10
30
|
storages?: string[];
|
|
11
31
|
}
|
|
@@ -31,7 +51,7 @@ export interface ComputeClusterVsanStretchedCluster {
|
|
|
31
51
|
*/
|
|
32
52
|
preferredFaultDomainHostIds: string[];
|
|
33
53
|
/**
|
|
34
|
-
* The name of
|
|
54
|
+
* The name of prepferred fault domain.
|
|
35
55
|
*/
|
|
36
56
|
preferredFaultDomainName?: string;
|
|
37
57
|
/**
|
|
@@ -39,56 +59,7 @@ export interface ComputeClusterVsanStretchedCluster {
|
|
|
39
59
|
*/
|
|
40
60
|
secondaryFaultDomainHostIds: string[];
|
|
41
61
|
/**
|
|
42
|
-
* The name of
|
|
43
|
-
*
|
|
44
|
-
* > **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
|
|
45
|
-
* You can enable or re-enable vSphere HA after vSAN is configured.
|
|
46
|
-
*
|
|
47
|
-
* <!--Start PulumiCodeChooser -->
|
|
48
|
-
* ```typescript
|
|
49
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
-
* import * as vsphere from "@pulumi/vsphere";
|
|
51
|
-
*
|
|
52
|
-
* const computeCluster = new vsphere.ComputeCluster("computeCluster", {
|
|
53
|
-
* datacenterId: data.vsphere_datacenter.datacenter.id,
|
|
54
|
-
* hostSystemIds: [data.vsphere_host.host.map(__item => __item.id)],
|
|
55
|
-
* drsEnabled: true,
|
|
56
|
-
* drsAutomationLevel: "fullyAutomated",
|
|
57
|
-
* haEnabled: false,
|
|
58
|
-
* vsanEnabled: true,
|
|
59
|
-
* vsanEsaEnabled: true,
|
|
60
|
-
* vsanDedupEnabled: true,
|
|
61
|
-
* vsanCompressionEnabled: true,
|
|
62
|
-
* vsanPerformanceEnabled: true,
|
|
63
|
-
* vsanVerboseModeEnabled: true,
|
|
64
|
-
* vsanNetworkDiagnosticModeEnabled: true,
|
|
65
|
-
* vsanUnmapEnabled: true,
|
|
66
|
-
* vsanDitEncryptionEnabled: true,
|
|
67
|
-
* vsanDitRekeyInterval: 1800,
|
|
68
|
-
* vsanDiskGroups: [{
|
|
69
|
-
* cache: data.vsphere_vmfs_disks.cache_disks[0],
|
|
70
|
-
* storages: data.vsphere_vmfs_disks.storage_disks,
|
|
71
|
-
* }],
|
|
72
|
-
* vsanFaultDomains: [{
|
|
73
|
-
* faultDomains: [
|
|
74
|
-
* {
|
|
75
|
-
* name: "fd1",
|
|
76
|
-
* hostIds: [data.vsphere_host.faultdomain1_hosts.map(__item => __item.id)],
|
|
77
|
-
* },
|
|
78
|
-
* {
|
|
79
|
-
* name: "fd2",
|
|
80
|
-
* hostIds: [data.vsphere_host.faultdomain2_hosts.map(__item => __item.id)],
|
|
81
|
-
* },
|
|
82
|
-
* ],
|
|
83
|
-
* }],
|
|
84
|
-
* vsanStretchedCluster: {
|
|
85
|
-
* preferredFaultDomainHostIds: [data.vsphere_host.preferred_fault_domain_host.map(__item => __item.id)],
|
|
86
|
-
* secondaryFaultDomainHostIds: [data.vsphere_host.secondary_fault_domain_host.map(__item => __item.id)],
|
|
87
|
-
* witnessNode: data.vsphere_host.witness_host.id,
|
|
88
|
-
* },
|
|
89
|
-
* });
|
|
90
|
-
* ```
|
|
91
|
-
* <!--End PulumiCodeChooser -->
|
|
62
|
+
* The name of secondary fault domain.
|
|
92
63
|
*/
|
|
93
64
|
secondaryFaultDomainName?: string;
|
|
94
65
|
/**
|
|
@@ -98,11 +69,11 @@ export interface ComputeClusterVsanStretchedCluster {
|
|
|
98
69
|
}
|
|
99
70
|
export interface ContentLibraryPublication {
|
|
100
71
|
/**
|
|
101
|
-
*
|
|
72
|
+
* Method to authenticate users. Must be `NONE` or `BASIC`.
|
|
102
73
|
*/
|
|
103
74
|
authenticationMethod?: string;
|
|
104
75
|
/**
|
|
105
|
-
* Password used
|
|
76
|
+
* Password used by subscribers to authenticate.
|
|
106
77
|
*/
|
|
107
78
|
password: string;
|
|
108
79
|
/**
|
|
@@ -114,7 +85,7 @@ export interface ContentLibraryPublication {
|
|
|
114
85
|
*/
|
|
115
86
|
published?: boolean;
|
|
116
87
|
/**
|
|
117
|
-
* Username used
|
|
88
|
+
* Username used by subscribers to authenticate. Currently can only be `vcsp`.
|
|
118
89
|
*/
|
|
119
90
|
username: string;
|
|
120
91
|
}
|
|
@@ -156,30 +127,25 @@ export interface DistributedPortGroupVlanRange {
|
|
|
156
127
|
}
|
|
157
128
|
export interface DistributedVirtualSwitchHost {
|
|
158
129
|
/**
|
|
159
|
-
*
|
|
160
|
-
* added in order they are specified.
|
|
130
|
+
* Name of the physical NIC to be added to the proxy switch.
|
|
161
131
|
*/
|
|
162
132
|
devices?: string[];
|
|
163
133
|
/**
|
|
164
|
-
* The
|
|
165
|
-
* VDS.
|
|
134
|
+
* The managed object ID of the host this specification applies to.
|
|
166
135
|
*/
|
|
167
136
|
hostSystemId: string;
|
|
168
137
|
}
|
|
169
138
|
export interface DistributedVirtualSwitchPvlanMapping {
|
|
170
139
|
/**
|
|
171
|
-
* The primary VLAN ID. The VLAN IDs of 0 and
|
|
172
|
-
* 4095 are reserved and cannot be used in this property.
|
|
140
|
+
* The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
173
141
|
*/
|
|
174
142
|
primaryVlanId: number;
|
|
175
143
|
/**
|
|
176
|
-
* The private VLAN type. Valid values are
|
|
177
|
-
* promiscuous, community and isolated.
|
|
144
|
+
* The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
178
145
|
*/
|
|
179
146
|
pvlanType: string;
|
|
180
147
|
/**
|
|
181
|
-
* The secondary VLAN ID. The VLAN IDs of 0
|
|
182
|
-
* and 4095 are reserved and cannot be used in this property.
|
|
148
|
+
* The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
183
149
|
*/
|
|
184
150
|
secondaryVlanId: number;
|
|
185
151
|
}
|
|
@@ -195,15 +161,18 @@ export interface DistributedVirtualSwitchVlanRange {
|
|
|
195
161
|
}
|
|
196
162
|
export interface EntityPermissionsPermission {
|
|
197
163
|
/**
|
|
198
|
-
* Whether userOrGroup field refers to a user or a
|
|
164
|
+
* Whether `userOrGroup` field refers to a user or a
|
|
165
|
+
* group. True for a group and false for a user.
|
|
199
166
|
*/
|
|
200
167
|
isGroup: boolean;
|
|
201
168
|
/**
|
|
202
|
-
* Whether or not this permission propagates down the
|
|
169
|
+
* Whether or not this permission propagates down the
|
|
170
|
+
* hierarchy to sub-entities.
|
|
203
171
|
*/
|
|
204
172
|
propagate: boolean;
|
|
205
173
|
/**
|
|
206
|
-
* The role id of the role to be given to the user on
|
|
174
|
+
* The role id of the role to be given to the user on
|
|
175
|
+
* the specified entity.
|
|
207
176
|
*/
|
|
208
177
|
roleId: string;
|
|
209
178
|
/**
|
|
@@ -310,6 +279,10 @@ export interface GetGuestOsCustomizationSpecWindowsOption {
|
|
|
310
279
|
* The user account of the domain administrator used to join this virtual machine to the domain.
|
|
311
280
|
*/
|
|
312
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;
|
|
313
286
|
/**
|
|
314
287
|
* The Active Directory domain for the virtual machine to join.
|
|
315
288
|
*/
|
|
@@ -334,22 +307,23 @@ export interface GetHostVgpuProfileVgpuProfile {
|
|
|
334
307
|
*/
|
|
335
308
|
diskSnapshotSupported: boolean;
|
|
336
309
|
/**
|
|
337
|
-
* Indicates whether the GPU plugin on this host
|
|
338
|
-
* capable of memory snapshots.
|
|
310
|
+
* Indicates whether the GPU plugin on this host
|
|
311
|
+
* is capable of memory snapshots.
|
|
339
312
|
*/
|
|
340
313
|
memorySnapshotSupported: boolean;
|
|
341
314
|
/**
|
|
342
|
-
* Indicates whether the GPU plugin on this host is
|
|
343
|
-
* of migration.
|
|
315
|
+
* Indicates whether the GPU plugin on this host is
|
|
316
|
+
* capable of migration.
|
|
344
317
|
*/
|
|
345
318
|
migrateSupported: boolean;
|
|
346
319
|
/**
|
|
347
|
-
* Indicates whether the GPU plugin on this host is
|
|
348
|
-
* of suspend-resume.
|
|
320
|
+
* Indicates whether the GPU plugin on this host is
|
|
321
|
+
* capable of suspend-resume.
|
|
349
322
|
*/
|
|
350
323
|
suspendSupported: boolean;
|
|
351
324
|
/**
|
|
352
|
-
* Name of a particular vGPU available as a shared GPU device (vGPU
|
|
325
|
+
* Name of a particular vGPU available as a shared GPU device (vGPU
|
|
326
|
+
* profile).
|
|
353
327
|
*/
|
|
354
328
|
vgpu: string;
|
|
355
329
|
}
|
|
@@ -378,8 +352,8 @@ export interface GetVirtualMachineDisk {
|
|
|
378
352
|
export interface GetVirtualMachineNetworkInterface {
|
|
379
353
|
/**
|
|
380
354
|
* The network interface types for each network interface found
|
|
381
|
-
* on the virtual machine, in device bus order. Will be one of `e1000`,
|
|
382
|
-
* `vmxnet3vrdma`, or `vmxnet3`.
|
|
355
|
+
* on the virtual machine, in device bus order. Will be one of `e1000`,
|
|
356
|
+
* `e1000e`, `vmxnet3vrdma`, or `vmxnet3`.
|
|
383
357
|
*/
|
|
384
358
|
adapterType: string;
|
|
385
359
|
/**
|
|
@@ -388,8 +362,8 @@ export interface GetVirtualMachineNetworkInterface {
|
|
|
388
362
|
*/
|
|
389
363
|
bandwidthLimit?: number;
|
|
390
364
|
/**
|
|
391
|
-
* The bandwidth reservation of this network
|
|
392
|
-
* in Mbits/sec.
|
|
365
|
+
* The bandwidth reservation of this network
|
|
366
|
+
* interface, in Mbits/sec.
|
|
393
367
|
*/
|
|
394
368
|
bandwidthReservation?: number;
|
|
395
369
|
/**
|
|
@@ -398,8 +372,8 @@ export interface GetVirtualMachineNetworkInterface {
|
|
|
398
372
|
*/
|
|
399
373
|
bandwidthShareCount: number;
|
|
400
374
|
/**
|
|
401
|
-
* The bandwidth share allocation level for this
|
|
402
|
-
* 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`.
|
|
403
377
|
*/
|
|
404
378
|
bandwidthShareLevel?: string;
|
|
405
379
|
/**
|
|
@@ -407,8 +381,8 @@ export interface GetVirtualMachineNetworkInterface {
|
|
|
407
381
|
*/
|
|
408
382
|
macAddress: string;
|
|
409
383
|
/**
|
|
410
|
-
* The managed object reference ID of the network this interface
|
|
411
|
-
* connected to.
|
|
384
|
+
* The managed object reference ID of the network this interface
|
|
385
|
+
* is connected to.
|
|
412
386
|
*/
|
|
413
387
|
networkId: string;
|
|
414
388
|
/**
|
|
@@ -531,6 +505,10 @@ export interface GuestOsCustomizationSpecWindowsOptions {
|
|
|
531
505
|
* The user account of the domain administrator used to join this virtual machine to the domain.
|
|
532
506
|
*/
|
|
533
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;
|
|
534
512
|
/**
|
|
535
513
|
* The full name of the user of this virtual machine.
|
|
536
514
|
*/
|
|
@@ -574,13 +552,103 @@ export interface HostPortGroupPort {
|
|
|
574
552
|
*/
|
|
575
553
|
type: string;
|
|
576
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
|
+
}
|
|
577
645
|
export interface VirtualMachineCdrom {
|
|
578
646
|
/**
|
|
579
|
-
* Indicates whether the device should be
|
|
647
|
+
* Indicates whether the device should be mapped to a remote client device
|
|
580
648
|
*/
|
|
581
649
|
clientDevice?: boolean;
|
|
582
650
|
/**
|
|
583
|
-
* The datastore ID
|
|
651
|
+
* The datastore ID the ISO is located on.
|
|
584
652
|
*/
|
|
585
653
|
datastoreId?: string;
|
|
586
654
|
/**
|
|
@@ -592,11 +660,7 @@ export interface VirtualMachineCdrom {
|
|
|
592
660
|
*/
|
|
593
661
|
key: number;
|
|
594
662
|
/**
|
|
595
|
-
* The path to the ISO file
|
|
596
|
-
*
|
|
597
|
-
* > **NOTE:** Either `clientDevice` (for a remote backed CD-ROM) or `datastoreId` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
598
|
-
*
|
|
599
|
-
* > **NOTE:** Some CD-ROM drive types are not supported by this resource, such as pass-through devices. If these drives are present in a cloned template, or added outside of the provider, the desired state will be corrected to the defined device, or removed if no `cdrom` block is present.
|
|
663
|
+
* The path to the ISO file on the datastore.
|
|
600
664
|
*/
|
|
601
665
|
path?: string;
|
|
602
666
|
}
|
|
@@ -666,7 +730,7 @@ export interface VirtualMachineCloneCustomize {
|
|
|
666
730
|
*/
|
|
667
731
|
linuxOptions?: outputs.VirtualMachineCloneCustomizeLinuxOptions;
|
|
668
732
|
/**
|
|
669
|
-
* A specification
|
|
733
|
+
* A specification of network interface configuration options.
|
|
670
734
|
*/
|
|
671
735
|
networkInterfaces?: outputs.VirtualMachineCloneCustomizeNetworkInterface[];
|
|
672
736
|
/**
|
|
@@ -755,6 +819,10 @@ export interface VirtualMachineCloneCustomizeWindowsOptions {
|
|
|
755
819
|
* The user account of the domain administrator used to join this virtual machine to the domain.
|
|
756
820
|
*/
|
|
757
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;
|
|
758
826
|
/**
|
|
759
827
|
* The full name of the user of this virtual machine.
|
|
760
828
|
*/
|
|
@@ -786,17 +854,15 @@ export interface VirtualMachineCloneCustomizeWindowsOptions {
|
|
|
786
854
|
}
|
|
787
855
|
export interface VirtualMachineDisk {
|
|
788
856
|
/**
|
|
789
|
-
*
|
|
790
|
-
*
|
|
791
|
-
* > **NOTE:** External disks cannot be attached when `datastoreClusterId` is used.
|
|
857
|
+
* If this is true, the disk is attached instead of created. Implies keep_on_remove.
|
|
792
858
|
*/
|
|
793
859
|
attach?: boolean;
|
|
794
860
|
/**
|
|
795
|
-
* The type of
|
|
861
|
+
* The type of controller the disk should be connected to. Must be 'scsi', 'sata', or 'ide'.
|
|
796
862
|
*/
|
|
797
863
|
controllerType?: string;
|
|
798
864
|
/**
|
|
799
|
-
* The datastore ID
|
|
865
|
+
* The datastore ID for this virtual disk, if different than the virtual machine.
|
|
800
866
|
*/
|
|
801
867
|
datastoreId: string;
|
|
802
868
|
/**
|
|
@@ -804,39 +870,35 @@ export interface VirtualMachineDisk {
|
|
|
804
870
|
*/
|
|
805
871
|
deviceAddress: string;
|
|
806
872
|
/**
|
|
807
|
-
* The mode of this this virtual disk for purposes of writes and
|
|
808
|
-
*
|
|
809
|
-
* [vmware-docs-disk-mode]: https://vdc-download.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.device.VirtualDiskOption.DiskMode.html
|
|
873
|
+
* The mode of this this virtual disk for purposes of writes and snapshotting. Can be one of append, independent_nonpersistent, independent_persistent, nonpersistent, persistent, or undoable.
|
|
810
874
|
*/
|
|
811
875
|
diskMode?: string;
|
|
812
876
|
/**
|
|
813
|
-
* The sharing mode of this virtual disk.
|
|
814
|
-
*
|
|
815
|
-
* > **NOTE:** Disk sharing is only available on vSphere 6.0 and later.
|
|
877
|
+
* The sharing mode of this virtual disk. Can be one of sharingMultiWriter or sharingNone.
|
|
816
878
|
*/
|
|
817
879
|
diskSharing?: string;
|
|
818
880
|
/**
|
|
819
|
-
*
|
|
881
|
+
* The virtual disk file zeroing policy when thinProvision is not true. The default is false, which lazily-zeros the disk, speeding up thick-provisioned disk creation time.
|
|
820
882
|
*/
|
|
821
883
|
eagerlyScrub?: boolean;
|
|
822
884
|
/**
|
|
823
|
-
* The upper limit of IOPS that this disk can use.
|
|
885
|
+
* The upper limit of IOPS that this disk can use.
|
|
824
886
|
*/
|
|
825
887
|
ioLimit?: number;
|
|
826
888
|
/**
|
|
827
|
-
* The I/O
|
|
889
|
+
* The I/O guarantee that this disk has, in IOPS.
|
|
828
890
|
*/
|
|
829
891
|
ioReservation?: number;
|
|
830
892
|
/**
|
|
831
|
-
* The share count for
|
|
893
|
+
* The share count for this disk when the share level is custom.
|
|
832
894
|
*/
|
|
833
895
|
ioShareCount?: number;
|
|
834
896
|
/**
|
|
835
|
-
* The share allocation level for
|
|
897
|
+
* The share allocation level for this disk. Can be one of low, normal, high, or custom.
|
|
836
898
|
*/
|
|
837
899
|
ioShareLevel?: string;
|
|
838
900
|
/**
|
|
839
|
-
*
|
|
901
|
+
* Set to true to keep the underlying VMDK file when removing this virtual disk from configuration.
|
|
840
902
|
*/
|
|
841
903
|
keepOnRemove?: boolean;
|
|
842
904
|
/**
|
|
@@ -848,57 +910,53 @@ export interface VirtualMachineDisk {
|
|
|
848
910
|
*/
|
|
849
911
|
label: string;
|
|
850
912
|
/**
|
|
851
|
-
* The path
|
|
852
|
-
*
|
|
853
|
-
* > **NOTE:** Either `clientDevice` (for a remote backed CD-ROM) or `datastoreId` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
854
|
-
*
|
|
855
|
-
* > **NOTE:** Some CD-ROM drive types are not supported by this resource, such as pass-through devices. If these drives are present in a cloned template, or added outside of the provider, the desired state will be corrected to the defined device, or removed if no `cdrom` block is present.
|
|
913
|
+
* The full path of the virtual disk. This can only be provided if attach is set to true, otherwise it is a read-only value.
|
|
856
914
|
*/
|
|
857
915
|
path: string;
|
|
858
916
|
/**
|
|
859
|
-
* The size of the disk, in GB.
|
|
917
|
+
* The size of the disk, in GB.
|
|
860
918
|
*/
|
|
861
919
|
size?: number;
|
|
862
920
|
/**
|
|
863
|
-
* The
|
|
921
|
+
* The ID of the storage policy to assign to the virtual disk in VM.
|
|
864
922
|
*/
|
|
865
923
|
storagePolicyId: string;
|
|
866
924
|
/**
|
|
867
|
-
* If
|
|
925
|
+
* If true, this disk is thin provisioned, with space for the file being allocated on an as-needed basis.
|
|
868
926
|
*/
|
|
869
927
|
thinProvisioned?: boolean;
|
|
870
928
|
/**
|
|
871
|
-
* The
|
|
929
|
+
* The unique device number for this disk. This number determines where on the SCSI bus this device will be attached.
|
|
872
930
|
*/
|
|
873
931
|
unitNumber?: number;
|
|
874
932
|
/**
|
|
875
|
-
* The UUID of the virtual
|
|
933
|
+
* The UUID of the virtual machine. Also exposed as the `id` of the resource.
|
|
876
934
|
*/
|
|
877
935
|
uuid: string;
|
|
878
936
|
/**
|
|
879
|
-
* If
|
|
937
|
+
* If true, writes for this disk are sent directly to the filesystem immediately instead of being buffered.
|
|
880
938
|
*/
|
|
881
939
|
writeThrough?: boolean;
|
|
882
940
|
}
|
|
883
941
|
export interface VirtualMachineNetworkInterface {
|
|
884
942
|
/**
|
|
885
|
-
* The
|
|
943
|
+
* The controller type. Can be one of e1000, e1000e, sriov, vmxnet3, or vrdma.
|
|
886
944
|
*/
|
|
887
945
|
adapterType?: string;
|
|
888
946
|
/**
|
|
889
|
-
* The upper bandwidth limit of
|
|
947
|
+
* The upper bandwidth limit of this network interface, in Mbits/sec.
|
|
890
948
|
*/
|
|
891
949
|
bandwidthLimit?: number;
|
|
892
950
|
/**
|
|
893
|
-
* The bandwidth reservation of
|
|
951
|
+
* The bandwidth reservation of this network interface, in Mbits/sec.
|
|
894
952
|
*/
|
|
895
953
|
bandwidthReservation?: number;
|
|
896
954
|
/**
|
|
897
|
-
* The share count for
|
|
955
|
+
* The share count for this network interface when the share level is custom.
|
|
898
956
|
*/
|
|
899
957
|
bandwidthShareCount: number;
|
|
900
958
|
/**
|
|
901
|
-
* The bandwidth share allocation level for
|
|
959
|
+
* The bandwidth share allocation level for this interface. Can be one of low, normal, high, or custom.
|
|
902
960
|
*/
|
|
903
961
|
bandwidthShareLevel?: string;
|
|
904
962
|
/**
|
|
@@ -910,15 +968,15 @@ export interface VirtualMachineNetworkInterface {
|
|
|
910
968
|
*/
|
|
911
969
|
key: number;
|
|
912
970
|
/**
|
|
913
|
-
* The MAC address of
|
|
971
|
+
* The MAC address of this network interface. Can only be manually set if useStaticMac is true.
|
|
914
972
|
*/
|
|
915
973
|
macAddress: string;
|
|
916
974
|
/**
|
|
917
|
-
* The
|
|
975
|
+
* The ID of the network to connect this network interface to.
|
|
918
976
|
*/
|
|
919
977
|
networkId: string;
|
|
920
978
|
/**
|
|
921
|
-
*
|
|
979
|
+
* Mapping of network interface to OVF network.
|
|
922
980
|
*/
|
|
923
981
|
ovfMapping?: string;
|
|
924
982
|
/**
|
|
@@ -926,7 +984,7 @@ export interface VirtualMachineNetworkInterface {
|
|
|
926
984
|
*/
|
|
927
985
|
physicalFunction?: string;
|
|
928
986
|
/**
|
|
929
|
-
* If true, the
|
|
987
|
+
* If true, the macAddress field is treated as a static MAC address and set accordingly.
|
|
930
988
|
*/
|
|
931
989
|
useStaticMac?: boolean;
|
|
932
990
|
}
|
|
@@ -994,19 +1052,19 @@ export interface VmStoragePolicyTagRule {
|
|
|
994
1052
|
}
|
|
995
1053
|
export interface VnicIpv4 {
|
|
996
1054
|
/**
|
|
997
|
-
* Use DHCP to configure the interface's
|
|
1055
|
+
* Use DHCP to configure the interface's IPv4 stack.
|
|
998
1056
|
*/
|
|
999
1057
|
dhcp?: boolean;
|
|
1000
1058
|
/**
|
|
1001
|
-
* IP address of the default gateway, if DHCP
|
|
1059
|
+
* IP address of the default gateway, if DHCP is not set.
|
|
1002
1060
|
*/
|
|
1003
1061
|
gw?: string;
|
|
1004
1062
|
/**
|
|
1005
|
-
*
|
|
1063
|
+
* address of the interface, if DHCP is not set.
|
|
1006
1064
|
*/
|
|
1007
1065
|
ip?: string;
|
|
1008
1066
|
/**
|
|
1009
|
-
*
|
|
1067
|
+
* netmask of the interface, if DHCP is not set.
|
|
1010
1068
|
*/
|
|
1011
1069
|
netmask?: string;
|
|
1012
1070
|
}
|
|
@@ -1020,7 +1078,7 @@ export interface VnicIpv6 {
|
|
|
1020
1078
|
*/
|
|
1021
1079
|
autoconfig?: boolean;
|
|
1022
1080
|
/**
|
|
1023
|
-
* Use DHCP to configure the interface's
|
|
1081
|
+
* Use DHCP to configure the interface's IPv4 stack.
|
|
1024
1082
|
*/
|
|
1025
1083
|
dhcp?: boolean;
|
|
1026
1084
|
/**
|
package/virtualDisk.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare class VirtualDisk extends pulumi.CustomResource {
|
|
|
26
26
|
* disk controller types. This parameter will be removed in future versions of the
|
|
27
27
|
* vSphere provider.
|
|
28
28
|
*
|
|
29
|
-
* @deprecated this attribute has no effect on controller types - please use
|
|
29
|
+
* @deprecated this attribute has no effect on controller types - please use scsiType in vsphere.VirtualMachine instead
|
|
30
30
|
*/
|
|
31
31
|
readonly adapterType: pulumi.Output<string | undefined>;
|
|
32
32
|
/**
|
|
@@ -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/
|
|
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
|
/**
|
|
@@ -92,7 +92,7 @@ export interface VirtualDiskState {
|
|
|
92
92
|
* disk controller types. This parameter will be removed in future versions of the
|
|
93
93
|
* vSphere provider.
|
|
94
94
|
*
|
|
95
|
-
* @deprecated this attribute has no effect on controller types - please use
|
|
95
|
+
* @deprecated this attribute has no effect on controller types - please use scsiType in vsphere.VirtualMachine instead
|
|
96
96
|
*/
|
|
97
97
|
adapterType?: pulumi.Input<string>;
|
|
98
98
|
/**
|
|
@@ -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/
|
|
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
|
/**
|
|
@@ -150,7 +150,7 @@ export interface VirtualDiskArgs {
|
|
|
150
150
|
* disk controller types. This parameter will be removed in future versions of the
|
|
151
151
|
* vSphere provider.
|
|
152
152
|
*
|
|
153
|
-
* @deprecated this attribute has no effect on controller types - please use
|
|
153
|
+
* @deprecated this attribute has no effect on controller types - please use scsiType in vsphere.VirtualMachine instead
|
|
154
154
|
*/
|
|
155
155
|
adapterType?: pulumi.Input<string>;
|
|
156
156
|
/**
|
|
@@ -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/
|
|
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
|
/**
|