@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.
Files changed (129) hide show
  1. package/computeCluster.d.ts +297 -633
  2. package/computeCluster.js.map +1 -1
  3. package/computeClusterVmAffinityRule.d.ts +14 -8
  4. package/computeClusterVmAffinityRule.js +14 -8
  5. package/computeClusterVmAffinityRule.js.map +1 -1
  6. package/datacenter.d.ts +14 -6
  7. package/datacenter.js +14 -6
  8. package/datacenter.js.map +1 -1
  9. package/datastoreCluster.d.ts +72 -156
  10. package/datastoreCluster.js.map +1 -1
  11. package/distributedPortGroup.d.ts +30 -75
  12. package/distributedPortGroup.js.map +1 -1
  13. package/distributedVirtualSwitch.d.ts +132 -345
  14. package/distributedVirtualSwitch.js.map +1 -1
  15. package/file.d.ts +8 -12
  16. package/file.js +8 -12
  17. package/file.js.map +1 -1
  18. package/getComputeCluster.d.ts +0 -4
  19. package/getComputeCluster.js +0 -4
  20. package/getComputeCluster.js.map +1 -1
  21. package/getComputeClusterHostGroup.d.ts +8 -10
  22. package/getComputeClusterHostGroup.js +8 -10
  23. package/getComputeClusterHostGroup.js.map +1 -1
  24. package/getContentLibrary.d.ts +0 -4
  25. package/getContentLibrary.js +0 -4
  26. package/getContentLibrary.js.map +1 -1
  27. package/getCustomAttribute.d.ts +0 -4
  28. package/getCustomAttribute.js +0 -4
  29. package/getCustomAttribute.js.map +1 -1
  30. package/getDatacenter.d.ts +0 -4
  31. package/getDatacenter.js +0 -4
  32. package/getDatacenter.js.map +1 -1
  33. package/getDatastore.d.ts +0 -4
  34. package/getDatastore.js +0 -4
  35. package/getDatastore.js.map +1 -1
  36. package/getDatastoreCluster.d.ts +0 -4
  37. package/getDatastoreCluster.js +0 -4
  38. package/getDatastoreCluster.js.map +1 -1
  39. package/getDatastoreStats.d.ts +4 -12
  40. package/getDatastoreStats.js +4 -12
  41. package/getDatastoreStats.js.map +1 -1
  42. package/getDistributedVirtualSwitch.d.ts +2 -4
  43. package/getDistributedVirtualSwitch.js +2 -4
  44. package/getDistributedVirtualSwitch.js.map +1 -1
  45. package/getDynamic.d.ts +4 -8
  46. package/getDynamic.js +4 -8
  47. package/getDynamic.js.map +1 -1
  48. package/getFolder.d.ts +0 -4
  49. package/getFolder.js +0 -4
  50. package/getFolder.js.map +1 -1
  51. package/getGuestOsCustomization.d.ts +0 -4
  52. package/getGuestOsCustomization.js +0 -4
  53. package/getGuestOsCustomization.js.map +1 -1
  54. package/getHost.d.ts +0 -4
  55. package/getHost.js +0 -4
  56. package/getHost.js.map +1 -1
  57. package/getHostPciDevice.d.ts +10 -18
  58. package/getHostPciDevice.js +10 -18
  59. package/getHostPciDevice.js.map +1 -1
  60. package/getHostThumbprint.d.ts +0 -4
  61. package/getHostThumbprint.js +0 -4
  62. package/getHostThumbprint.js.map +1 -1
  63. package/getHostVgpuProfile.d.ts +0 -8
  64. package/getHostVgpuProfile.js +0 -8
  65. package/getHostVgpuProfile.js.map +1 -1
  66. package/getLicense.d.ts +0 -4
  67. package/getLicense.js +0 -4
  68. package/getLicense.js.map +1 -1
  69. package/getNetwork.d.ts +0 -4
  70. package/getNetwork.js +0 -4
  71. package/getNetwork.js.map +1 -1
  72. package/getPolicy.d.ts +0 -4
  73. package/getPolicy.js +0 -4
  74. package/getPolicy.js.map +1 -1
  75. package/getResourcePool.d.ts +2 -10
  76. package/getResourcePool.js +2 -10
  77. package/getResourcePool.js.map +1 -1
  78. package/getRole.d.ts +0 -4
  79. package/getRole.js +0 -4
  80. package/getRole.js.map +1 -1
  81. package/getTag.d.ts +0 -4
  82. package/getTag.js +0 -4
  83. package/getTag.js.map +1 -1
  84. package/getTagCategory.d.ts +0 -4
  85. package/getTagCategory.js +0 -4
  86. package/getTagCategory.js.map +1 -1
  87. package/getVappContainer.d.ts +0 -4
  88. package/getVappContainer.js +0 -4
  89. package/getVappContainer.js.map +1 -1
  90. package/getVirtualMachine.d.ts +0 -8
  91. package/getVirtualMachine.js +0 -8
  92. package/getVirtualMachine.js.map +1 -1
  93. package/getVmfsDisks.d.ts +0 -4
  94. package/getVmfsDisks.js +0 -4
  95. package/getVmfsDisks.js.map +1 -1
  96. package/guestOsCustomization.d.ts +26 -0
  97. package/guestOsCustomization.js +26 -0
  98. package/guestOsCustomization.js.map +1 -1
  99. package/haVmOverride.d.ts +81 -162
  100. package/haVmOverride.js.map +1 -1
  101. package/host.d.ts +0 -10
  102. package/host.js +0 -10
  103. package/host.js.map +1 -1
  104. package/hostPortGroup.d.ts +6 -12
  105. package/hostPortGroup.js +6 -12
  106. package/hostPortGroup.js.map +1 -1
  107. package/hostVirtualSwitch.d.ts +60 -123
  108. package/hostVirtualSwitch.js.map +1 -1
  109. package/license.d.ts +0 -17
  110. package/license.js +0 -17
  111. package/license.js.map +1 -1
  112. package/package.json +1 -1
  113. package/resourcePool.d.ts +27 -11
  114. package/resourcePool.js +27 -11
  115. package/resourcePool.js.map +1 -1
  116. package/types/input.d.ts +48 -116
  117. package/types/output.d.ts +48 -116
  118. package/virtualDisk.d.ts +3 -3
  119. package/virtualMachine.d.ts +248 -359
  120. package/virtualMachine.js.map +1 -1
  121. package/virtualMachineSnapshot.d.ts +3 -5
  122. package/virtualMachineSnapshot.js +3 -5
  123. package/virtualMachineSnapshot.js.map +1 -1
  124. package/vmStoragePolicy.d.ts +28 -34
  125. package/vmStoragePolicy.js +28 -34
  126. package/vmStoragePolicy.js.map +1 -1
  127. package/vnic.d.ts +4 -10
  128. package/vnic.js +4 -10
  129. package/vnic.js.map +1 -1
