@pulumi/vsphere 4.11.3 → 4.11.4

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.
@@ -1,9 +1,14 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * The `vsphereThumbprint` data source can be used to discover the host thumbprint
4
- * of an ESXi host. This can be used when adding the `vsphere.Host` resource. If
5
- * the ESXi host is using a certificate chain, the first one returned will be used
6
- * to generate the thumbprint.
4
+ * of an ESXi host. This can be used when adding the `vsphere.Host` resource to a
5
+ * cluster or a vCenter Server instance.
6
+ *
7
+ * * If the ESXi host is using a certificate chain, the first one returned will be
8
+ * used to generate the thumbprint.
9
+ *
10
+ * * If the ESXi host has a certificate issued by a certificate authority, ensure
11
+ * that the the certificate authority is trusted on the system running the plan.
7
12
  *
8
13
  * ## Example Usage
9
14
  *
@@ -27,8 +32,7 @@ export interface GetHostThumbprintArgs {
27
32
  */
28
33
  address: string;
29
34
  /**
30
- * Disables SSL certificate verification.
31
- * Default: `false`
35
+ * Disables SSL certificate verification. Default: `false`
32
36
  */
33
37
  insecure?: boolean;
34
38
  /**
@@ -50,9 +54,14 @@ export interface GetHostThumbprintResult {
50
54
  }
51
55
  /**
52
56
  * The `vsphereThumbprint` data source can be used to discover the host thumbprint
53
- * of an ESXi host. This can be used when adding the `vsphere.Host` resource. If
54
- * the ESXi host is using a certificate chain, the first one returned will be used
55
- * to generate the thumbprint.
57
+ * of an ESXi host. This can be used when adding the `vsphere.Host` resource to a
58
+ * cluster or a vCenter Server instance.
59
+ *
60
+ * * If the ESXi host is using a certificate chain, the first one returned will be
61
+ * used to generate the thumbprint.
62
+ *
63
+ * * If the ESXi host has a certificate issued by a certificate authority, ensure
64
+ * that the the certificate authority is trusted on the system running the plan.
56
65
  *
57
66
  * ## Example Usage
58
67
  *
@@ -76,8 +85,7 @@ export interface GetHostThumbprintOutputArgs {
76
85
  */
77
86
  address: pulumi.Input<string>;
78
87
  /**
79
- * Disables SSL certificate verification.
80
- * Default: `false`
88
+ * Disables SSL certificate verification. Default: `false`
81
89
  */
82
90
  insecure?: pulumi.Input<boolean>;
83
91
  /**
@@ -7,9 +7,14 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * The `vsphereThumbprint` data source can be used to discover the host thumbprint
10
- * of an ESXi host. This can be used when adding the `vsphere.Host` resource. If
11
- * the ESXi host is using a certificate chain, the first one returned will be used
12
- * to generate the thumbprint.
10
+ * of an ESXi host. This can be used when adding the `vsphere.Host` resource to a
11
+ * cluster or a vCenter Server instance.
12
+ *
13
+ * * If the ESXi host is using a certificate chain, the first one returned will be
14
+ * used to generate the thumbprint.
15
+ *
16
+ * * If the ESXi host has a certificate issued by a certificate authority, ensure
17
+ * that the the certificate authority is trusted on the system running the plan.
13
18
  *
14
19
  * ## Example Usage
15
20
  *
@@ -33,9 +38,14 @@ function getHostThumbprint(args, opts) {
33
38
  exports.getHostThumbprint = getHostThumbprint;
34
39
  /**
35
40
  * The `vsphereThumbprint` data source can be used to discover the host thumbprint
36
- * of an ESXi host. This can be used when adding the `vsphere.Host` resource. If
37
- * the ESXi host is using a certificate chain, the first one returned will be used
38
- * to generate the thumbprint.
41
+ * of an ESXi host. This can be used when adding the `vsphere.Host` resource to a
42
+ * cluster or a vCenter Server instance.
43
+ *
44
+ * * If the ESXi host is using a certificate chain, the first one returned will be
45
+ * used to generate the thumbprint.
46
+ *
47
+ * * If the ESXi host has a certificate issued by a certificate authority, ensure
48
+ * that the the certificate authority is trusted on the system running the plan.
39
49
  *
40
50
  * ## Example Usage
41
51
  *
@@ -1 +1 @@
1
- {"version":3,"file":"getHostThumbprint.js","sourceRoot":"","sources":["../getHostThumbprint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EA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EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AAiCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mDAAmD,EAAE;QACpF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0DAOC"}
package/host.d.ts CHANGED
@@ -17,11 +17,11 @@ import * as outputs from "./types/output";
17
17
  * name: "dc-01",
18
18
  * });
19
19
  * const thumbprint = vsphere.getHostThumbprint({
20
- * address: "esx-01.example.com",
20
+ * address: "esxi-01.example.com",
21
21
  * insecure: true,
22
22
  * });
23
23
  * const esx_01 = new vsphere.Host("esx-01", {
24
- * hostname: "esx-01.example.com",
24
+ * hostname: "esxi-01.example.com",
25
25
  * username: "root",
26
26
  * password: "password",
27
27
  * license: "00000-00000-00000-00000-00000",
@@ -50,7 +50,7 @@ import * as outputs from "./types/output";
50
50
  *
51
51
  * data "vsphere_host" "host" {
52
52
  *
53
- * name = "esx-01.example.com"
53
+ * name = "esxi-01.example.com"
54
54
  *
55
55
  * datacenter_id = data.vsphere_datacenter.datacenter.id
56
56
  *
@@ -74,7 +74,7 @@ import * as outputs from "./types/output";
74
74
  *
75
75
  * data "vsphere_host_thumbprint" "thumbprint" {
76
76
  *
77
- * address = "esx-01.example.com"
77
+ * address = "esxi-01.example.com"
78
78
  *
79
79
  * insecure = true
80
80
  *
@@ -82,7 +82,7 @@ import * as outputs from "./types/output";
82
82
  *
83
83
  * resource "vsphere_host" "esx-01" {
84
84
  *
85
- * hostname = "esx-01.example.com"
85
+ * hostname = "esxi-01.example.com"
86
86
  *
87
87
  * username = "root"
88
88
  *
@@ -98,7 +98,7 @@ import * as outputs from "./types/output";
98
98
  *
99
99
  * resource "vsphere_host" "esx-01" {
100
100
  *
101
- * hostname = "esx-01.example.com"
101
+ * hostname = "esxi-01.example.com"
102
102
  *
103
103
  * username = "root"
104
104
  *
@@ -130,7 +130,7 @@ import * as outputs from "./types/output";
130
130
  * $ pulumi import vsphere:index/host:Host esx-01 host-123
131
131
  * ```
132
132
  *
133
- * The above would import the host `esx-01.example.com` with the host ID `host-123`.
133
+ * The above would import the host `esxi-01.example.com` with the host ID `host-123`.
134
134
  */
135
135
  export declare class Host extends pulumi.CustomResource {
136
136
  /**
package/host.js CHANGED
@@ -21,11 +21,11 @@ const utilities = require("./utilities");
21
21
  * name: "dc-01",
22
22
  * });
23
23
  * const thumbprint = vsphere.getHostThumbprint({
24
- * address: "esx-01.example.com",
24
+ * address: "esxi-01.example.com",
25
25
  * insecure: true,
26
26
  * });
27
27
  * const esx_01 = new vsphere.Host("esx-01", {
28
- * hostname: "esx-01.example.com",
28
+ * hostname: "esxi-01.example.com",
29
29
  * username: "root",
30
30
  * password: "password",
31
31
  * license: "00000-00000-00000-00000-00000",
@@ -54,7 +54,7 @@ const utilities = require("./utilities");
54
54
  *
55
55
  * data "vsphere_host" "host" {
56
56
  *
57
- * name = "esx-01.example.com"
57
+ * name = "esxi-01.example.com"
58
58
  *
59
59
  * datacenter_id = data.vsphere_datacenter.datacenter.id
60
60
  *
@@ -78,7 +78,7 @@ const utilities = require("./utilities");
78
78
  *
79
79
  * data "vsphere_host_thumbprint" "thumbprint" {
80
80
  *
81
- * address = "esx-01.example.com"
81
+ * address = "esxi-01.example.com"
82
82
  *
83
83
  * insecure = true
84
84
  *
@@ -86,7 +86,7 @@ const utilities = require("./utilities");
86
86
  *
87
87
  * resource "vsphere_host" "esx-01" {
88
88
  *
89
- * hostname = "esx-01.example.com"
89
+ * hostname = "esxi-01.example.com"
90
90
  *
91
91
  * username = "root"
92
92
  *
@@ -102,7 +102,7 @@ const utilities = require("./utilities");
102
102
  *
103
103
  * resource "vsphere_host" "esx-01" {
104
104
  *
105
- * hostname = "esx-01.example.com"
105
+ * hostname = "esxi-01.example.com"
106
106
  *
107
107
  * username = "root"
108
108
  *
@@ -134,7 +134,7 @@ const utilities = require("./utilities");
134
134
  * $ pulumi import vsphere:index/host:Host esx-01 host-123
135
135
  * ```
136
136
  *
137
- * The above would import the host `esx-01.example.com` with the host ID `host-123`.
137
+ * The above would import the host `esxi-01.example.com` with the host ID `host-123`.
138
138
  */
139
139
  class Host extends pulumi.CustomResource {
140
140
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/vsphere",
3
- "version": "4.11.3",
3
+ "version": "4.11.4",
4
4
  "description": "A Pulumi package for creating vsphere resources",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -13,7 +13,7 @@
13
13
  "build": "tsc"
14
14
  },
15
15
  "dependencies": {
16
- "@pulumi/pulumi": "^3.0.0",
16
+ "@pulumi/pulumi": "^3.42.0",
17
17
  "builtin-modules": "3.0.0",
18
18
  "read-package-tree": "^5.2.1",
19
19
  "resolve": "^1.8.1"
@@ -25,6 +25,6 @@
25
25
  "pulumi": {
26
26
  "resource": true,
27
27
  "name": "vsphere",
28
- "version": "4.11.3"
28
+ "version": "4.11.4"
29
29
  }
30
30
  }
package/resourcePool.d.ts CHANGED
@@ -1,78 +1,4 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * The `vsphere.ResourcePool` resource can be used to create and manage
4
- * resource pools on DRS-enabled vSphere clusters or standalone ESXi hosts.
5
- *
6
- * For more information on vSphere resource pools, please refer to the
7
- * [product documentation][ref-vsphere-resource_pools].
8
- *
9
- * [ref-vsphere-resource_pools]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-resource-management/GUID-60077B40-66FF-4625-934A-641703ED7601.html
10
- *
11
- * ## Example Usage
12
- *
13
- * The following example sets up a resource pool in an existing compute cluster
14
- * with the default settings for CPU and memory reservations, shares, and limits.
15
- *
16
- * ```typescript
17
- * import * as pulumi from "@pulumi/pulumi";
18
- * import * as vsphere from "@pulumi/vsphere";
19
- *
20
- * const datacenter = vsphere.getDatacenter({
21
- * name: "dc-01",
22
- * });
23
- * const computeCluster = datacenter.then(datacenter => vsphere.getComputeCluster({
24
- * name: "cluster-01",
25
- * datacenterId: datacenter.id,
26
- * }));
27
- * const resourcePool = new vsphere.ResourcePool("resource_pool", {
28
- * name: "resource-pool-01",
29
- * parentResourcePoolId: computeCluster.then(computeCluster => computeCluster.resourcePoolId),
30
- * });
31
- * ```
32
- *
33
- * A virtual machine resource could be targeted to use the default resource pool
34
- * of the cluster using the following:
35
- *
36
- * ```typescript
37
- * import * as pulumi from "@pulumi/pulumi";
38
- * import * as vsphere from "@pulumi/vsphere";
39
- *
40
- * const vm = new vsphere.VirtualMachine("vm", {resourcePoolId: cluster.resourcePoolId});
41
- * ```
42
- *
43
- * The following example sets up a parent resource pool in an existing compute cluster
44
- * with a child resource pool nested below. Each resource pool is configured with
45
- * the default settings for CPU and memory reservations, shares, and limits.
46
- *
47
- * ```typescript
48
- * import * as pulumi from "@pulumi/pulumi";
49
- * import * as vsphere from "@pulumi/vsphere";
50
- *
51
- * const datacenter = vsphere.getDatacenter({
52
- * name: "dc-01",
53
- * });
54
- * const computeCluster = datacenter.then(datacenter => vsphere.getComputeCluster({
55
- * name: "cluster-01",
56
- * datacenterId: datacenter.id,
57
- * }));
58
- * const resourcePoolParent = new vsphere.ResourcePool("resource_pool_parent", {
59
- * name: "parent",
60
- * parentResourcePoolId: computeCluster.then(computeCluster => computeCluster.resourcePoolId),
61
- * });
62
- * const resourcePoolChild = new vsphere.ResourcePool("resource_pool_child", {
63
- * name: "child",
64
- * parentResourcePoolId: resourcePoolParent.id,
65
- * });
66
- * ```
67
- *
68
- * ## Import
69
- *
70
- * ### Settings that Require vSphere 7.0 or higher
71
- *
72
- * These settings require vSphere 7.0 or higher:
73
- *
74
- * * [`scale_descendants_shares`](#scale_descendants_shares)
75
- */
76
2
  export declare class ResourcePool extends pulumi.CustomResource {
77
3
  /**
78
4
  * Get an existing ResourcePool resource's state with the given name, ID, and optional extra
@@ -90,34 +16,27 @@ export declare class ResourcePool extends pulumi.CustomResource {
90
16
  */
91
17
  static isInstance(obj: any): obj is ResourcePool;
92
18
  /**
93
- * Determines if the reservation on a resource
94
- * pool can grow beyond the specified value if the parent resource pool has
95
- * unreserved resources. Default: `true`
19
+ * Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
20
+ * unreserved resources.
96
21
  */
97
22
  readonly cpuExpandable: pulumi.Output<boolean | undefined>;
98
23
  /**
99
- * The CPU utilization of a resource pool will not
100
- * exceed this limit, even if there are available resources. Set to `-1` for
101
- * unlimited. Default: `-1`
24
+ * The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
25
+ * unlimited.
102
26
  */
103
27
  readonly cpuLimit: pulumi.Output<number | undefined>;
104
28
  /**
105
- * Amount of CPU (MHz) that is guaranteed
106
- * available to the resource pool. Default: `0`
29
+ * Amount of CPU (MHz) that is guaranteed available to the resource pool.
107
30
  */
108
31
  readonly cpuReservation: pulumi.Output<number | undefined>;
109
32
  /**
110
- * The CPU allocation level. The level is a
111
- * simplified view of shares. Levels map to a pre-determined set of numeric
112
- * values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
113
- * `low`, `normal`, or `high` are specified values in `cpuShares` will be
114
- * ignored. Default: `normal`
33
+ * The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
34
+ * shares. Can be one of low, normal, high, or custom.
115
35
  */
116
36
  readonly cpuShareLevel: pulumi.Output<string | undefined>;
117
37
  /**
118
- * The number of shares allocated for CPU. Used to
119
- * determine resource allocation in case of resource contention. If this is set,
120
- * `cpuShareLevel` must be `custom`.
38
+ * The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
39
+ * cpuShareLevel must be custom.
121
40
  */
122
41
  readonly cpuShares: pulumi.Output<number>;
123
42
  /**
@@ -127,57 +46,44 @@ export declare class ResourcePool extends pulumi.CustomResource {
127
46
  [key: string]: string;
128
47
  } | undefined>;
129
48
  /**
130
- * Determines if the reservation on a resource
131
- * pool can grow beyond the specified value if the parent resource pool has
132
- * unreserved resources. Default: `true`
49
+ * Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
50
+ * unreserved resources.
133
51
  */
134
52
  readonly memoryExpandable: pulumi.Output<boolean | undefined>;
135
53
  /**
136
- * The CPU utilization of a resource pool will not
137
- * exceed this limit, even if there are available resources. Set to `-1` for
138
- * unlimited. Default: `-1`
54
+ * The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
55
+ * unlimited.
139
56
  */
140
57
  readonly memoryLimit: pulumi.Output<number | undefined>;
141
58
  /**
142
- * Amount of CPU (MHz) that is guaranteed
143
- * available to the resource pool. Default: `0`
59
+ * Amount of memory (MB) that is guaranteed available to the resource pool.
144
60
  */
145
61
  readonly memoryReservation: pulumi.Output<number | undefined>;
146
62
  /**
147
- * The CPU allocation level. The level is a
148
- * simplified view of shares. Levels map to a pre-determined set of numeric
149
- * values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
150
- * `low`, `normal`, or `high` are specified values in `memoryShares` will be
151
- * ignored. Default: `normal`
63
+ * The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
64
+ * shares. Can be one of low, normal, high, or custom.
152
65
  */
153
66
  readonly memoryShareLevel: pulumi.Output<string | undefined>;
154
67
  /**
155
- * The number of shares allocated for CPU. Used to
156
- * determine resource allocation in case of resource contention. If this is set,
157
- * `memoryShareLevel` must be `custom`.
68
+ * The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
69
+ * memoryShareLevel must be custom.
158
70
  */
159
71
  readonly memoryShares: pulumi.Output<number>;
160
72
  /**
161
- * The name of the resource pool.
73
+ * Name of resource pool.
162
74
  */
163
75
  readonly name: pulumi.Output<string>;
164
76
  /**
165
- * The managed object ID
166
- * of the parent resource pool. This can be the root resource pool for a cluster
167
- * or standalone host, or a resource pool itself. When moving a resource pool
168
- * from one parent resource pool to another, both must share a common root
169
- * resource pool.
77
+ * The ID of the root resource pool of the compute resource the resource pool is in.
170
78
  */
171
79
  readonly parentResourcePoolId: pulumi.Output<string>;
172
80
  /**
173
- * Determines if the shares of all
174
- * descendants of the resource pool are scaled up or down when the shares
175
- * of the resource pool are scaled up or down. Can be one of `disabled` or
176
- * `scaleCpuAndMemoryShares`. Default: `disabled`.
81
+ * Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
82
+ * pool are scaled up or down.
177
83
  */
178
84
  readonly scaleDescendantsShares: pulumi.Output<string | undefined>;
179
85
  /**
180
- * The IDs of any tags to attach to this resource.
86
+ * A list of tag IDs to apply to this object.
181
87
  */
182
88
  readonly tags: pulumi.Output<string[] | undefined>;
183
89
  /**
@@ -194,34 +100,27 @@ export declare class ResourcePool extends pulumi.CustomResource {
194
100
  */
195
101
  export interface ResourcePoolState {
196
102
  /**
197
- * Determines if the reservation on a resource
198
- * pool can grow beyond the specified value if the parent resource pool has
199
- * unreserved resources. Default: `true`
103
+ * Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
104
+ * unreserved resources.
200
105
  */
201
106
  cpuExpandable?: pulumi.Input<boolean>;
202
107
  /**
203
- * The CPU utilization of a resource pool will not
204
- * exceed this limit, even if there are available resources. Set to `-1` for
205
- * unlimited. Default: `-1`
108
+ * The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
109
+ * unlimited.
206
110
  */
207
111
  cpuLimit?: pulumi.Input<number>;
208
112
  /**
209
- * Amount of CPU (MHz) that is guaranteed
210
- * available to the resource pool. Default: `0`
113
+ * Amount of CPU (MHz) that is guaranteed available to the resource pool.
211
114
  */
212
115
  cpuReservation?: pulumi.Input<number>;
213
116
  /**
214
- * The CPU allocation level. The level is a
215
- * simplified view of shares. Levels map to a pre-determined set of numeric
216
- * values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
217
- * `low`, `normal`, or `high` are specified values in `cpuShares` will be
218
- * ignored. Default: `normal`
117
+ * The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
118
+ * shares. Can be one of low, normal, high, or custom.
219
119
  */
220
120
  cpuShareLevel?: pulumi.Input<string>;
221
121
  /**
222
- * The number of shares allocated for CPU. Used to
223
- * determine resource allocation in case of resource contention. If this is set,
224
- * `cpuShareLevel` must be `custom`.
122
+ * The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
123
+ * cpuShareLevel must be custom.
225
124
  */
226
125
  cpuShares?: pulumi.Input<number>;
227
126
  /**
@@ -231,57 +130,44 @@ export interface ResourcePoolState {
231
130
  [key: string]: pulumi.Input<string>;
232
131
  }>;
233
132
  /**
234
- * Determines if the reservation on a resource
235
- * pool can grow beyond the specified value if the parent resource pool has
236
- * unreserved resources. Default: `true`
133
+ * Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
134
+ * unreserved resources.
237
135
  */
238
136
  memoryExpandable?: pulumi.Input<boolean>;
239
137
  /**
240
- * The CPU utilization of a resource pool will not
241
- * exceed this limit, even if there are available resources. Set to `-1` for
242
- * unlimited. Default: `-1`
138
+ * The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
139
+ * unlimited.
243
140
  */
244
141
  memoryLimit?: pulumi.Input<number>;
245
142
  /**
246
- * Amount of CPU (MHz) that is guaranteed
247
- * available to the resource pool. Default: `0`
143
+ * Amount of memory (MB) that is guaranteed available to the resource pool.
248
144
  */
249
145
  memoryReservation?: pulumi.Input<number>;
250
146
  /**
251
- * The CPU allocation level. The level is a
252
- * simplified view of shares. Levels map to a pre-determined set of numeric
253
- * values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
254
- * `low`, `normal`, or `high` are specified values in `memoryShares` will be
255
- * ignored. Default: `normal`
147
+ * The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
148
+ * shares. Can be one of low, normal, high, or custom.
256
149
  */
257
150
  memoryShareLevel?: pulumi.Input<string>;
258
151
  /**
259
- * The number of shares allocated for CPU. Used to
260
- * determine resource allocation in case of resource contention. If this is set,
261
- * `memoryShareLevel` must be `custom`.
152
+ * The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
153
+ * memoryShareLevel must be custom.
262
154
  */
263
155
  memoryShares?: pulumi.Input<number>;
264
156
  /**
265
- * The name of the resource pool.
157
+ * Name of resource pool.
266
158
  */
267
159
  name?: pulumi.Input<string>;
268
160
  /**
269
- * The managed object ID
270
- * of the parent resource pool. This can be the root resource pool for a cluster
271
- * or standalone host, or a resource pool itself. When moving a resource pool
272
- * from one parent resource pool to another, both must share a common root
273
- * resource pool.
161
+ * The ID of the root resource pool of the compute resource the resource pool is in.
274
162
  */
275
163
  parentResourcePoolId?: pulumi.Input<string>;
276
164
  /**
277
- * Determines if the shares of all
278
- * descendants of the resource pool are scaled up or down when the shares
279
- * of the resource pool are scaled up or down. Can be one of `disabled` or
280
- * `scaleCpuAndMemoryShares`. Default: `disabled`.
165
+ * Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
166
+ * pool are scaled up or down.
281
167
  */
282
168
  scaleDescendantsShares?: pulumi.Input<string>;
283
169
  /**
284
- * The IDs of any tags to attach to this resource.
170
+ * A list of tag IDs to apply to this object.
285
171
  */
286
172
  tags?: pulumi.Input<pulumi.Input<string>[]>;
287
173
  }
@@ -290,34 +176,27 @@ export interface ResourcePoolState {
290
176
  */
291
177
  export interface ResourcePoolArgs {
292
178
  /**
293
- * Determines if the reservation on a resource
294
- * pool can grow beyond the specified value if the parent resource pool has
295
- * unreserved resources. Default: `true`
179
+ * Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
180
+ * unreserved resources.
296
181
  */
297
182
  cpuExpandable?: pulumi.Input<boolean>;
298
183
  /**
299
- * The CPU utilization of a resource pool will not
300
- * exceed this limit, even if there are available resources. Set to `-1` for
301
- * unlimited. Default: `-1`
184
+ * The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
185
+ * unlimited.
302
186
  */
303
187
  cpuLimit?: pulumi.Input<number>;
304
188
  /**
305
- * Amount of CPU (MHz) that is guaranteed
306
- * available to the resource pool. Default: `0`
189
+ * Amount of CPU (MHz) that is guaranteed available to the resource pool.
307
190
  */
308
191
  cpuReservation?: pulumi.Input<number>;
309
192
  /**
310
- * The CPU allocation level. The level is a
311
- * simplified view of shares. Levels map to a pre-determined set of numeric
312
- * values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
313
- * `low`, `normal`, or `high` are specified values in `cpuShares` will be
314
- * ignored. Default: `normal`
193
+ * The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
194
+ * shares. Can be one of low, normal, high, or custom.
315
195
  */
316
196
  cpuShareLevel?: pulumi.Input<string>;
317
197
  /**
318
- * The number of shares allocated for CPU. Used to
319
- * determine resource allocation in case of resource contention. If this is set,
320
- * `cpuShareLevel` must be `custom`.
198
+ * The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
199
+ * cpuShareLevel must be custom.
321
200
  */
322
201
  cpuShares?: pulumi.Input<number>;
323
202
  /**
@@ -327,57 +206,44 @@ export interface ResourcePoolArgs {
327
206
  [key: string]: pulumi.Input<string>;
328
207
  }>;
329
208
  /**
330
- * Determines if the reservation on a resource
331
- * pool can grow beyond the specified value if the parent resource pool has
332
- * unreserved resources. Default: `true`
209
+ * Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
210
+ * unreserved resources.
333
211
  */
334
212
  memoryExpandable?: pulumi.Input<boolean>;
335
213
  /**
336
- * The CPU utilization of a resource pool will not
337
- * exceed this limit, even if there are available resources. Set to `-1` for
338
- * unlimited. Default: `-1`
214
+ * The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
215
+ * unlimited.
339
216
  */
340
217
  memoryLimit?: pulumi.Input<number>;
341
218
  /**
342
- * Amount of CPU (MHz) that is guaranteed
343
- * available to the resource pool. Default: `0`
219
+ * Amount of memory (MB) that is guaranteed available to the resource pool.
344
220
  */
345
221
  memoryReservation?: pulumi.Input<number>;
346
222
  /**
347
- * The CPU allocation level. The level is a
348
- * simplified view of shares. Levels map to a pre-determined set of numeric
349
- * values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
350
- * `low`, `normal`, or `high` are specified values in `memoryShares` will be
351
- * ignored. Default: `normal`
223
+ * The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
224
+ * shares. Can be one of low, normal, high, or custom.
352
225
  */
353
226
  memoryShareLevel?: pulumi.Input<string>;
354
227
  /**
355
- * The number of shares allocated for CPU. Used to
356
- * determine resource allocation in case of resource contention. If this is set,
357
- * `memoryShareLevel` must be `custom`.
228
+ * The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
229
+ * memoryShareLevel must be custom.
358
230
  */
359
231
  memoryShares?: pulumi.Input<number>;
360
232
  /**
361
- * The name of the resource pool.
233
+ * Name of resource pool.
362
234
  */
363
235
  name?: pulumi.Input<string>;
364
236
  /**
365
- * The managed object ID
366
- * of the parent resource pool. This can be the root resource pool for a cluster
367
- * or standalone host, or a resource pool itself. When moving a resource pool
368
- * from one parent resource pool to another, both must share a common root
369
- * resource pool.
237
+ * The ID of the root resource pool of the compute resource the resource pool is in.
370
238
  */
371
239
  parentResourcePoolId: pulumi.Input<string>;
372
240
  /**
373
- * Determines if the shares of all
374
- * descendants of the resource pool are scaled up or down when the shares
375
- * of the resource pool are scaled up or down. Can be one of `disabled` or
376
- * `scaleCpuAndMemoryShares`. Default: `disabled`.
241
+ * Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
242
+ * pool are scaled up or down.
377
243
  */
378
244
  scaleDescendantsShares?: pulumi.Input<string>;
379
245
  /**
380
- * The IDs of any tags to attach to this resource.
246
+ * A list of tag IDs to apply to this object.
381
247
  */
382
248
  tags?: pulumi.Input<pulumi.Input<string>[]>;
383
249
  }
package/resourcePool.js CHANGED
@@ -5,80 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.ResourcePool = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
- /**
9
- * The `vsphere.ResourcePool` resource can be used to create and manage
10
- * resource pools on DRS-enabled vSphere clusters or standalone ESXi hosts.
11
- *
12
- * For more information on vSphere resource pools, please refer to the
13
- * [product documentation][ref-vsphere-resource_pools].
14
- *
15
- * [ref-vsphere-resource_pools]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-resource-management/GUID-60077B40-66FF-4625-934A-641703ED7601.html
16
- *
17
- * ## Example Usage
18
- *
19
- * The following example sets up a resource pool in an existing compute cluster
20
- * with the default settings for CPU and memory reservations, shares, and limits.
21
- *
22
- * ```typescript
23
- * import * as pulumi from "@pulumi/pulumi";
24
- * import * as vsphere from "@pulumi/vsphere";
25
- *
26
- * const datacenter = vsphere.getDatacenter({
27
- * name: "dc-01",
28
- * });
29
- * const computeCluster = datacenter.then(datacenter => vsphere.getComputeCluster({
30
- * name: "cluster-01",
31
- * datacenterId: datacenter.id,
32
- * }));
33
- * const resourcePool = new vsphere.ResourcePool("resource_pool", {
34
- * name: "resource-pool-01",
35
- * parentResourcePoolId: computeCluster.then(computeCluster => computeCluster.resourcePoolId),
36
- * });
37
- * ```
38
- *
39
- * A virtual machine resource could be targeted to use the default resource pool
40
- * of the cluster using the following:
41
- *
42
- * ```typescript
43
- * import * as pulumi from "@pulumi/pulumi";
44
- * import * as vsphere from "@pulumi/vsphere";
45
- *
46
- * const vm = new vsphere.VirtualMachine("vm", {resourcePoolId: cluster.resourcePoolId});
47
- * ```
48
- *
49
- * The following example sets up a parent resource pool in an existing compute cluster
50
- * with a child resource pool nested below. Each resource pool is configured with
51
- * the default settings for CPU and memory reservations, shares, and limits.
52
- *
53
- * ```typescript
54
- * import * as pulumi from "@pulumi/pulumi";
55
- * import * as vsphere from "@pulumi/vsphere";
56
- *
57
- * const datacenter = vsphere.getDatacenter({
58
- * name: "dc-01",
59
- * });
60
- * const computeCluster = datacenter.then(datacenter => vsphere.getComputeCluster({
61
- * name: "cluster-01",
62
- * datacenterId: datacenter.id,
63
- * }));
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
- * });
72
- * ```
73
- *
74
- * ## Import
75
- *
76
- * ### Settings that Require vSphere 7.0 or higher
77
- *
78
- * These settings require vSphere 7.0 or higher:
79
- *
80
- * * [`scale_descendants_shares`](#scale_descendants_shares)
81
- */
82
8
  class ResourcePool extends pulumi.CustomResource {
83
9
  /**
84
10
  * Get an existing ResourcePool resource's state with the given name, ID, and optional extra
@@ -1 +1 @@
1
- {"version":3,"file":"resourcePool.js","sourceRoot":"","sources":["../resourcePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;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,EAAE;YACnC,OA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;IACjE,CAAC;;AArJL,oCAsJC;AAxIG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
@@ -10,7 +10,7 @@ import * as outputs from "./types/output";
10
10
  *
11
11
  * The following requirements apply to import:
12
12
  *
13
- * * The disks must have a [`label`](#label) argument assigned in a convention matching `diskN`, starting with disk number 0, based on each virtual disk order on the SCSI bus. As an example, a disk on SCSI controller `0` with a unit number of `0` would be labeled as `disk0`, a disk on the same controller with a unit number of `1` would be `disk1`, but the next disk, which is on SCSI controller `1` with a unit number of `0`, still becomes `disk2`.
13
+ * * The disks must have a [`label`](#label) argument assigned in a convention matching `Hard Disk`, starting with disk number 0, based on each virtual disk order on the SCSI bus. As an example, a disk on SCSI controller `0` with a unit number of `0` would be labeled as `Hard Disk 0`, a disk on the same controller with a unit number of `1` would be `Hard Disk 1`, but the next disk, which is on SCSI controller `1` with a unit number of `0`, still becomes `Hard Disk 2`.
14
14
  *
15
15
  * * Disks are always imported with [`keep_on_remove`](#keep_on_remove) enabled until the first `pulumi up` run which will remove the setting for known disks. This process safeguards against naming or accounting mistakes in the disk configuration.
16
16
  *
package/virtualMachine.js CHANGED
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
14
14
  *
15
15
  * The following requirements apply to import:
16
16
  *
17
- * * The disks must have a [`label`](#label) argument assigned in a convention matching `diskN`, starting with disk number 0, based on each virtual disk order on the SCSI bus. As an example, a disk on SCSI controller `0` with a unit number of `0` would be labeled as `disk0`, a disk on the same controller with a unit number of `1` would be `disk1`, but the next disk, which is on SCSI controller `1` with a unit number of `0`, still becomes `disk2`.
17
+ * * The disks must have a [`label`](#label) argument assigned in a convention matching `Hard Disk`, starting with disk number 0, based on each virtual disk order on the SCSI bus. As an example, a disk on SCSI controller `0` with a unit number of `0` would be labeled as `Hard Disk 0`, a disk on the same controller with a unit number of `1` would be `Hard Disk 1`, but the next disk, which is on SCSI controller `1` with a unit number of `0`, still becomes `Hard Disk 2`.
18
18
  *
19
19
  * * Disks are always imported with [`keep_on_remove`](#keep_on_remove) enabled until the first `pulumi up` run which will remove the setting for known disks. This process safeguards against naming or accounting mistakes in the disk configuration.
20
20
  *