@pulumi/vsphere 4.10.0 → 4.10.1
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 +297 -633
- package/computeCluster.js.map +1 -1
- package/computeClusterVmAffinityRule.d.ts +14 -8
- package/computeClusterVmAffinityRule.js +14 -8
- package/computeClusterVmAffinityRule.js.map +1 -1
- package/datacenter.d.ts +14 -6
- package/datacenter.js +14 -6
- package/datacenter.js.map +1 -1
- package/datastoreCluster.d.ts +72 -156
- package/datastoreCluster.js.map +1 -1
- package/distributedPortGroup.d.ts +30 -75
- package/distributedPortGroup.js.map +1 -1
- package/distributedVirtualSwitch.d.ts +132 -345
- package/distributedVirtualSwitch.js.map +1 -1
- package/file.d.ts +8 -12
- package/file.js +8 -12
- package/file.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 +8 -10
- package/getComputeClusterHostGroup.js +8 -10
- package/getComputeClusterHostGroup.js.map +1 -1
- package/getContentLibrary.d.ts +0 -4
- package/getContentLibrary.js +0 -4
- package/getContentLibrary.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 +0 -4
- 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 +4 -12
- package/getDatastoreStats.js +4 -12
- 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 +4 -8
- package/getDynamic.js +4 -8
- package/getDynamic.js.map +1 -1
- package/getFolder.d.ts +0 -4
- package/getFolder.js +0 -4
- package/getFolder.js.map +1 -1
- package/getGuestOsCustomization.d.ts +0 -4
- package/getGuestOsCustomization.js +0 -4
- package/getGuestOsCustomization.js.map +1 -1
- package/getHost.d.ts +0 -4
- package/getHost.js +0 -4
- package/getHost.js.map +1 -1
- package/getHostPciDevice.d.ts +10 -18
- package/getHostPciDevice.js +10 -18
- package/getHostPciDevice.js.map +1 -1
- package/getHostThumbprint.d.ts +0 -4
- package/getHostThumbprint.js +0 -4
- package/getHostThumbprint.js.map +1 -1
- package/getHostVgpuProfile.d.ts +0 -8
- package/getHostVgpuProfile.js +0 -8
- package/getHostVgpuProfile.js.map +1 -1
- package/getLicense.d.ts +0 -4
- package/getLicense.js +0 -4
- package/getLicense.js.map +1 -1
- package/getNetwork.d.ts +0 -4
- package/getNetwork.js +0 -4
- 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 +2 -10
- package/getResourcePool.js +2 -10
- package/getResourcePool.js.map +1 -1
- package/getRole.d.ts +0 -4
- package/getRole.js +0 -4
- 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 +0 -8
- package/getVirtualMachine.js +0 -8
- 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/license.d.ts +0 -17
- package/license.js +0 -17
- package/license.js.map +1 -1
- package/package.json +1 -1
- package/resourcePool.d.ts +27 -11
- package/resourcePool.js +27 -11
- package/resourcePool.js.map +1 -1
- package/types/input.d.ts +48 -116
- package/types/output.d.ts +48 -116
- package/virtualDisk.d.ts +3 -3
- package/virtualMachine.d.ts +248 -359
- package/virtualMachine.js.map +1 -1
- package/virtualMachineSnapshot.d.ts +3 -5
- package/virtualMachineSnapshot.js +3 -5
- package/virtualMachineSnapshot.js.map +1 -1
- package/vmStoragePolicy.d.ts +28 -34
- package/vmStoragePolicy.js +28 -34
- package/vmStoragePolicy.js.map +1 -1
- package/vnic.d.ts +4 -10
- package/vnic.js +4 -10
- package/vnic.js.map +1 -1
package/resourcePool.js
CHANGED
|
@@ -19,7 +19,6 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* The following example sets up a resource pool in an existing compute cluster
|
|
20
20
|
* with the default settings for CPU and memory reservations, shares, and limits.
|
|
21
21
|
*
|
|
22
|
-
* <!--Start PulumiCodeChooser -->
|
|
23
22
|
* ```typescript
|
|
24
23
|
* import * as pulumi from "@pulumi/pulumi";
|
|
25
24
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -31,28 +30,26 @@ const utilities = require("./utilities");
|
|
|
31
30
|
* name: "cluster-01",
|
|
32
31
|
* datacenterId: datacenter.id,
|
|
33
32
|
* }));
|
|
34
|
-
* const resourcePool = new vsphere.ResourcePool("
|
|
33
|
+
* const resourcePool = new vsphere.ResourcePool("resource_pool", {
|
|
34
|
+
* name: "resource-pool-01",
|
|
35
|
+
* parentResourcePoolId: computeCluster.then(computeCluster => computeCluster.resourcePoolId),
|
|
36
|
+
* });
|
|
35
37
|
* ```
|
|
36
|
-
* <!--End PulumiCodeChooser -->
|
|
37
38
|
*
|
|
38
39
|
* A virtual machine resource could be targeted to use the default resource pool
|
|
39
40
|
* of the cluster using the following:
|
|
40
41
|
*
|
|
41
|
-
* <!--Start PulumiCodeChooser -->
|
|
42
42
|
* ```typescript
|
|
43
43
|
* import * as pulumi from "@pulumi/pulumi";
|
|
44
44
|
* import * as vsphere from "@pulumi/vsphere";
|
|
45
45
|
*
|
|
46
|
-
* const vm = new vsphere.VirtualMachine("vm", {resourcePoolId:
|
|
47
|
-
* // ... other configuration ...
|
|
46
|
+
* const vm = new vsphere.VirtualMachine("vm", {resourcePoolId: cluster.resourcePoolId});
|
|
48
47
|
* ```
|
|
49
|
-
* <!--End PulumiCodeChooser -->
|
|
50
48
|
*
|
|
51
49
|
* The following example sets up a parent resource pool in an existing compute cluster
|
|
52
50
|
* with a child resource pool nested below. Each resource pool is configured with
|
|
53
51
|
* the default settings for CPU and memory reservations, shares, and limits.
|
|
54
52
|
*
|
|
55
|
-
* <!--Start PulumiCodeChooser -->
|
|
56
53
|
* ```typescript
|
|
57
54
|
* import * as pulumi from "@pulumi/pulumi";
|
|
58
55
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -64,10 +61,29 @@ const utilities = require("./utilities");
|
|
|
64
61
|
* name: "cluster-01",
|
|
65
62
|
* datacenterId: datacenter.id,
|
|
66
63
|
* }));
|
|
67
|
-
* const resourcePoolParent = new vsphere.ResourcePool("
|
|
68
|
-
*
|
|
64
|
+
* const resourcePoolParent = new vsphere.ResourcePool("resource_pool_parent", {
|
|
65
|
+
* name: "parent",
|
|
66
|
+
* parentResourcePoolId: computeCluster.then(computeCluster => computeCluster.resourcePoolId),
|
|
67
|
+
* });
|
|
68
|
+
* const resourcePoolChild = new vsphere.ResourcePool("resource_pool_child", {
|
|
69
|
+
* name: "child",
|
|
70
|
+
* parentResourcePoolId: resourcePoolParent.id,
|
|
71
|
+
* });
|
|
69
72
|
* ```
|
|
70
|
-
*
|
|
73
|
+
*
|
|
74
|
+
* ## Importing
|
|
75
|
+
*
|
|
76
|
+
* An existing resource pool can be imported into this resource via
|
|
77
|
+
* the path to the resource pool, using the following command:
|
|
78
|
+
*
|
|
79
|
+
* The above would import the resource pool named `resource-pool-01` that is located
|
|
80
|
+
* in the compute cluster `cluster-01` in the `dc-01` datacenter.
|
|
81
|
+
*
|
|
82
|
+
* ### Settings that Require vSphere 7.0 or higher
|
|
83
|
+
*
|
|
84
|
+
* These settings require vSphere 7.0 or higher:
|
|
85
|
+
*
|
|
86
|
+
* * `scaleDescendantsShares`
|
|
71
87
|
*/
|
|
72
88
|
class ResourcePool extends pulumi.CustomResource {
|
|
73
89
|
/**
|
package/resourcePool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourcePool.js","sourceRoot":"","sources":["../resourcePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"resourcePool.js","sourceRoot":"","sources":["../resourcePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,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IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAzKL,oCA0KC;AA5JG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
export interface ComputeClusterVsanDiskGroup {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Cache disk.
|
|
6
6
|
*/
|
|
7
7
|
cache?: pulumi.Input<string>;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* List of storage disks.
|
|
10
10
|
*/
|
|
11
11
|
storages?: pulumi.Input<pulumi.Input<string>[]>;
|
|
12
12
|
}
|
|
@@ -32,7 +32,7 @@ export interface ComputeClusterVsanStretchedCluster {
|
|
|
32
32
|
*/
|
|
33
33
|
preferredFaultDomainHostIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
34
34
|
/**
|
|
35
|
-
* The name of
|
|
35
|
+
* The name of prepferred fault domain.
|
|
36
36
|
*/
|
|
37
37
|
preferredFaultDomainName?: pulumi.Input<string>;
|
|
38
38
|
/**
|
|
@@ -40,56 +40,7 @@ export interface ComputeClusterVsanStretchedCluster {
|
|
|
40
40
|
*/
|
|
41
41
|
secondaryFaultDomainHostIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
42
42
|
/**
|
|
43
|
-
* The name of
|
|
44
|
-
*
|
|
45
|
-
* > **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
|
|
46
|
-
* You can enable or re-enable vSphere HA after vSAN is configured.
|
|
47
|
-
*
|
|
48
|
-
* <!--Start PulumiCodeChooser -->
|
|
49
|
-
* ```typescript
|
|
50
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
-
* import * as vsphere from "@pulumi/vsphere";
|
|
52
|
-
*
|
|
53
|
-
* const computeCluster = new vsphere.ComputeCluster("computeCluster", {
|
|
54
|
-
* datacenterId: data.vsphere_datacenter.datacenter.id,
|
|
55
|
-
* hostSystemIds: [data.vsphere_host.host.map(__item => __item.id)],
|
|
56
|
-
* drsEnabled: true,
|
|
57
|
-
* drsAutomationLevel: "fullyAutomated",
|
|
58
|
-
* haEnabled: false,
|
|
59
|
-
* vsanEnabled: true,
|
|
60
|
-
* vsanEsaEnabled: true,
|
|
61
|
-
* vsanDedupEnabled: true,
|
|
62
|
-
* vsanCompressionEnabled: true,
|
|
63
|
-
* vsanPerformanceEnabled: true,
|
|
64
|
-
* vsanVerboseModeEnabled: true,
|
|
65
|
-
* vsanNetworkDiagnosticModeEnabled: true,
|
|
66
|
-
* vsanUnmapEnabled: true,
|
|
67
|
-
* vsanDitEncryptionEnabled: true,
|
|
68
|
-
* vsanDitRekeyInterval: 1800,
|
|
69
|
-
* vsanDiskGroups: [{
|
|
70
|
-
* cache: data.vsphere_vmfs_disks.cache_disks[0],
|
|
71
|
-
* storages: data.vsphere_vmfs_disks.storage_disks,
|
|
72
|
-
* }],
|
|
73
|
-
* vsanFaultDomains: [{
|
|
74
|
-
* faultDomains: [
|
|
75
|
-
* {
|
|
76
|
-
* name: "fd1",
|
|
77
|
-
* hostIds: [data.vsphere_host.faultdomain1_hosts.map(__item => __item.id)],
|
|
78
|
-
* },
|
|
79
|
-
* {
|
|
80
|
-
* name: "fd2",
|
|
81
|
-
* hostIds: [data.vsphere_host.faultdomain2_hosts.map(__item => __item.id)],
|
|
82
|
-
* },
|
|
83
|
-
* ],
|
|
84
|
-
* }],
|
|
85
|
-
* vsanStretchedCluster: {
|
|
86
|
-
* preferredFaultDomainHostIds: [data.vsphere_host.preferred_fault_domain_host.map(__item => __item.id)],
|
|
87
|
-
* secondaryFaultDomainHostIds: [data.vsphere_host.secondary_fault_domain_host.map(__item => __item.id)],
|
|
88
|
-
* witnessNode: data.vsphere_host.witness_host.id,
|
|
89
|
-
* },
|
|
90
|
-
* });
|
|
91
|
-
* ```
|
|
92
|
-
* <!--End PulumiCodeChooser -->
|
|
43
|
+
* The name of secondary fault domain.
|
|
93
44
|
*/
|
|
94
45
|
secondaryFaultDomainName?: pulumi.Input<string>;
|
|
95
46
|
/**
|
|
@@ -99,11 +50,11 @@ export interface ComputeClusterVsanStretchedCluster {
|
|
|
99
50
|
}
|
|
100
51
|
export interface ContentLibraryPublication {
|
|
101
52
|
/**
|
|
102
|
-
*
|
|
53
|
+
* Method to authenticate users. Must be `NONE` or `BASIC`.
|
|
103
54
|
*/
|
|
104
55
|
authenticationMethod?: pulumi.Input<string>;
|
|
105
56
|
/**
|
|
106
|
-
* Password used
|
|
57
|
+
* Password used by subscribers to authenticate.
|
|
107
58
|
*/
|
|
108
59
|
password?: pulumi.Input<string>;
|
|
109
60
|
/**
|
|
@@ -115,7 +66,7 @@ export interface ContentLibraryPublication {
|
|
|
115
66
|
*/
|
|
116
67
|
published?: pulumi.Input<boolean>;
|
|
117
68
|
/**
|
|
118
|
-
* Username used
|
|
69
|
+
* Username used by subscribers to authenticate. Currently can only be `vcsp`.
|
|
119
70
|
*/
|
|
120
71
|
username?: pulumi.Input<string>;
|
|
121
72
|
}
|
|
@@ -157,30 +108,25 @@ export interface DistributedPortGroupVlanRange {
|
|
|
157
108
|
}
|
|
158
109
|
export interface DistributedVirtualSwitchHost {
|
|
159
110
|
/**
|
|
160
|
-
*
|
|
161
|
-
* added in order they are specified.
|
|
111
|
+
* Name of the physical NIC to be added to the proxy switch.
|
|
162
112
|
*/
|
|
163
113
|
devices?: pulumi.Input<pulumi.Input<string>[]>;
|
|
164
114
|
/**
|
|
165
|
-
* The
|
|
166
|
-
* VDS.
|
|
115
|
+
* The managed object ID of the host this specification applies to.
|
|
167
116
|
*/
|
|
168
117
|
hostSystemId: pulumi.Input<string>;
|
|
169
118
|
}
|
|
170
119
|
export interface DistributedVirtualSwitchPvlanMapping {
|
|
171
120
|
/**
|
|
172
|
-
* The primary VLAN ID. The VLAN IDs of 0 and
|
|
173
|
-
* 4095 are reserved and cannot be used in this property.
|
|
121
|
+
* The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
174
122
|
*/
|
|
175
123
|
primaryVlanId: pulumi.Input<number>;
|
|
176
124
|
/**
|
|
177
|
-
* The private VLAN type. Valid values are
|
|
178
|
-
* promiscuous, community and isolated.
|
|
125
|
+
* The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
179
126
|
*/
|
|
180
127
|
pvlanType: pulumi.Input<string>;
|
|
181
128
|
/**
|
|
182
|
-
* The secondary VLAN ID. The VLAN IDs of 0
|
|
183
|
-
* and 4095 are reserved and cannot be used in this property.
|
|
129
|
+
* The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
184
130
|
*/
|
|
185
131
|
secondaryVlanId: pulumi.Input<number>;
|
|
186
132
|
}
|
|
@@ -380,11 +326,11 @@ export interface HostPortGroupPort {
|
|
|
380
326
|
}
|
|
381
327
|
export interface VirtualMachineCdrom {
|
|
382
328
|
/**
|
|
383
|
-
* Indicates whether the device should be
|
|
329
|
+
* Indicates whether the device should be mapped to a remote client device
|
|
384
330
|
*/
|
|
385
331
|
clientDevice?: pulumi.Input<boolean>;
|
|
386
332
|
/**
|
|
387
|
-
* The datastore ID
|
|
333
|
+
* The datastore ID the ISO is located on.
|
|
388
334
|
*/
|
|
389
335
|
datastoreId?: pulumi.Input<string>;
|
|
390
336
|
/**
|
|
@@ -396,11 +342,7 @@ export interface VirtualMachineCdrom {
|
|
|
396
342
|
*/
|
|
397
343
|
key?: pulumi.Input<number>;
|
|
398
344
|
/**
|
|
399
|
-
* The path to the ISO file
|
|
400
|
-
*
|
|
401
|
-
* > **NOTE:** Either `clientDevice` (for a remote backed CD-ROM) or `datastoreId` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
402
|
-
*
|
|
403
|
-
* > **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.
|
|
345
|
+
* The path to the ISO file on the datastore.
|
|
404
346
|
*/
|
|
405
347
|
path?: pulumi.Input<string>;
|
|
406
348
|
}
|
|
@@ -470,7 +412,7 @@ export interface VirtualMachineCloneCustomize {
|
|
|
470
412
|
*/
|
|
471
413
|
linuxOptions?: pulumi.Input<inputs.VirtualMachineCloneCustomizeLinuxOptions>;
|
|
472
414
|
/**
|
|
473
|
-
* A specification
|
|
415
|
+
* A specification of network interface configuration options.
|
|
474
416
|
*/
|
|
475
417
|
networkInterfaces?: pulumi.Input<pulumi.Input<inputs.VirtualMachineCloneCustomizeNetworkInterface>[]>;
|
|
476
418
|
/**
|
|
@@ -590,17 +532,15 @@ export interface VirtualMachineCloneCustomizeWindowsOptions {
|
|
|
590
532
|
}
|
|
591
533
|
export interface VirtualMachineDisk {
|
|
592
534
|
/**
|
|
593
|
-
*
|
|
594
|
-
*
|
|
595
|
-
* > **NOTE:** External disks cannot be attached when `datastoreClusterId` is used.
|
|
535
|
+
* If this is true, the disk is attached instead of created. Implies keep_on_remove.
|
|
596
536
|
*/
|
|
597
537
|
attach?: pulumi.Input<boolean>;
|
|
598
538
|
/**
|
|
599
|
-
* The type of
|
|
539
|
+
* The type of controller the disk should be connected to. Must be 'scsi', 'sata', or 'ide'.
|
|
600
540
|
*/
|
|
601
541
|
controllerType?: pulumi.Input<string>;
|
|
602
542
|
/**
|
|
603
|
-
* The datastore ID
|
|
543
|
+
* The datastore ID for this virtual disk, if different than the virtual machine.
|
|
604
544
|
*/
|
|
605
545
|
datastoreId?: pulumi.Input<string>;
|
|
606
546
|
/**
|
|
@@ -608,39 +548,35 @@ export interface VirtualMachineDisk {
|
|
|
608
548
|
*/
|
|
609
549
|
deviceAddress?: pulumi.Input<string>;
|
|
610
550
|
/**
|
|
611
|
-
* The mode of this this virtual disk for purposes of writes and
|
|
612
|
-
*
|
|
613
|
-
* [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
|
|
551
|
+
* 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.
|
|
614
552
|
*/
|
|
615
553
|
diskMode?: pulumi.Input<string>;
|
|
616
554
|
/**
|
|
617
|
-
* The sharing mode of this virtual disk.
|
|
618
|
-
*
|
|
619
|
-
* > **NOTE:** Disk sharing is only available on vSphere 6.0 and later.
|
|
555
|
+
* The sharing mode of this virtual disk. Can be one of sharingMultiWriter or sharingNone.
|
|
620
556
|
*/
|
|
621
557
|
diskSharing?: pulumi.Input<string>;
|
|
622
558
|
/**
|
|
623
|
-
*
|
|
559
|
+
* 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.
|
|
624
560
|
*/
|
|
625
561
|
eagerlyScrub?: pulumi.Input<boolean>;
|
|
626
562
|
/**
|
|
627
|
-
* The upper limit of IOPS that this disk can use.
|
|
563
|
+
* The upper limit of IOPS that this disk can use.
|
|
628
564
|
*/
|
|
629
565
|
ioLimit?: pulumi.Input<number>;
|
|
630
566
|
/**
|
|
631
|
-
* The I/O
|
|
567
|
+
* The I/O guarantee that this disk has, in IOPS.
|
|
632
568
|
*/
|
|
633
569
|
ioReservation?: pulumi.Input<number>;
|
|
634
570
|
/**
|
|
635
|
-
* The share count for
|
|
571
|
+
* The share count for this disk when the share level is custom.
|
|
636
572
|
*/
|
|
637
573
|
ioShareCount?: pulumi.Input<number>;
|
|
638
574
|
/**
|
|
639
|
-
* The share allocation level for
|
|
575
|
+
* The share allocation level for this disk. Can be one of low, normal, high, or custom.
|
|
640
576
|
*/
|
|
641
577
|
ioShareLevel?: pulumi.Input<string>;
|
|
642
578
|
/**
|
|
643
|
-
*
|
|
579
|
+
* Set to true to keep the underlying VMDK file when removing this virtual disk from configuration.
|
|
644
580
|
*/
|
|
645
581
|
keepOnRemove?: pulumi.Input<boolean>;
|
|
646
582
|
/**
|
|
@@ -652,57 +588,53 @@ export interface VirtualMachineDisk {
|
|
|
652
588
|
*/
|
|
653
589
|
label: pulumi.Input<string>;
|
|
654
590
|
/**
|
|
655
|
-
* The path
|
|
656
|
-
*
|
|
657
|
-
* > **NOTE:** Either `clientDevice` (for a remote backed CD-ROM) or `datastoreId` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
658
|
-
*
|
|
659
|
-
* > **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.
|
|
591
|
+
* 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.
|
|
660
592
|
*/
|
|
661
593
|
path?: pulumi.Input<string>;
|
|
662
594
|
/**
|
|
663
|
-
* The size of the disk, in GB.
|
|
595
|
+
* The size of the disk, in GB.
|
|
664
596
|
*/
|
|
665
597
|
size?: pulumi.Input<number>;
|
|
666
598
|
/**
|
|
667
|
-
* The
|
|
599
|
+
* The ID of the storage policy to assign to the virtual disk in VM.
|
|
668
600
|
*/
|
|
669
601
|
storagePolicyId?: pulumi.Input<string>;
|
|
670
602
|
/**
|
|
671
|
-
* If
|
|
603
|
+
* If true, this disk is thin provisioned, with space for the file being allocated on an as-needed basis.
|
|
672
604
|
*/
|
|
673
605
|
thinProvisioned?: pulumi.Input<boolean>;
|
|
674
606
|
/**
|
|
675
|
-
* The
|
|
607
|
+
* The unique device number for this disk. This number determines where on the SCSI bus this device will be attached.
|
|
676
608
|
*/
|
|
677
609
|
unitNumber?: pulumi.Input<number>;
|
|
678
610
|
/**
|
|
679
|
-
* The UUID of the virtual
|
|
611
|
+
* The UUID of the virtual machine. Also exposed as the `id` of the resource.
|
|
680
612
|
*/
|
|
681
613
|
uuid?: pulumi.Input<string>;
|
|
682
614
|
/**
|
|
683
|
-
* If
|
|
615
|
+
* If true, writes for this disk are sent directly to the filesystem immediately instead of being buffered.
|
|
684
616
|
*/
|
|
685
617
|
writeThrough?: pulumi.Input<boolean>;
|
|
686
618
|
}
|
|
687
619
|
export interface VirtualMachineNetworkInterface {
|
|
688
620
|
/**
|
|
689
|
-
* The
|
|
621
|
+
* The controller type. Can be one of e1000, e1000e, sriov, vmxnet3, or vrdma.
|
|
690
622
|
*/
|
|
691
623
|
adapterType?: pulumi.Input<string>;
|
|
692
624
|
/**
|
|
693
|
-
* The upper bandwidth limit of
|
|
625
|
+
* The upper bandwidth limit of this network interface, in Mbits/sec.
|
|
694
626
|
*/
|
|
695
627
|
bandwidthLimit?: pulumi.Input<number>;
|
|
696
628
|
/**
|
|
697
|
-
* The bandwidth reservation of
|
|
629
|
+
* The bandwidth reservation of this network interface, in Mbits/sec.
|
|
698
630
|
*/
|
|
699
631
|
bandwidthReservation?: pulumi.Input<number>;
|
|
700
632
|
/**
|
|
701
|
-
* The share count for
|
|
633
|
+
* The share count for this network interface when the share level is custom.
|
|
702
634
|
*/
|
|
703
635
|
bandwidthShareCount?: pulumi.Input<number>;
|
|
704
636
|
/**
|
|
705
|
-
* The bandwidth share allocation level for
|
|
637
|
+
* The bandwidth share allocation level for this interface. Can be one of low, normal, high, or custom.
|
|
706
638
|
*/
|
|
707
639
|
bandwidthShareLevel?: pulumi.Input<string>;
|
|
708
640
|
/**
|
|
@@ -714,15 +646,15 @@ export interface VirtualMachineNetworkInterface {
|
|
|
714
646
|
*/
|
|
715
647
|
key?: pulumi.Input<number>;
|
|
716
648
|
/**
|
|
717
|
-
* The MAC address of
|
|
649
|
+
* The MAC address of this network interface. Can only be manually set if useStaticMac is true.
|
|
718
650
|
*/
|
|
719
651
|
macAddress?: pulumi.Input<string>;
|
|
720
652
|
/**
|
|
721
|
-
* The
|
|
653
|
+
* The ID of the network to connect this network interface to.
|
|
722
654
|
*/
|
|
723
655
|
networkId: pulumi.Input<string>;
|
|
724
656
|
/**
|
|
725
|
-
*
|
|
657
|
+
* Mapping of network interface to OVF network.
|
|
726
658
|
*/
|
|
727
659
|
ovfMapping?: pulumi.Input<string>;
|
|
728
660
|
/**
|
|
@@ -730,7 +662,7 @@ export interface VirtualMachineNetworkInterface {
|
|
|
730
662
|
*/
|
|
731
663
|
physicalFunction?: pulumi.Input<string>;
|
|
732
664
|
/**
|
|
733
|
-
* If true, the
|
|
665
|
+
* If true, the macAddress field is treated as a static MAC address and set accordingly.
|
|
734
666
|
*/
|
|
735
667
|
useStaticMac?: pulumi.Input<boolean>;
|
|
736
668
|
}
|
|
@@ -798,19 +730,19 @@ export interface VmStoragePolicyTagRule {
|
|
|
798
730
|
}
|
|
799
731
|
export interface VnicIpv4 {
|
|
800
732
|
/**
|
|
801
|
-
* Use DHCP to configure the interface's
|
|
733
|
+
* Use DHCP to configure the interface's IPv4 stack.
|
|
802
734
|
*/
|
|
803
735
|
dhcp?: pulumi.Input<boolean>;
|
|
804
736
|
/**
|
|
805
|
-
* IP address of the default gateway, if DHCP
|
|
737
|
+
* IP address of the default gateway, if DHCP is not set.
|
|
806
738
|
*/
|
|
807
739
|
gw?: pulumi.Input<string>;
|
|
808
740
|
/**
|
|
809
|
-
*
|
|
741
|
+
* address of the interface, if DHCP is not set.
|
|
810
742
|
*/
|
|
811
743
|
ip?: pulumi.Input<string>;
|
|
812
744
|
/**
|
|
813
|
-
*
|
|
745
|
+
* netmask of the interface, if DHCP is not set.
|
|
814
746
|
*/
|
|
815
747
|
netmask?: pulumi.Input<string>;
|
|
816
748
|
}
|
|
@@ -824,7 +756,7 @@ export interface VnicIpv6 {
|
|
|
824
756
|
*/
|
|
825
757
|
autoconfig?: pulumi.Input<boolean>;
|
|
826
758
|
/**
|
|
827
|
-
* Use DHCP to configure the interface's
|
|
759
|
+
* Use DHCP to configure the interface's IPv4 stack.
|
|
828
760
|
*/
|
|
829
761
|
dhcp?: pulumi.Input<boolean>;
|
|
830
762
|
/**
|