@@ -9,6 +9,32 @@ const utilities = require("./utilities");
9
9
  * The `vsphere.GuestOsCustomization` resource can be used to a customization specification for a guest operating system.
10
10
  *
11
11
  * > **NOTE:** The name attribute is unique identifier for the guest OS spec per VC.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as vsphere from "@pulumi/vsphere";
18
+ *
19
+ * const windowsCustomization = new vsphere.GuestOsCustomization("windows_customization", {
20
+ * name: "windows-spec",
21
+ * type: "Windows",
22
+ * spec: {
23
+ * windowsOptions: {
24
+ * runOnceCommandLists: [
25
+ * "command-1",
26
+ * "command-2",
27
+ * ],
28
+ * computerName: "windows",
29
+ * autoLogon: false,
30
+ * autoLogonCount: 0,
31
+ * adminPassword: "VMware1!",
32
+ * timeZone: 4,
33
+ * workgroup: "workgroup",
34
+ * },
35
+ * },
36
+ * });
37
+ * ```
12
38
  */
13
39
  class GuestOsCustomization extends pulumi.CustomResource {
14
40
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"guestOsCustomization.js","sourceRoot":"","sources":["../guestOsCustomization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,eAAe,CAAC,GAAG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,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAzFL,oDA0FC;AA5EG,gBAAgB;AACO,iCAAY,GAAG,yDAAyD,CAAC"}
package/haVmOverride.d.ts CHANGED
@@ -16,102 +16,75 @@ export declare class HaVmOverride extends pulumi.CustomResource {
16
16
  */
17
17
  static isInstance(obj: any): obj is HaVmOverride;
18
18
  /**
19
- * The managed object reference
20
- * ID of the cluster to put the override in. Forces a new
21
- * resource if changed.
19
+ * The managed object ID of the cluster.
22
20
  */
23
21
  readonly computeClusterId: pulumi.Output<string>;
24
22
  /**
25
- * Controls the action to take
26
- * on this virtual machine if an APD status on an affected datastore clears in
27
- * the middle of an APD event. Can be one of `useClusterDefault`, `none` or
28
- * `reset`. Default: `useClusterDefault`.
23
+ * Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
24
+ * APD event. Can be one of useClusterDefault, none or reset.
29
25
  */
30
26
  readonly haDatastoreApdRecoveryAction: pulumi.Output<string | undefined>;
31
27
  /**
32
- * Controls the action to take on this
33
- * virtual machine when the cluster has detected loss to all paths to a relevant
34
- * datastore. Can be one of `clusterDefault`, `disabled`, `warning`,
35
- * `restartConservative`, or `restartAggressive`. Default: `clusterDefault`.
28
+ * Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
29
+ * datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
36
30
  */
37
31
  readonly haDatastoreApdResponse: pulumi.Output<string | undefined>;
38
32
  /**
39
- * Controls the delay in seconds
40
- * to wait after an APD timeout event to execute the response action defined in
41
- * `haDatastoreApdResponse`. Use `-1` to use
42
- * the cluster default. Default: `-1`.
33
+ * Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
34
+ * ha_datastore_apd_response. Specify -1 to use the cluster setting.
43
35
  */
44
36
  readonly haDatastoreApdResponseDelay: pulumi.Output<number | undefined>;
45
37
  /**
46
- * Controls the action to take on this
47
- * virtual machine when the cluster has detected a permanent device loss to a
48
- * relevant datastore. Can be one of `clusterDefault`, `disabled`, `warning`, or
49
- * `restartAggressive`. Default: `clusterDefault`.
38
+ * Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
39
+ * datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
50
40
  */
51
41
  readonly haDatastorePdlResponse: pulumi.Output<string | undefined>;
52
42
  /**
53
- * The action to take on this virtual
54
- * machine when a host has detected that it has been isolated from the rest of
55
- * the cluster. Can be one of `clusterIsolationResponse`, `none`, `powerOff`, or
56
- * `shutdown`. Default: `clusterIsolationResponse`.
43
+ * The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
44
+ * clusterIsolationResponse, none, powerOff, or shutdown.
57
45
  */
58
46
  readonly haHostIsolationResponse: pulumi.Output<string | undefined>;
59
47
  /**
60
- * If a heartbeat from this virtual
61
- * machine is not received within this configured interval, the virtual machine
62
- * is marked as failed. The value is in seconds. Default: `30`.
48
+ * If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
49
+ * as failed. The value is in seconds.
63
50
  */
64
51
  readonly haVmFailureInterval: pulumi.Output<number | undefined>;
65
52
  /**
66
- * The length of the reset window in
67
- * which `haVmMaximumResets` can operate. When this
68
- * window expires, no more resets are attempted regardless of the setting
69
- * configured in `haVmMaximumResets`. `-1` means no window, meaning an
70
- * unlimited reset time is allotted. The value is specified in seconds. Default:
71
- * `-1` (no window).
53
+ * The length of the reset window in which haVmMaximumResets can operate. When this window expires, no more resets are
54
+ * attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
55
+ * time is allotted.
72
56
  */
73
57
  readonly haVmMaximumFailureWindow: pulumi.Output<number | undefined>;
74
58
  /**
75
- * The maximum number of resets that HA will
76
- * perform to this virtual machine when responding to a failure event. Default:
77
- * `3`
59
+ * The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
78
60
  */
79
61
  readonly haVmMaximumResets: pulumi.Output<number | undefined>;
80
62
  /**
81
- * The time, in seconds, that HA waits after
82
- * powering on this virtual machine before monitoring for heartbeats. Default:
83
- * `120` (2 minutes).
63
+ * The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
84
64
  */
85
65
  readonly haVmMinimumUptime: pulumi.Output<number | undefined>;
86
66
  /**
87
- * The type of virtual machine monitoring to use
88
- * when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
89
- * `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
67
+ * The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
68
+ * vmMonitoringOnly, or vmAndAppMonitoring.
90
69
  */
