@pulumi/vsphere 4.16.2 → 4.16.3
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 +137 -67
- package/computeCluster.js +92 -46
- package/computeCluster.js.map +1 -1
- package/computeClusterHostGroup.d.ts +45 -25
- package/computeClusterHostGroup.js +21 -13
- package/computeClusterHostGroup.js.map +1 -1
- package/computeClusterVmAffinityRule.d.ts +32 -20
- package/computeClusterVmAffinityRule.js +20 -14
- package/computeClusterVmAffinityRule.js.map +1 -1
- package/computeClusterVmAntiAffinityRule.d.ts +40 -13
- package/computeClusterVmAntiAffinityRule.js +28 -7
- package/computeClusterVmAntiAffinityRule.js.map +1 -1
- package/computeClusterVmDependencyRule.d.ts +32 -24
- package/computeClusterVmDependencyRule.js +20 -18
- package/computeClusterVmDependencyRule.js.map +1 -1
- package/computeClusterVmGroup.d.ts +32 -23
- package/computeClusterVmGroup.js +8 -11
- package/computeClusterVmGroup.js.map +1 -1
- package/computeClusterVmHostRule.d.ts +36 -26
- package/computeClusterVmHostRule.js +24 -20
- package/computeClusterVmHostRule.js.map +1 -1
- package/configurationProfile.d.ts +88 -0
- package/configurationProfile.js +88 -0
- package/configurationProfile.js.map +1 -1
- package/contentLibrary.d.ts +6 -4
- package/contentLibrary.js +3 -1
- package/contentLibrary.js.map +1 -1
- package/contentLibraryItem.d.ts +3 -2
- package/contentLibraryItem.js +3 -2
- package/contentLibraryItem.js.map +1 -1
- package/customAttribute.d.ts +2 -3
- package/customAttribute.js +2 -3
- package/customAttribute.js.map +1 -1
- package/datacenter.d.ts +18 -8
- package/datacenter.js +4 -3
- package/datacenter.js.map +1 -1
- package/datastoreCluster.d.ts +37 -25
- package/datastoreCluster.js +10 -10
- package/datastoreCluster.js.map +1 -1
- package/datastoreClusterVmAntiAffinityRule.d.ts +37 -22
- package/datastoreClusterVmAntiAffinityRule.js +13 -13
- package/datastoreClusterVmAntiAffinityRule.js.map +1 -1
- package/distributedPortGroup.d.ts +19 -9
- package/distributedPortGroup.js +7 -6
- package/distributedPortGroup.js.map +1 -1
- package/distributedVirtualSwitch.d.ts +27 -10
- package/distributedVirtualSwitch.js +3 -4
- package/distributedVirtualSwitch.js.map +1 -1
- package/dpmHostOverride.d.ts +21 -16
- package/dpmHostOverride.js +9 -10
- package/dpmHostOverride.js.map +1 -1
- package/drsVmOverride.d.ts +22 -17
- package/drsVmOverride.js +10 -11
- package/drsVmOverride.js.map +1 -1
- package/entityPermissions.d.ts +58 -0
- package/entityPermissions.js +58 -0
- package/entityPermissions.js.map +1 -1
- package/file.d.ts +15 -0
- package/file.js +15 -0
- package/file.js.map +1 -1
- package/folder.d.ts +37 -19
- package/folder.js +7 -10
- package/folder.js.map +1 -1
- package/getComputeCluster.d.ts +35 -19
- package/getComputeCluster.js +24 -10
- package/getComputeCluster.js.map +1 -1
- package/getCustomAttribute.d.ts +10 -6
- package/getCustomAttribute.js +10 -6
- package/getCustomAttribute.js.map +1 -1
- package/getDatacenter.d.ts +10 -6
- package/getDatacenter.js +10 -6
- package/getDatacenter.js.map +1 -1
- package/getDatastore.d.ts +22 -16
- package/getDatastore.js +12 -8
- package/getDatastore.js.map +1 -1
- package/getDatastoreCluster.d.ts +24 -10
- package/getDatastoreCluster.js +20 -6
- package/getDatastoreCluster.js.map +1 -1
- package/getDistributedVirtualSwitch.d.ts +25 -19
- package/getDistributedVirtualSwitch.js +12 -8
- package/getDistributedVirtualSwitch.js.map +1 -1
- package/getHost.d.ts +23 -13
- package/getHost.js +8 -4
- package/getHost.js.map +1 -1
- package/getNetwork.d.ts +12 -8
- package/getNetwork.js.map +1 -1
- package/getOvfVmTemplate.d.ts +276 -0
- package/getOvfVmTemplate.js +276 -0
- package/getOvfVmTemplate.js.map +1 -1
- package/getResourcePool.d.ts +38 -26
- package/getResourcePool.js +16 -8
- package/getResourcePool.js.map +1 -1
- package/getTag.d.ts +14 -10
- package/getTag.js +14 -10
- package/getTag.js.map +1 -1
- package/getTagCategory.d.ts +8 -4
- package/getTagCategory.js +8 -4
- package/getTagCategory.js.map +1 -1
- package/getVappContainer.d.ts +16 -6
- package/getVappContainer.js +6 -2
- package/getVappContainer.js.map +1 -1
- package/getVirtualMachine.d.ts +58 -36
- package/getVirtualMachine.js +10 -6
- package/getVirtualMachine.js.map +1 -1
- package/getVmfsDisks.d.ts +12 -4
- package/getVmfsDisks.js +6 -2
- package/getVmfsDisks.js.map +1 -1
- package/haVmOverride.d.ts +8 -10
- package/haVmOverride.js +8 -10
- package/haVmOverride.js.map +1 -1
- package/host.d.ts +54 -80
- package/host.js +54 -80
- package/host.js.map +1 -1
- package/hostPortGroup.d.ts +21 -11
- package/hostPortGroup.js +8 -4
- package/hostPortGroup.js.map +1 -1
- package/hostVirtualSwitch.d.ts +21 -17
- package/hostVirtualSwitch.js +9 -11
- package/hostVirtualSwitch.js.map +1 -1
- package/nasDatastore.d.ts +48 -35
- package/nasDatastore.js +9 -8
- package/nasDatastore.js.map +1 -1
- package/package.json +2 -2
- package/resourcePool.d.ts +31 -7
- package/resourcePool.js +13 -1
- package/resourcePool.js.map +1 -1
- package/role.d.ts +31 -2
- package/role.js +31 -2
- package/role.js.map +1 -1
- package/storageDrsVmOverride.d.ts +40 -17
- package/storageDrsVmOverride.js +19 -8
- package/storageDrsVmOverride.js.map +1 -1
- package/tag.d.ts +16 -15
- package/tag.js +16 -15
- package/tag.js.map +1 -1
- package/tagCategory.d.ts +2 -3
- package/tagCategory.js +2 -3
- package/tagCategory.js.map +1 -1
- package/types/input.d.ts +5 -3
- package/types/output.d.ts +5 -3
- package/vappContainer.d.ts +21 -12
- package/vappContainer.js +0 -3
- package/vappContainer.js.map +1 -1
- package/vappEntity.d.ts +14 -11
- package/vappEntity.js +2 -5
- package/vappEntity.js.map +1 -1
- package/virtualDisk.d.ts +18 -10
- package/virtualDisk.js +9 -7
- package/virtualDisk.js.map +1 -1
- package/virtualMachine.d.ts +1102 -10
- package/virtualMachine.js +1056 -6
- package/virtualMachine.js.map +1 -1
- package/virtualMachineSnapshot.d.ts +2 -1
- package/virtualMachineSnapshot.js +2 -1
- package/virtualMachineSnapshot.js.map +1 -1
- package/vmfsDatastore.d.ts +54 -42
- package/vmfsDatastore.js +12 -15
- package/vmfsDatastore.js.map +1 -1
- package/vnic.d.ts +4 -3
- package/vnic.js +4 -3
- package/vnic.js.map +1 -1
package/tag.js
CHANGED
|
@@ -16,19 +16,21 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* ## Example Usage
|
|
18
18
|
*
|
|
19
|
-
* This example creates a tag named `test-tag`. This tag is assigned the
|
|
20
|
-
* `test-category` category, which was created by the
|
|
21
|
-
* `vsphere.TagCategory` resource. The resulting
|
|
19
|
+
* This example creates a tag named `terraform-test-tag`. This tag is assigned the
|
|
20
|
+
* `terraform-test-category` category, which was created by the
|
|
21
|
+
* [`vsphere.TagCategory` resource][docs-tag-category-resource]. The resulting
|
|
22
22
|
* tag can be assigned to VMs and datastores only, and can be the only value in
|
|
23
23
|
* the category that can be assigned, as per the restrictions defined by the
|
|
24
24
|
* category.
|
|
25
25
|
*
|
|
26
|
+
* [docs-tag-category-resource]: /docs/providers/vsphere/r/tag_category.html
|
|
27
|
+
*
|
|
26
28
|
* ```typescript
|
|
27
29
|
* import * as pulumi from "@pulumi/pulumi";
|
|
28
30
|
* import * as vsphere from "@pulumi/vsphere";
|
|
29
31
|
*
|
|
30
32
|
* const category = new vsphere.TagCategory("category", {
|
|
31
|
-
* name: "test-category",
|
|
33
|
+
* name: "pulumi-test-category",
|
|
32
34
|
* cardinality: "SINGLE",
|
|
33
35
|
* description: "Managed by Pulumi",
|
|
34
36
|
* associableTypes: [
|
|
@@ -37,27 +39,29 @@ const utilities = require("./utilities");
|
|
|
37
39
|
* ],
|
|
38
40
|
* });
|
|
39
41
|
* const tag = new vsphere.Tag("tag", {
|
|
40
|
-
* name: "test-tag",
|
|
42
|
+
* name: "pulumi-test-tag",
|
|
41
43
|
* categoryId: category.id,
|
|
42
44
|
* description: "Managed by Pulumi",
|
|
43
45
|
* });
|
|
44
46
|
* ```
|
|
45
47
|
*
|
|
46
|
-
*
|
|
48
|
+
* ## Using Tags in a Supported Resource
|
|
47
49
|
*
|
|
48
|
-
* Tags can be applied to vSphere resources via the `tags` argument
|
|
50
|
+
* Tags can be applied to vSphere resources in Terraform via the `tags` argument
|
|
49
51
|
* in any supported resource.
|
|
50
52
|
*
|
|
51
53
|
* The following example builds on the above example by creating a
|
|
52
|
-
* `vsphere.VirtualMachine` and applying the
|
|
54
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] and applying the
|
|
53
55
|
* created tag to it:
|
|
54
56
|
*
|
|
57
|
+
* [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
58
|
+
*
|
|
55
59
|
* ```typescript
|
|
56
60
|
* import * as pulumi from "@pulumi/pulumi";
|
|
57
61
|
* import * as vsphere from "@pulumi/vsphere";
|
|
58
62
|
*
|
|
59
63
|
* const category = new vsphere.TagCategory("category", {
|
|
60
|
-
* name: "test-category",
|
|
64
|
+
* name: "pulumi-test-category",
|
|
61
65
|
* cardinality: "SINGLE",
|
|
62
66
|
* description: "Managed by Pulumi",
|
|
63
67
|
* associableTypes: [
|
|
@@ -66,7 +70,7 @@ const utilities = require("./utilities");
|
|
|
66
70
|
* ],
|
|
67
71
|
* });
|
|
68
72
|
* const tag = new vsphere.Tag("tag", {
|
|
69
|
-
* name: "test-tag",
|
|
73
|
+
* name: "pulumi-test-tag",
|
|
70
74
|
* categoryId: category.id,
|
|
71
75
|
* description: "Managed by Pulumi",
|
|
72
76
|
* });
|
|
@@ -76,18 +80,15 @@ const utilities = require("./utilities");
|
|
|
76
80
|
* ## Import
|
|
77
81
|
*
|
|
78
82
|
* An existing tag can be imported into this resource by supplying
|
|
79
|
-
*
|
|
80
83
|
* both the tag's category name and the name of the tag as a JSON string to
|
|
81
|
-
*
|
|
82
84
|
* `pulumi import`, as per the example below:
|
|
83
85
|
*
|
|
84
86
|
* [docs-import]: https://developer.hashicorp.com/terraform/cli/import
|
|
85
87
|
*
|
|
86
88
|
* ```sh
|
|
87
|
-
*
|
|
88
|
-
* ```
|
|
89
|
-
*
|
|
89
|
+
* terraform import vsphere_tag.tag \
|
|
90
90
|
* '{"category_name": "pulumi-test-category", "tag_name": "pulumi-test-tag"}'
|
|
91
|
+
* ```
|
|
91
92
|
*/
|
|
92
93
|
class Tag extends pulumi.CustomResource {
|
|
93
94
|
/**
|
package/tag.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.js","sourceRoot":"","sources":["../tag.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"tag.js","sourceRoot":"","sources":["../tag.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1D,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,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;IAyBD,YAAY,IAAY,EAAE,WAAgC,EAAE,IAAmC;QAC3F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmC,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAkC,CAAC;YAChD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AAtEL,kBAuEC;AAzDG,gBAAgB;AACO,gBAAY,GAAG,uBAAuB,CAAC"}
|
package/tagCategory.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
-
* This example creates a tag category named `test-category`, with
|
|
13
|
+
* This example creates a tag category named `terraform-test-category`, with
|
|
14
14
|
* single cardinality (meaning that only one tag in this category can be assigned
|
|
15
15
|
* to an object at any given time). Tags in this category can only be assigned to
|
|
16
16
|
* VMs and datastores.
|
|
@@ -20,7 +20,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
* import * as vsphere from "@pulumi/vsphere";
|
|
21
21
|
*
|
|
22
22
|
* const category = new vsphere.TagCategory("category", {
|
|
23
|
-
* name: "test-category",
|
|
23
|
+
* name: "pulumi-test-category",
|
|
24
24
|
* description: "Managed by Pulumi",
|
|
25
25
|
* cardinality: "SINGLE",
|
|
26
26
|
* associableTypes: [
|
|
@@ -33,7 +33,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
33
33
|
* ## Import
|
|
34
34
|
*
|
|
35
35
|
* An existing tag category can be imported into this resource via
|
|
36
|
-
*
|
|
37
36
|
* its name, using the following command:
|
|
38
37
|
*
|
|
39
38
|
* [docs-import]: https://developer.hashicorp.com/terraform/cli/import
|
package/tagCategory.js
CHANGED
|
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* ## Example Usage
|
|
18
18
|
*
|
|
19
|
-
* This example creates a tag category named `test-category`, with
|
|
19
|
+
* This example creates a tag category named `terraform-test-category`, with
|
|
20
20
|
* single cardinality (meaning that only one tag in this category can be assigned
|
|
21
21
|
* to an object at any given time). Tags in this category can only be assigned to
|
|
22
22
|
* VMs and datastores.
|
|
@@ -26,7 +26,7 @@ const utilities = require("./utilities");
|
|
|
26
26
|
* import * as vsphere from "@pulumi/vsphere";
|
|
27
27
|
*
|
|
28
28
|
* const category = new vsphere.TagCategory("category", {
|
|
29
|
-
* name: "test-category",
|
|
29
|
+
* name: "pulumi-test-category",
|
|
30
30
|
* description: "Managed by Pulumi",
|
|
31
31
|
* cardinality: "SINGLE",
|
|
32
32
|
* associableTypes: [
|
|
@@ -39,7 +39,6 @@ const utilities = require("./utilities");
|
|
|
39
39
|
* ## Import
|
|
40
40
|
*
|
|
41
41
|
* An existing tag category can be imported into this resource via
|
|
42
|
-
*
|
|
43
42
|
* its name, using the following command:
|
|
44
43
|
*
|
|
45
44
|
* [docs-import]: https://developer.hashicorp.com/terraform/cli/import
|
package/tagCategory.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagCategory.js","sourceRoot":"","sources":["../tagCategory.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"tagCategory.js","sourceRoot":"","sources":["../tagCategory.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAA0C,CAAC;YACxD,IAAI,IAAI,EAAE,eAAe,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;aAClE;YACD,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AArFL,kCAsFC;AAxEG,gBAAgB;AACO,wBAAY,GAAG,uCAAuC,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -101,6 +101,8 @@ export interface ContentLibrarySubscription {
|
|
|
101
101
|
automaticSync?: pulumi.Input<boolean>;
|
|
102
102
|
/**
|
|
103
103
|
* Download the library from a content only when needed. Default `true`.
|
|
104
|
+
*
|
|
105
|
+
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
104
106
|
*/
|
|
105
107
|
onDemand?: pulumi.Input<boolean>;
|
|
106
108
|
/**
|
|
@@ -482,7 +484,7 @@ export interface VirtualMachineCdrom {
|
|
|
482
484
|
*/
|
|
483
485
|
datastoreId?: pulumi.Input<string>;
|
|
484
486
|
/**
|
|
485
|
-
*
|
|
487
|
+
* An address internal to Terraform that helps locate the device when `key` is unavailable. This follows a convention of `CONTROLLER_TYPE:BUS_NUMBER:UNIT_NUMBER`. Example: `scsi:0:1` means device unit `1` on SCSI bus `0`.
|
|
486
488
|
*/
|
|
487
489
|
deviceAddress?: pulumi.Input<string>;
|
|
488
490
|
/**
|
|
@@ -696,7 +698,7 @@ export interface VirtualMachineDisk {
|
|
|
696
698
|
*/
|
|
697
699
|
datastoreId?: pulumi.Input<string>;
|
|
698
700
|
/**
|
|
699
|
-
*
|
|
701
|
+
* An address internal to Terraform that helps locate the device when `key` is unavailable. This follows a convention of `CONTROLLER_TYPE:BUS_NUMBER:UNIT_NUMBER`. Example: `scsi:0:1` means device unit `1` on SCSI bus `0`.
|
|
700
702
|
*/
|
|
701
703
|
deviceAddress?: pulumi.Input<string>;
|
|
702
704
|
/**
|
|
@@ -790,7 +792,7 @@ export interface VirtualMachineNetworkInterface {
|
|
|
790
792
|
*/
|
|
791
793
|
bandwidthShareLevel?: pulumi.Input<string>;
|
|
792
794
|
/**
|
|
793
|
-
*
|
|
795
|
+
* An address internal to Terraform that helps locate the device when `key` is unavailable. This follows a convention of `CONTROLLER_TYPE:BUS_NUMBER:UNIT_NUMBER`. Example: `scsi:0:1` means device unit `1` on SCSI bus `0`.
|
|
794
796
|
*/
|
|
795
797
|
deviceAddress?: pulumi.Input<string>;
|
|
796
798
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -100,6 +100,8 @@ export interface ContentLibrarySubscription {
|
|
|
100
100
|
automaticSync?: boolean;
|
|
101
101
|
/**
|
|
102
102
|
* Download the library from a content only when needed. Default `true`.
|
|
103
|
+
*
|
|
104
|
+
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
103
105
|
*/
|
|
104
106
|
onDemand?: boolean;
|
|
105
107
|
/**
|
|
@@ -689,7 +691,7 @@ export interface VirtualMachineCdrom {
|
|
|
689
691
|
*/
|
|
690
692
|
datastoreId?: string;
|
|
691
693
|
/**
|
|
692
|
-
*
|
|
694
|
+
* An address internal to Terraform that helps locate the device when `key` is unavailable. This follows a convention of `CONTROLLER_TYPE:BUS_NUMBER:UNIT_NUMBER`. Example: `scsi:0:1` means device unit `1` on SCSI bus `0`.
|
|
693
695
|
*/
|
|
694
696
|
deviceAddress: string;
|
|
695
697
|
/**
|
|
@@ -903,7 +905,7 @@ export interface VirtualMachineDisk {
|
|
|
903
905
|
*/
|
|
904
906
|
datastoreId: string;
|
|
905
907
|
/**
|
|
906
|
-
*
|
|
908
|
+
* An address internal to Terraform that helps locate the device when `key` is unavailable. This follows a convention of `CONTROLLER_TYPE:BUS_NUMBER:UNIT_NUMBER`. Example: `scsi:0:1` means device unit `1` on SCSI bus `0`.
|
|
907
909
|
*/
|
|
908
910
|
deviceAddress: string;
|
|
909
911
|
/**
|
|
@@ -997,7 +999,7 @@ export interface VirtualMachineNetworkInterface {
|
|
|
997
999
|
*/
|
|
998
1000
|
bandwidthShareLevel?: string;
|
|
999
1001
|
/**
|
|
1000
|
-
*
|
|
1002
|
+
* An address internal to Terraform that helps locate the device when `key` is unavailable. This follows a convention of `CONTROLLER_TYPE:BUS_NUMBER:UNIT_NUMBER`. Example: `scsi:0:1` means device unit `1` on SCSI bus `0`.
|
|
1001
1003
|
*/
|
|
1002
1004
|
deviceAddress: string;
|
|
1003
1005
|
/**
|
package/vappContainer.d.ts
CHANGED
|
@@ -79,7 +79,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
79
79
|
* ## Import
|
|
80
80
|
*
|
|
81
81
|
* An existing vApp container can be imported into this resource via
|
|
82
|
-
*
|
|
83
82
|
* the path to the vApp container, using the following command:
|
|
84
83
|
*
|
|
85
84
|
* [docs-import]: https://developer.hashicorp.com/terraform/cli/import
|
|
@@ -91,9 +90,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
91
90
|
* ```
|
|
92
91
|
*
|
|
93
92
|
* The example above would import the vApp container named `vapp-01` that is
|
|
94
|
-
*
|
|
95
93
|
* located in the resource pool `resource-pool-01` that is part of the host cluster
|
|
96
|
-
*
|
|
97
94
|
* `cluster-01` in the `dc-01` datacenter.
|
|
98
95
|
*/
|
|
99
96
|
export declare class VappContainer extends pulumi.CustomResource {
|
|
@@ -186,12 +183,12 @@ export declare class VappContainer extends pulumi.CustomResource {
|
|
|
186
183
|
*/
|
|
187
184
|
readonly name: pulumi.Output<string>;
|
|
188
185
|
/**
|
|
189
|
-
* The managed object ID of
|
|
186
|
+
* The [managed object ID][docs-about-morefs] of
|
|
190
187
|
* the vApp container's parent folder.
|
|
191
188
|
*/
|
|
192
189
|
readonly parentFolderId: pulumi.Output<string | undefined>;
|
|
193
190
|
/**
|
|
194
|
-
* The managed object ID
|
|
191
|
+
* The [managed object ID][docs-about-morefs]
|
|
195
192
|
* of the parent resource pool. This can be the root resource pool for a cluster
|
|
196
193
|
* or standalone host, or a resource pool itself. When moving a vApp container
|
|
197
194
|
* from one parent resource pool to another, both must share a common root
|
|
@@ -199,7 +196,11 @@ export declare class VappContainer extends pulumi.CustomResource {
|
|
|
199
196
|
*/
|
|
200
197
|
readonly parentResourcePoolId: pulumi.Output<string>;
|
|
201
198
|
/**
|
|
202
|
-
* The IDs of any tags to attach to this resource.
|
|
199
|
+
* The IDs of any tags to attach to this resource. See
|
|
200
|
+
* [here][docs-applying-tags] for a reference on how to apply tags.
|
|
201
|
+
*
|
|
202
|
+
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
203
|
+
* [docs-applying-tags]: /docs/providers/vsphere/r/tag.html#using-tags-in-a-supported-resource
|
|
203
204
|
*/
|
|
204
205
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
205
206
|
/**
|
|
@@ -289,12 +290,12 @@ export interface VappContainerState {
|
|
|
289
290
|
*/
|
|
290
291
|
name?: pulumi.Input<string>;
|
|
291
292
|
/**
|
|
292
|
-
* The managed object ID of
|
|
293
|
+
* The [managed object ID][docs-about-morefs] of
|
|
293
294
|
* the vApp container's parent folder.
|
|
294
295
|
*/
|
|
295
296
|
parentFolderId?: pulumi.Input<string>;
|
|
296
297
|
/**
|
|
297
|
-
* The managed object ID
|
|
298
|
+
* The [managed object ID][docs-about-morefs]
|
|
298
299
|
* of the parent resource pool. This can be the root resource pool for a cluster
|
|
299
300
|
* or standalone host, or a resource pool itself. When moving a vApp container
|
|
300
301
|
* from one parent resource pool to another, both must share a common root
|
|
@@ -302,7 +303,11 @@ export interface VappContainerState {
|
|
|
302
303
|
*/
|
|
303
304
|
parentResourcePoolId?: pulumi.Input<string>;
|
|
304
305
|
/**
|
|
305
|
-
* The IDs of any tags to attach to this resource.
|
|
306
|
+
* The IDs of any tags to attach to this resource. See
|
|
307
|
+
* [here][docs-applying-tags] for a reference on how to apply tags.
|
|
308
|
+
*
|
|
309
|
+
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
310
|
+
* [docs-applying-tags]: /docs/providers/vsphere/r/tag.html#using-tags-in-a-supported-resource
|
|
306
311
|
*/
|
|
307
312
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
308
313
|
}
|
|
@@ -384,12 +389,12 @@ export interface VappContainerArgs {
|
|
|
384
389
|
*/
|
|
385
390
|
name?: pulumi.Input<string>;
|
|
386
391
|
/**
|
|
387
|
-
* The managed object ID of
|
|
392
|
+
* The [managed object ID][docs-about-morefs] of
|
|
388
393
|
* the vApp container's parent folder.
|
|
389
394
|
*/
|
|
390
395
|
parentFolderId?: pulumi.Input<string>;
|
|
391
396
|
/**
|
|
392
|
-
* The managed object ID
|
|
397
|
+
* The [managed object ID][docs-about-morefs]
|
|
393
398
|
* of the parent resource pool. This can be the root resource pool for a cluster
|
|
394
399
|
* or standalone host, or a resource pool itself. When moving a vApp container
|
|
395
400
|
* from one parent resource pool to another, both must share a common root
|
|
@@ -397,7 +402,11 @@ export interface VappContainerArgs {
|
|
|
397
402
|
*/
|
|
398
403
|
parentResourcePoolId: pulumi.Input<string>;
|
|
399
404
|
/**
|
|
400
|
-
* The IDs of any tags to attach to this resource.
|
|
405
|
+
* The IDs of any tags to attach to this resource. See
|
|
406
|
+
* [here][docs-applying-tags] for a reference on how to apply tags.
|
|
407
|
+
*
|
|
408
|
+
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
409
|
+
* [docs-applying-tags]: /docs/providers/vsphere/r/tag.html#using-tags-in-a-supported-resource
|
|
401
410
|
*/
|
|
402
411
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
403
412
|
}
|
package/vappContainer.js
CHANGED
|
@@ -85,7 +85,6 @@ const utilities = require("./utilities");
|
|
|
85
85
|
* ## Import
|
|
86
86
|
*
|
|
87
87
|
* An existing vApp container can be imported into this resource via
|
|
88
|
-
*
|
|
89
88
|
* the path to the vApp container, using the following command:
|
|
90
89
|
*
|
|
91
90
|
* [docs-import]: https://developer.hashicorp.com/terraform/cli/import
|
|
@@ -97,9 +96,7 @@ const utilities = require("./utilities");
|
|
|
97
96
|
* ```
|
|
98
97
|
*
|
|
99
98
|
* The example above would import the vApp container named `vapp-01` that is
|
|
100
|
-
*
|
|
101
99
|
* located in the resource pool `resource-pool-01` that is part of the host cluster
|
|
102
|
-
*
|
|
103
100
|
* `cluster-01` in the `dc-01` datacenter.
|
|
104
101
|
*/
|
|
105
102
|
class VappContainer extends pulumi.CustomResource {
|
package/vappContainer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vappContainer.js","sourceRoot":"","sources":["../vappContainer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACt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AG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA5KL,sCA6KC;AA/JG,gBAAgB;AACO,0BAAY,GAAG,2CAA2C,CAAC"}
|
package/vappEntity.d.ts
CHANGED
|
@@ -37,11 +37,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
37
37
|
* datacenterId: datacenterGetDatacenter.id,
|
|
38
38
|
* }));
|
|
39
39
|
* const vappContainer = new vsphere.VappContainer("vapp_container", {
|
|
40
|
-
* name: "vapp-container-test",
|
|
40
|
+
* name: "pulumi-vapp-container-test",
|
|
41
41
|
* parentResourcePoolId: computeCluster.then(computeCluster => computeCluster.id),
|
|
42
42
|
* });
|
|
43
43
|
* const vm = new vsphere.VirtualMachine("vm", {
|
|
44
|
-
* name: "virtual-machine-test",
|
|
44
|
+
* name: "pulumi-virtual-machine-test",
|
|
45
45
|
* resourcePoolId: vappContainer.id,
|
|
46
46
|
* datastoreId: datastore.then(datastore => datastore.id),
|
|
47
47
|
* numCpus: 2,
|
|
@@ -65,7 +65,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
65
65
|
* ## Import
|
|
66
66
|
*
|
|
67
67
|
* An existing vApp entity can be imported into this resource via
|
|
68
|
-
*
|
|
69
68
|
* the ID of the vApp Entity.
|
|
70
69
|
*
|
|
71
70
|
* [docs-import]: https://developer.hashicorp.com/terraform/cli/import
|
|
@@ -75,9 +74,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
75
74
|
* ```
|
|
76
75
|
*
|
|
77
76
|
* The above would import the vApp entity that governs the behavior of the virtual
|
|
78
|
-
*
|
|
79
77
|
* machine with a [managed object ID][docs-about-morefs] of vm-123 in the vApp
|
|
80
|
-
*
|
|
81
78
|
* container with the [managed object ID][docs-about-morefs] res-456.
|
|
82
79
|
*/
|
|
83
80
|
export declare class VappEntity extends pulumi.CustomResource {
|
|
@@ -97,7 +94,7 @@ export declare class VappEntity extends pulumi.CustomResource {
|
|
|
97
94
|
*/
|
|
98
95
|
static isInstance(obj: any): obj is VappEntity;
|
|
99
96
|
/**
|
|
100
|
-
* Managed object ID of the vApp
|
|
97
|
+
* [Managed object ID|docs-about-morefs] of the vApp
|
|
101
98
|
* container the entity is a member of.
|
|
102
99
|
*/
|
|
103
100
|
readonly containerId: pulumi.Output<string>;
|
|
@@ -139,7 +136,7 @@ export declare class VappEntity extends pulumi.CustomResource {
|
|
|
139
136
|
*/
|
|
140
137
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
141
138
|
/**
|
|
142
|
-
* Managed object ID of the entity
|
|
139
|
+
* [Managed object ID|docs-about-morefs] of the entity
|
|
143
140
|
* to power on or power off. This can be a virtual machine or a vApp.
|
|
144
141
|
*/
|
|
145
142
|
readonly targetId: pulumi.Output<string>;
|
|
@@ -147,6 +144,8 @@ export declare class VappEntity extends pulumi.CustomResource {
|
|
|
147
144
|
* Determines if the VM should be marked as being
|
|
148
145
|
* started when VMware Tools are ready instead of waiting for `startDelay`. This
|
|
149
146
|
* property has no effect for vApps. Default: false
|
|
147
|
+
*
|
|
148
|
+
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
150
149
|
*/
|
|
151
150
|
readonly waitForGuest: pulumi.Output<boolean | undefined>;
|
|
152
151
|
/**
|
|
@@ -163,7 +162,7 @@ export declare class VappEntity extends pulumi.CustomResource {
|
|
|
163
162
|
*/
|
|
164
163
|
export interface VappEntityState {
|
|
165
164
|
/**
|
|
166
|
-
* Managed object ID of the vApp
|
|
165
|
+
* [Managed object ID|docs-about-morefs] of the vApp
|
|
167
166
|
* container the entity is a member of.
|
|
168
167
|
*/
|
|
169
168
|
containerId?: pulumi.Input<string>;
|
|
@@ -205,7 +204,7 @@ export interface VappEntityState {
|
|
|
205
204
|
*/
|
|
206
205
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
207
206
|
/**
|
|
208
|
-
* Managed object ID of the entity
|
|
207
|
+
* [Managed object ID|docs-about-morefs] of the entity
|
|
209
208
|
* to power on or power off. This can be a virtual machine or a vApp.
|
|
210
209
|
*/
|
|
211
210
|
targetId?: pulumi.Input<string>;
|
|
@@ -213,6 +212,8 @@ export interface VappEntityState {
|
|
|
213
212
|
* Determines if the VM should be marked as being
|
|
214
213
|
* started when VMware Tools are ready instead of waiting for `startDelay`. This
|
|
215
214
|
* property has no effect for vApps. Default: false
|
|
215
|
+
*
|
|
216
|
+
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
216
217
|
*/
|
|
217
218
|
waitForGuest?: pulumi.Input<boolean>;
|
|
218
219
|
}
|
|
@@ -221,7 +222,7 @@ export interface VappEntityState {
|
|
|
221
222
|
*/
|
|
222
223
|
export interface VappEntityArgs {
|
|
223
224
|
/**
|
|
224
|
-
* Managed object ID of the vApp
|
|
225
|
+
* [Managed object ID|docs-about-morefs] of the vApp
|
|
225
226
|
* container the entity is a member of.
|
|
226
227
|
*/
|
|
227
228
|
containerId: pulumi.Input<string>;
|
|
@@ -263,7 +264,7 @@ export interface VappEntityArgs {
|
|
|
263
264
|
*/
|
|
264
265
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
265
266
|
/**
|
|
266
|
-
* Managed object ID of the entity
|
|
267
|
+
* [Managed object ID|docs-about-morefs] of the entity
|
|
267
268
|
* to power on or power off. This can be a virtual machine or a vApp.
|
|
268
269
|
*/
|
|
269
270
|
targetId: pulumi.Input<string>;
|
|
@@ -271,6 +272,8 @@ export interface VappEntityArgs {
|
|
|
271
272
|
* Determines if the VM should be marked as being
|
|
272
273
|
* started when VMware Tools are ready instead of waiting for `startDelay`. This
|
|
273
274
|
* property has no effect for vApps. Default: false
|
|
275
|
+
*
|
|
276
|
+
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
274
277
|
*/
|
|
275
278
|
waitForGuest?: pulumi.Input<boolean>;
|
|
276
279
|
}
|
package/vappEntity.js
CHANGED
|
@@ -43,11 +43,11 @@ const utilities = require("./utilities");
|
|
|
43
43
|
* datacenterId: datacenterGetDatacenter.id,
|
|
44
44
|
* }));
|
|
45
45
|
* const vappContainer = new vsphere.VappContainer("vapp_container", {
|
|
46
|
-
* name: "vapp-container-test",
|
|
46
|
+
* name: "pulumi-vapp-container-test",
|
|
47
47
|
* parentResourcePoolId: computeCluster.then(computeCluster => computeCluster.id),
|
|
48
48
|
* });
|
|
49
49
|
* const vm = new vsphere.VirtualMachine("vm", {
|
|
50
|
-
* name: "virtual-machine-test",
|
|
50
|
+
* name: "pulumi-virtual-machine-test",
|
|
51
51
|
* resourcePoolId: vappContainer.id,
|
|
52
52
|
* datastoreId: datastore.then(datastore => datastore.id),
|
|
53
53
|
* numCpus: 2,
|
|
@@ -71,7 +71,6 @@ const utilities = require("./utilities");
|
|
|
71
71
|
* ## Import
|
|
72
72
|
*
|
|
73
73
|
* An existing vApp entity can be imported into this resource via
|
|
74
|
-
*
|
|
75
74
|
* the ID of the vApp Entity.
|
|
76
75
|
*
|
|
77
76
|
* [docs-import]: https://developer.hashicorp.com/terraform/cli/import
|
|
@@ -81,9 +80,7 @@ const utilities = require("./utilities");
|
|
|
81
80
|
* ```
|
|
82
81
|
*
|
|
83
82
|
* The above would import the vApp entity that governs the behavior of the virtual
|
|
84
|
-
*
|
|
85
83
|
* machine with a [managed object ID][docs-about-morefs] of vm-123 in the vApp
|
|
86
|
-
*
|
|
87
84
|
* container with the [managed object ID][docs-about-morefs] res-456.
|
|
88
85
|
*/
|
|
89
86
|
class VappEntity extends pulumi.CustomResource {
|
package/vappEntity.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vappEntity.js","sourceRoot":"","sources":["../vappEntity.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"vappEntity.js","sourceRoot":"","sources":["../vappEntity.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ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GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA9HL,gCA+HC;AAjHG,gBAAgB;AACO,uBAAY,GAAG,qCAAqC,CAAC"}
|
package/virtualDisk.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* The `vsphere.VirtualDisk` resource can be used to create virtual disks outside
|
|
4
|
-
* of any given `vsphere.VirtualMachine`
|
|
4
|
+
* of any given [`vsphere.VirtualMachine`][docs-vsphere-virtual-machine]
|
|
5
5
|
* resource. These disks can be attached to a virtual machine by creating a disk
|
|
6
|
-
* block with the `attach` parameter.
|
|
6
|
+
* block with the [`attach`][docs-vsphere-virtual-machine-disk-attach] parameter.
|
|
7
|
+
*
|
|
8
|
+
* [docs-vsphere-virtual-machine]: /docs/providers/vsphere/r/virtual_machine.html
|
|
9
|
+
* [docs-vsphere-virtual-machine-disk-attach]: /docs/providers/vsphere/r/virtual_machine.html#attach
|
|
7
10
|
*
|
|
8
11
|
* ## Example Usage
|
|
9
12
|
*
|
|
@@ -30,20 +33,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
33
|
* ## Import
|
|
31
34
|
*
|
|
32
35
|
* An existing virtual disk can be imported into this resource
|
|
33
|
-
*
|
|
34
36
|
* via supplying the full datastore path to the virtual disk. An example is below:
|
|
35
37
|
*
|
|
36
38
|
* [docs-import]: https://developer.hashicorp.com/terraform/cli/import
|
|
37
39
|
*
|
|
38
40
|
* ```sh
|
|
39
|
-
*
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
41
|
+
* terraform import vsphere_virtual_disk.virtual_disk \
|
|
42
42
|
* '{"virtual_disk_path": "/dc-01/[datastore-01]foo/bar.vmdk", \ "create_directories": "true"}'
|
|
43
|
+
* ```
|
|
43
44
|
*
|
|
44
45
|
* The above would import the virtual disk located at `foo/bar.vmdk` in the `datastore-01`
|
|
46
|
+
* datastore of the `dc-01` datacenter with `createDirectories` set as `true`.
|
|
45
47
|
*
|
|
46
|
-
*
|
|
48
|
+
* > **NOTE:** Import is not supported if using the **deprecated** `adapterType` field.
|
|
47
49
|
*/
|
|
48
50
|
export declare class VirtualDisk extends pulumi.CustomResource {
|
|
49
51
|
/**
|
|
@@ -67,11 +69,13 @@ export declare class VirtualDisk extends pulumi.CustomResource {
|
|
|
67
69
|
*
|
|
68
70
|
* > **NOTE:** `adapterType` is **deprecated**: it does not dictate the type of
|
|
69
71
|
* controller that the virtual disk will be attached to on the virtual machine.
|
|
70
|
-
* Please see the `scsiType` parameter
|
|
72
|
+
* Please see the [`scsiType`][docs-vsphere-virtual-machine-scsi-type] parameter
|
|
71
73
|
* in the `vsphere.VirtualMachine` resource for information on how to control
|
|
72
74
|
* disk controller types. This parameter will be removed in future versions of the
|
|
73
75
|
* vSphere provider.
|
|
74
76
|
*
|
|
77
|
+
* [docs-vsphere-virtual-machine-scsi-type]: /docs/providers/vsphere/r/virtual_machine.html#scsi_type
|
|
78
|
+
*
|
|
75
79
|
* @deprecated this attribute has no effect on controller types - please use scsiType in vsphere.VirtualMachine instead
|
|
76
80
|
*/
|
|
77
81
|
readonly adapterType: pulumi.Output<string | undefined>;
|
|
@@ -135,11 +139,13 @@ export interface VirtualDiskState {
|
|
|
135
139
|
*
|
|
136
140
|
* > **NOTE:** `adapterType` is **deprecated**: it does not dictate the type of
|
|
137
141
|
* controller that the virtual disk will be attached to on the virtual machine.
|
|
138
|
-
* Please see the `scsiType` parameter
|
|
142
|
+
* Please see the [`scsiType`][docs-vsphere-virtual-machine-scsi-type] parameter
|
|
139
143
|
* in the `vsphere.VirtualMachine` resource for information on how to control
|
|
140
144
|
* disk controller types. This parameter will be removed in future versions of the
|
|
141
145
|
* vSphere provider.
|
|
142
146
|
*
|
|
147
|
+
* [docs-vsphere-virtual-machine-scsi-type]: /docs/providers/vsphere/r/virtual_machine.html#scsi_type
|
|
148
|
+
*
|
|
143
149
|
* @deprecated this attribute has no effect on controller types - please use scsiType in vsphere.VirtualMachine instead
|
|
144
150
|
*/
|
|
145
151
|
adapterType?: pulumi.Input<string>;
|
|
@@ -195,11 +201,13 @@ export interface VirtualDiskArgs {
|
|
|
195
201
|
*
|
|
196
202
|
* > **NOTE:** `adapterType` is **deprecated**: it does not dictate the type of
|
|
197
203
|
* controller that the virtual disk will be attached to on the virtual machine.
|
|
198
|
-
* Please see the `scsiType` parameter
|
|
204
|
+
* Please see the [`scsiType`][docs-vsphere-virtual-machine-scsi-type] parameter
|
|
199
205
|
* in the `vsphere.VirtualMachine` resource for information on how to control
|
|
200
206
|
* disk controller types. This parameter will be removed in future versions of the
|
|
201
207
|
* vSphere provider.
|
|
202
208
|
*
|
|
209
|
+
* [docs-vsphere-virtual-machine-scsi-type]: /docs/providers/vsphere/r/virtual_machine.html#scsi_type
|
|
210
|
+
*
|
|
203
211
|
* @deprecated this attribute has no effect on controller types - please use scsiType in vsphere.VirtualMachine instead
|
|
204
212
|
*/
|
|
205
213
|
adapterType?: pulumi.Input<string>;
|
package/virtualDisk.js
CHANGED
|
@@ -7,9 +7,12 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* The `vsphere.VirtualDisk` resource can be used to create virtual disks outside
|
|
10
|
-
* of any given `vsphere.VirtualMachine`
|
|
10
|
+
* of any given [`vsphere.VirtualMachine`][docs-vsphere-virtual-machine]
|
|
11
11
|
* resource. These disks can be attached to a virtual machine by creating a disk
|
|
12
|
-
* block with the `attach` parameter.
|
|
12
|
+
* block with the [`attach`][docs-vsphere-virtual-machine-disk-attach] parameter.
|
|
13
|
+
*
|
|
14
|
+
* [docs-vsphere-virtual-machine]: /docs/providers/vsphere/r/virtual_machine.html
|
|
15
|
+
* [docs-vsphere-virtual-machine-disk-attach]: /docs/providers/vsphere/r/virtual_machine.html#attach
|
|
13
16
|
*
|
|
14
17
|
* ## Example Usage
|
|
15
18
|
*
|
|
@@ -36,20 +39,19 @@ const utilities = require("./utilities");
|
|
|
36
39
|
* ## Import
|
|
37
40
|
*
|
|
38
41
|
* An existing virtual disk can be imported into this resource
|
|
39
|
-
*
|
|
40
42
|
* via supplying the full datastore path to the virtual disk. An example is below:
|
|
41
43
|
*
|
|
42
44
|
* [docs-import]: https://developer.hashicorp.com/terraform/cli/import
|
|
43
45
|
*
|
|
44
46
|
* ```sh
|
|
45
|
-
*
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
47
|
+
* terraform import vsphere_virtual_disk.virtual_disk \
|
|
48
48
|
* '{"virtual_disk_path": "/dc-01/[datastore-01]foo/bar.vmdk", \ "create_directories": "true"}'
|
|
49
|
+
* ```
|
|
49
50
|
*
|
|
50
51
|
* The above would import the virtual disk located at `foo/bar.vmdk` in the `datastore-01`
|
|
52
|
+
* datastore of the `dc-01` datacenter with `createDirectories` set as `true`.
|
|
51
53
|
*
|
|
52
|
-
*
|
|
54
|
+
* > **NOTE:** Import is not supported if using the **deprecated** `adapterType` field.
|
|
53
55
|
*/
|
|
54
56
|
class VirtualDisk extends pulumi.CustomResource {
|
|
55
57
|
/**
|