91
70
  readonly haVmMonitoring: pulumi.Output<string | undefined>;
92
71
  /**
93
- * Determines whether or
94
- * not the cluster's default settings or the VM override settings specified in
95
- * this resource are used for virtual machine monitoring. The default is `true`
96
- * (use cluster defaults) - set to `false` to have overrides take effect.
72
+ * Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
73
+ * for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
97
74
  */
98
75
  readonly haVmMonitoringUseClusterDefaults: pulumi.Output<boolean | undefined>;
99
76
  /**
100
- * The restart priority for the virtual
101
- * machine when vSphere detects a host failure. Can be one of
102
- * `clusterRestartPriority`, `lowest`, `low`, `medium`, `high`, `highest`, or `disabled`.
103
- * Default: `clusterRestartPriority`.
77
+ * The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
78
+ * lowest, low, medium, high, or highest.
104
79
  */
105
80
  readonly haVmRestartPriority: pulumi.Output<string | undefined>;
106
81
  /**
107
- * The maximum time, in seconds, that
108
- * vSphere HA will wait for this virtual machine to be ready. Use `-1` to
109
- * specify the cluster default. Default: `-1`.
82
+ * The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
83
+ * default.
110
84
  */
111
85
  readonly haVmRestartTimeout: pulumi.Output<number | undefined>;
112
86
  /**
113
- * The UUID of the virtual machine to create
114
- * the override for. Forces a new resource if changed.
87
+ * The managed object ID of the virtual machine.
115
88
  */
116
89
  readonly virtualMachineId: pulumi.Output<string>;
117
90
  /**
@@ -128,102 +101,75 @@ export declare class HaVmOverride extends pulumi.CustomResource {
128
101
  */
129
102
  export interface HaVmOverrideState {
130
103
  /**
131
- * The managed object reference
132
- * ID of the cluster to put the override in. Forces a new
133
- * resource if changed.
104
+ * The managed object ID of the cluster.
134
105
  */
135
106
  computeClusterId?: pulumi.Input<string>;
136
107
  /**
137
- * Controls the action to take
138
- * on this virtual machine if an APD status on an affected datastore clears in
139
- * the middle of an APD event. Can be one of `useClusterDefault`, `none` or
140
- * `reset`. Default: `useClusterDefault`.
108
+ * Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
109
+ * APD event. Can be one of useClusterDefault, none or reset.
141
110
  */
142
111
  haDatastoreApdRecoveryAction?: pulumi.Input<string>;
143
112
  /**
144
- * Controls the action to take on this
145
- * virtual machine when the cluster has detected loss to all paths to a relevant
146
- * datastore. Can be one of `clusterDefault`, `disabled`, `warning`,
147
- * `restartConservative`, or `restartAggressive`. Default: `clusterDefault`.
113
+ * Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
114
+ * datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
148
115
  */
149
116
  haDatastoreApdResponse?: pulumi.Input<string>;
150
117
  /**
151
- * Controls the delay in seconds
152
- * to wait after an APD timeout event to execute the response action defined in
153
- * `haDatastoreApdResponse`. Use `-1` to use
154
- * the cluster default. Default: `-1`.
118
+ * Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
119
+ * ha_datastore_apd_response. Specify -1 to use the cluster setting.
155
120
  */
156
121
  haDatastoreApdResponseDelay?: pulumi.Input<number>;
157
122
  /**
158
- * Controls the action to take on this
159
- * virtual machine when the cluster has detected a permanent device loss to a
160
- * relevant datastore. Can be one of `clusterDefault`, `disabled`, `warning`, or
161
- * `restartAggressive`. Default: `clusterDefault`.
123
+ * Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
124
+ * datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
162
125
  */
163
126
  haDatastorePdlResponse?: pulumi.Input<string>;
164
127
  /**
165
- * The action to take on this virtual
166
- * machine when a host has detected that it has been isolated from the rest of
167
- * the cluster. Can be one of `clusterIsolationResponse`, `none`, `powerOff`, or
168
- * `shutdown`. Default: `clusterIsolationResponse`.
128
+ * The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
129
+ * clusterIsolationResponse, none, powerOff, or shutdown.
169
130
  */
170
131
  haHostIsolationResponse?: pulumi.Input<string>;
171
132
  /**
172
- * If a heartbeat from this virtual
173
- * machine is not received within this configured interval, the virtual machine
174
- * is marked as failed. The value is in seconds. Default: `30`.
133
+ * If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
134
+ * as failed. The value is in seconds.
175
135
  */
176
136
  haVmFailureInterval?: pulumi.Input<number>;
177
137
  /**
178
- * The length of the reset window in
179
- * which `haVmMaximumResets` can operate. When this
180
- * window expires, no more resets are attempted regardless of the setting
181
- * configured in `haVmMaximumResets`. `-1` means no window, meaning an
182
- * unlimited reset time is allotted. The value is specified in seconds. Default:
183
- * `-1` (no window).
138
+ * The length of the reset window in which haVmMaximumResets can operate. When this window expires, no more resets are
139
+ * attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
140
+ * time is allotted.
184
141
  */
185
142
  haVmMaximumFailureWindow?: pulumi.Input<number>;
186
143
  /**
187
- * The maximum number of resets that HA will
188
- * perform to this virtual machine when responding to a failure event. Default:
189
- * `3`
144
+ * The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
190
145
  */
191
146
  haVmMaximumResets?: pulumi.Input<number>;
192
147
  /**
193
- * The time, in seconds, that HA waits after
194
- * powering on this virtual machine before monitoring for heartbeats. Default:
195
- * `120` (2 minutes).
148
+ * The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
196
149
  */
197
150
  haVmMinimumUptime?: pulumi.Input<number>;
198
151
  /**
199
- * The type of virtual machine monitoring to use
200
- * when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
201
- * `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
152
+ * The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
153
+ * vmMonitoringOnly, or vmAndAppMonitoring.
202
154
  */
203
155
  haVmMonitoring?: pulumi.Input<string>;
204
156
  /**
205
- * Determines whether or
206
- * not the cluster's default settings or the VM override settings specified in
207
- * this resource are used for virtual machine monitoring. The default is `true`
208
- * (use cluster defaults) - set to `false` to have overrides take effect.
157
+ * Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
158
+ * for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
209
159
  */
210
160
  haVmMonitoringUseClusterDefaults?: pulumi.Input<boolean>;
211
161
  /**
212
- * The restart priority for the virtual
213
- * machine when vSphere detects a host failure. Can be one of
214
- * `clusterRestartPriority`, `lowest`, `low`, `medium`, `high`, `highest`, or `disabled`.
215
- * Default: `clusterRestartPriority`.
162
+ * The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
163
+ * lowest, low, medium, high, or highest.
216
164
  */
217
165
  haVmRestartPriority?: pulumi.Input<string>;
218
166
  /**
219
- * The maximum time, in seconds, that
220
- * vSphere HA will wait for this virtual machine to be ready. Use `-1` to
221
- * specify the cluster default. Default: `-1`.
167
+ * The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
168
+ * default.
222
169
  */
223
170
  haVmRestartTimeout?: pulumi.Input<number>;
224
171
  /**
225
- * The UUID of the virtual machine to create
226
- * the override for. Forces a new resource if changed.
172
+ * The managed object ID of the virtual machine.
227
173
  */
228
174
  virtualMachineId?: pulumi.Input<string>;
229
175
  }
@@ -232,102 +178,75 @@ export interface HaVmOverrideState {
232
178
  */
233
179
  export interface HaVmOverrideArgs {
234
180
  /**
235
- * The managed object reference
236
- * ID of the cluster to put the override in. Forces a new
237
- * resource if changed.
181
+ * The managed object ID of the cluster.
238
182
  */
239
183
  computeClusterId: pulumi.Input<string>;
240
184
  /**
241
- * Controls the action to take
242
- * on this virtual machine if an APD status on an affected datastore clears in
243
- * the middle of an APD event. Can be one of `useClusterDefault`, `none` or
244
- * `reset`. Default: `useClusterDefault`.
185
+ * Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
186
+ * APD event. Can be one of useClusterDefault, none or reset.
245
187
  */
246
188
  haDatastoreApdRecoveryAction?: pulumi.Input<string>;
247
189
  /**
248
- * Controls the action to take on this
249
- * virtual machine when the cluster has detected loss to all paths to a relevant
250
- * datastore. Can be one of `clusterDefault`, `disabled`, `warning`,
251
- * `restartConservative`, or `restartAggressive`. Default: `clusterDefault`.
190
+ * Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
191
+ * datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
252
192
  */
253
193
  haDatastoreApdResponse?: pulumi.Input<string>;
254
194
  /**
255
- * Controls the delay in seconds
256
- * to wait after an APD timeout event to execute the response action defined in
257
- * `haDatastoreApdResponse`. Use `-1` to use
258
- * the cluster default. Default: `-1`.
195
+ * Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
196
+ * ha_datastore_apd_response. Specify -1 to use the cluster setting.
259
197
  */
260
198
  haDatastoreApdResponseDelay?: pulumi.Input<number>;
261
199
  /**
262
- * Controls the action to take on this
263
- * virtual machine when the cluster has detected a permanent device loss to a
264
- * relevant datastore. Can be one of `clusterDefault`, `disabled`, `warning`, or
265
- * `restartAggressive`. Default: `clusterDefault`.
200
+ * Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
201
+ * datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
266
202
  */
267
203
  haDatastorePdlResponse?: pulumi.Input<string>;
268
204
  /**
269
- * The action to take on this virtual
270
- * machine when a host has detected that it has been isolated from the rest of
271
- * the cluster. Can be one of `clusterIsolationResponse`, `none`, `powerOff`, or
272
- * `shutdown`. Default: `clusterIsolationResponse`.
205
+ * The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
206
+ * clusterIsolationResponse, none, powerOff, or shutdown.
273
207
  */
274
208
  haHostIsolationResponse?: pulumi.Input<string>;
275
209
  /**
276
- * If a heartbeat from this virtual
277
- * machine is not received within this configured interval, the virtual machine
278
- * is marked as failed. The value is in seconds. Default: `30`.
210
+ * If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
211
+ * as failed. The value is in seconds.
279
212
  */
280
213
  haVmFailureInterval?: pulumi.Input<number>;
281
214
  /**
282
- * The length of the reset window in
283
- * which `haVmMaximumResets` can operate. When this
284
- * window expires, no more resets are attempted regardless of the setting
285
- * configured in `haVmMaximumResets`. `-1` means no window, meaning an
286
- * unlimited reset time is allotted. The value is specified in seconds. Default:
287
- * `-1` (no window).
215
+ * The length of the reset window in which haVmMaximumResets can operate. When this window expires, no more resets are
216
+ * attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
217
+ * time is allotted.
288
218
  */
289
219
  haVmMaximumFailureWindow?: pulumi.Input<number>;
290
220
  /**
291
- * The maximum number of resets that HA will
292
- * perform to this virtual machine when responding to a failure event. Default:
293
- * `3`
221
+ * The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
294
222
  */
295
223
  haVmMaximumResets?: pulumi.Input<number>;
296
224
  /**
297
- * The time, in seconds, that HA waits after
298
- * powering on this virtual machine before monitoring for heartbeats. Default:
299
- * `120` (2 minutes).
225
+ * The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
300
226
  */
301
227
  haVmMinimumUptime?: pulumi.Input<number>;
302
228
  /**
303
- * The type of virtual machine monitoring to use
304
- * when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
305
- * `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
229
+ * The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
230
+ * vmMonitoringOnly, or vmAndAppMonitoring.
306
231
  */
307
232
  haVmMonitoring?: pulumi.Input<string>;
308
233
  /**
309
- * Determines whether or
310
- * not the cluster's default settings or the VM override settings specified in
311
- * this resource are used for virtual machine monitoring. The default is `true`
312
- * (use cluster defaults) - set to `false` to have overrides take effect.
234
+ * Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
235
+ * for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
313
236
  */
314
237
  haVmMonitoringUseClusterDefaults?: pulumi.Input<boolean>;
315
238
  /**
316
- * The restart priority for the virtual
317
- * machine when vSphere detects a host failure. Can be one of
318
- * `clusterRestartPriority`, `lowest`, `low`, `medium`, `high`, `highest`, or `disabled`.
319
- * Default: `clusterRestartPriority`.
239
+ * The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
240
+ * lowest, low, medium, high, or highest.
320
241
  */
321
242
  haVmRestartPriority?: pulumi.Input<string>;
322
243
  /**
323
- * The maximum time, in seconds, that
324
- * vSphere HA will wait for this virtual machine to be ready. Use `-1` to
325
- * specify the cluster default. Default: `-1`.
244
+ * The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
245
+ * default.
326
246
  */
327
247
  haVmRestartTimeout?: pulumi.Input<number>;
328
248
  /**
329
- * The UUID of the virtual machine to create
330
- * the override for. Forces a new resource if changed.
249
+ * The managed object ID of the virtual machine.
331
250
  */
332
251
  virtualMachineId: pulumi.Input<string>;
333
252
  }
@@ -1 +1 @@
1
- {"version":3,"file":"haVmOverride.js","sourceRoot":"","sources":["../haVmOverride.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,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,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA8GD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,I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I,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;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;;AA3JL,oCA4JC;AA9IG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
package/host.d.ts CHANGED
@@ -7,7 +7,6 @@ import * as pulumi from "@pulumi/pulumi";
7
7
  *
8
8
  * ### Create a standalone host
9
9
  *
10
- * <!--Start PulumiCodeChooser -->
11
10
  * ```typescript
12
11
  * import * as pulumi from "@pulumi/pulumi";
13
12
  * import * as vsphere from "@pulumi/vsphere";
@@ -28,11 +27,9 @@ import * as pulumi from "@pulumi/pulumi";
28
27
  * datacenter: datacenter.then(datacenter => datacenter.id),
29
28
  * });
30
29
  * ```
31
- * <!--End PulumiCodeChooser -->
32
30
  *
33
31
  * ### Create host in a compute cluster
34
32
  *
35
- * <!--Start PulumiCodeChooser -->
36
33
  * ```typescript
37
34
  * import * as pulumi from "@pulumi/pulumi";
38
35
  * import * as vsphere from "@pulumi/vsphere";
@@ -57,7 +54,6 @@ import * as pulumi from "@pulumi/pulumi";
57
54
  * cluster: cluster.then(cluster => cluster.id),
58
55
  * });
59
56
  * ```
60
- * <!--End PulumiCodeChooser -->
61
57
  *
62
58
  * ## Importing
63
59
  *
@@ -66,12 +62,6 @@ import * as pulumi from "@pulumi/pulumi";
66
62
  *
67
63
  * [docs-import]: /docs/import/index.html
68
64
  *
69
- * <!--Start PulumiCodeChooser -->
70
- * ```typescript
71
- * import * as pulumi from "@pulumi/pulumi";
72
- * ```
73
- * <!--End PulumiCodeChooser -->
74
- *
75
65
  * The above would import the host with ID `host-123`.
76
66
  */
77
67
  export declare class Host extends pulumi.CustomResource {
package/host.js CHANGED
@@ -13,7 +13,6 @@ const utilities = require("./utilities");
13
13
  *
14
14
  * ### Create a standalone host
15
15
  *
16
- * <!--Start PulumiCodeChooser -->
17
16
  * ```typescript
18
17
  * import * as pulumi from "@pulumi/pulumi";
19
18
  * import * as vsphere from "@pulumi/vsphere";
@@ -34,11 +33,9 @@ const utilities = require("./utilities");
34
33
  * datacenter: datacenter.then(datacenter => datacenter.id),
35
34
  * });
36
35
  * ```
37
- * <!--End PulumiCodeChooser -->
38
36
  *
39
37
  * ### Create host in a compute cluster
40
38
  *
41
- * <!--Start PulumiCodeChooser -->
42
39
  * ```typescript
43
40
  * import * as pulumi from "@pulumi/pulumi";
44
41
  * import * as vsphere from "@pulumi/vsphere";
@@ -63,7 +60,6 @@ const utilities = require("./utilities");
63
60
  * cluster: cluster.then(cluster => cluster.id),
64
61
  * });
65
62
  * ```
66
- * <!--End PulumiCodeChooser -->
67
63
  *
68
64
  * ## Importing
69
65
  *
@@ -72,12 +68,6 @@ const utilities = require("./utilities");
72
68
  *
73
69
  * [docs-import]: /docs/import/index.html
74
70
  *
75
- * <!--Start PulumiCodeChooser -->
76
- * ```typescript
77
- * import * as pulumi from "@pulumi/pulumi";
78
- * ```
79
- * <!--End PulumiCodeChooser -->
80
- *
81
71
  * The above would import the host with ID `host-123`.
82
72
  */
83
73
  class Host extends pulumi.CustomResource {
package/host.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"host.js","sourceRoot":"","sources":["../host.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QA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I,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACvF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA3KL,oBA4KC;AA9JG,gBAAgB;AACO,iBAAY,GAAG,yBAAyB,CAAC"}
@@ -15,7 +15,6 @@ import * as outputs from "./types/output";
15
15
  *
16
16
  * **Create a Virtual Switch and Bind a Port Group:**
17
17
  *
18
- * <!--Start PulumiCodeChooser -->
19
18
  * ```typescript
20
19
  * import * as pulumi from "@pulumi/pulumi";
21
20
  * import * as vsphere from "@pulumi/vsphere";
@@ -27,7 +26,8 @@ import * as outputs from "./types/output";
27
26
  * name: "esxi-01.example.com",
28
27
  * datacenterId: datacenter.id,
29
28
  * }));
30
- * const hostVirtualSwitch = new vsphere.HostVirtualSwitch("hostVirtualSwitch", {
29
+ * const hostVirtualSwitch = new vsphere.HostVirtualSwitch("host_virtual_switch", {
30
+ * name: "switch-01",
31
31
  * hostSystemId: host.then(host => host.id),
32
32
  * networkAdapters: [
33
33
  * "vmnic0",
@@ -37,11 +37,11 @@ import * as outputs from "./types/output";
37
37
  * standbyNics: ["vmnic1"],
38
38
  * });
39
39
  * const pg = new vsphere.HostPortGroup("pg", {
40
+ * name: "portgroup-01",
40
41
  * hostSystemId: host.then(host => host.id),
41
42
  * virtualSwitchName: hostVirtualSwitch.name,
42
43
  * });
43
44
  * ```
44
- * <!--End PulumiCodeChooser -->
45
45
  *
46
46
  * **Create a Port Group with a VLAN and ab Override:**
47
47
  *
@@ -51,7 +51,6 @@ import * as outputs from "./types/output";
51
51
  * to ensure that all traffic is seen on the port. The setting overrides
52
52
  * the implicit default of `false` set on the standard switch.
53
53
  *
54
- * <!--Start PulumiCodeChooser -->
55
54
  * ```typescript
56
55
  * import * as pulumi from "@pulumi/pulumi";
57
56
  * import * as vsphere from "@pulumi/vsphere";
@@ -63,7 +62,8 @@ import * as outputs from "./types/output";
63
62
  * name: "esxi-01.example.com",
64
63
  * datacenterId: datacenter.id,
65
64
  * }));
66
- * const hostVirtualSwitch = new vsphere.HostVirtualSwitch("hostVirtualSwitch", {
65
+ * const hostVirtualSwitch = new vsphere.HostVirtualSwitch("host_virtual_switch", {
66
+ * name: "switch-01",
67
67
  * hostSystemId: host.then(host => host.id),
68
68
  * networkAdapters: [
69
69
  * "vmnic0",
@@ -73,25 +73,19 @@ import * as outputs from "./types/output";
73
73
  * standbyNics: ["vmnic1"],
74
74
  * });
75
75
  * const pg = new vsphere.HostPortGroup("pg", {
76
+ * name: "portgroup-01",
76
77
  * hostSystemId: host.then(host => host.id),
77
78
  * virtualSwitchName: hostVirtualSwitch.name,
78
79
  * vlanId: 4095,
79
80
  * allowPromiscuous: true,
80
81
  * });
81
82
  * ```
82
- * <!--End PulumiCodeChooser -->
83
83
  *
84
84
  * ## Importing
85
85
  *
86
86
  * An existing host port group can be imported into this resource
87
87
  * using the host port group's ID. An example is below:
88
88
  *
89
- * <!--Start PulumiCodeChooser -->
90
- * ```typescript
91
- * import * as pulumi from "@pulumi/pulumi";
92
- * ```
93
- * <!--End PulumiCodeChooser -->
94
- *
95
89
  * The above would import the `management` host port group from host with ID `host-123`.
96
90
  */
97
91
  export declare class HostPortGroup extends pulumi.CustomResource {