@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/getResourcePool.d.ts
CHANGED
|
@@ -3,7 +3,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* The `vsphere.ResourcePool` data source can be used to discover the ID of a
|
|
4
4
|
* resource pool in vSphere. This is useful to return the ID of a resource pool
|
|
5
5
|
* that you want to use to create virtual machines in using the
|
|
6
|
-
* `vsphere.VirtualMachine` resource.
|
|
6
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource.
|
|
7
|
+
*
|
|
8
|
+
* [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
7
9
|
*
|
|
8
10
|
* ## Example Usage
|
|
9
11
|
*
|
|
@@ -43,9 +45,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
43
45
|
*
|
|
44
46
|
* ### Specifying the Root Resource Pool for a Standalone ESXi Host
|
|
45
47
|
*
|
|
46
|
-
* > **NOTE:** Returning the root resource pool for a cluster can be done
|
|
47
|
-
*
|
|
48
|
-
*
|
|
48
|
+
* > **NOTE:** Returning the root resource pool for a cluster can be done directly
|
|
49
|
+
* via the [`vsphere.ComputeCluster`][docs-compute-cluster-data-source] data
|
|
50
|
+
* source.
|
|
51
|
+
*
|
|
52
|
+
* [docs-compute-cluster-data-source]: /docs/providers/vsphere/d/compute_cluster.html
|
|
49
53
|
*
|
|
50
54
|
* All compute resources in vSphere have a resource pool, even if one has not been
|
|
51
55
|
* explicitly created. This resource pool is referred to as the _root resource
|
|
@@ -73,11 +77,11 @@ export declare function getResourcePool(args?: GetResourcePoolArgs, opts?: pulum
|
|
|
73
77
|
*/
|
|
74
78
|
export interface GetResourcePoolArgs {
|
|
75
79
|
/**
|
|
76
|
-
* The
|
|
77
|
-
* of the datacenter in which
|
|
78
|
-
*
|
|
79
|
-
* datacenters, use the id attribute from
|
|
80
|
-
* source
|
|
80
|
+
* The
|
|
81
|
+
* [managed object reference ID][docs-about-morefs] of the datacenter in which
|
|
82
|
+
* the resource pool is located. This can be omitted if the search path used in
|
|
83
|
+
* `name` is an absolute path. For default datacenters, use the id attribute from
|
|
84
|
+
* an empty `vsphere.Datacenter` data source.
|
|
81
85
|
*/
|
|
82
86
|
datacenterId?: string;
|
|
83
87
|
/**
|
|
@@ -86,13 +90,15 @@ export interface GetResourcePoolArgs {
|
|
|
86
90
|
*/
|
|
87
91
|
name?: string;
|
|
88
92
|
/**
|
|
89
|
-
* The managed object ID
|
|
93
|
+
* The [managed object ID][docs-about-morefs]
|
|
90
94
|
* of the parent resource pool. When specified, the `name` parameter is used to find
|
|
91
95
|
* a child resource pool with the given name under this parent resource pool.
|
|
92
96
|
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
97
|
+
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
98
|
+
*
|
|
99
|
+
* > **Note:** When using ESXi without a vCenter Server instance, you do not need
|
|
100
|
+
* to specify either attribute to use this data source. An empty declaration will
|
|
101
|
+
* load the ESXi host's root resource pool.
|
|
96
102
|
*/
|
|
97
103
|
parentResourcePoolId?: string;
|
|
98
104
|
}
|
|
@@ -112,7 +118,9 @@ export interface GetResourcePoolResult {
|
|
|
112
118
|
* The `vsphere.ResourcePool` data source can be used to discover the ID of a
|
|
113
119
|
* resource pool in vSphere. This is useful to return the ID of a resource pool
|
|
114
120
|
* that you want to use to create virtual machines in using the
|
|
115
|
-
* `vsphere.VirtualMachine` resource.
|
|
121
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource.
|
|
122
|
+
*
|
|
123
|
+
* [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
116
124
|
*
|
|
117
125
|
* ## Example Usage
|
|
118
126
|
*
|
|
@@ -152,9 +160,11 @@ export interface GetResourcePoolResult {
|
|
|
152
160
|
*
|
|
153
161
|
* ### Specifying the Root Resource Pool for a Standalone ESXi Host
|
|
154
162
|
*
|
|
155
|
-
* > **NOTE:** Returning the root resource pool for a cluster can be done
|
|
156
|
-
*
|
|
157
|
-
*
|
|
163
|
+
* > **NOTE:** Returning the root resource pool for a cluster can be done directly
|
|
164
|
+
* via the [`vsphere.ComputeCluster`][docs-compute-cluster-data-source] data
|
|
165
|
+
* source.
|
|
166
|
+
*
|
|
167
|
+
* [docs-compute-cluster-data-source]: /docs/providers/vsphere/d/compute_cluster.html
|
|
158
168
|
*
|
|
159
169
|
* All compute resources in vSphere have a resource pool, even if one has not been
|
|
160
170
|
* explicitly created. This resource pool is referred to as the _root resource
|
|
@@ -182,11 +192,11 @@ export declare function getResourcePoolOutput(args?: GetResourcePoolOutputArgs,
|
|
|
182
192
|
*/
|
|
183
193
|
export interface GetResourcePoolOutputArgs {
|
|
184
194
|
/**
|
|
185
|
-
* The
|
|
186
|
-
* of the datacenter in which
|
|
187
|
-
*
|
|
188
|
-
* datacenters, use the id attribute from
|
|
189
|
-
* source
|
|
195
|
+
* The
|
|
196
|
+
* [managed object reference ID][docs-about-morefs] of the datacenter in which
|
|
197
|
+
* the resource pool is located. This can be omitted if the search path used in
|
|
198
|
+
* `name` is an absolute path. For default datacenters, use the id attribute from
|
|
199
|
+
* an empty `vsphere.Datacenter` data source.
|
|
190
200
|
*/
|
|
191
201
|
datacenterId?: pulumi.Input<string>;
|
|
192
202
|
/**
|
|
@@ -195,13 +205,15 @@ export interface GetResourcePoolOutputArgs {
|
|
|
195
205
|
*/
|
|
196
206
|
name?: pulumi.Input<string>;
|
|
197
207
|
/**
|
|
198
|
-
* The managed object ID
|
|
208
|
+
* The [managed object ID][docs-about-morefs]
|
|
199
209
|
* of the parent resource pool. When specified, the `name` parameter is used to find
|
|
200
210
|
* a child resource pool with the given name under this parent resource pool.
|
|
201
211
|
*
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
*
|
|
212
|
+
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
213
|
+
*
|
|
214
|
+
* > **Note:** When using ESXi without a vCenter Server instance, you do not need
|
|
215
|
+
* to specify either attribute to use this data source. An empty declaration will
|
|
216
|
+
* load the ESXi host's root resource pool.
|
|
205
217
|
*/
|
|
206
218
|
parentResourcePoolId?: pulumi.Input<string>;
|
|
207
219
|
}
|
package/getResourcePool.js
CHANGED
|
@@ -9,7 +9,9 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* The `vsphere.ResourcePool` data source can be used to discover the ID of a
|
|
10
10
|
* resource pool in vSphere. This is useful to return the ID of a resource pool
|
|
11
11
|
* that you want to use to create virtual machines in using the
|
|
12
|
-
* `vsphere.VirtualMachine` resource.
|
|
12
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource.
|
|
13
|
+
*
|
|
14
|
+
* [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
13
15
|
*
|
|
14
16
|
* ## Example Usage
|
|
15
17
|
*
|
|
@@ -49,9 +51,11 @@ const utilities = require("./utilities");
|
|
|
49
51
|
*
|
|
50
52
|
* ### Specifying the Root Resource Pool for a Standalone ESXi Host
|
|
51
53
|
*
|
|
52
|
-
* > **NOTE:** Returning the root resource pool for a cluster can be done
|
|
53
|
-
*
|
|
54
|
-
*
|
|
54
|
+
* > **NOTE:** Returning the root resource pool for a cluster can be done directly
|
|
55
|
+
* via the [`vsphere.ComputeCluster`][docs-compute-cluster-data-source] data
|
|
56
|
+
* source.
|
|
57
|
+
*
|
|
58
|
+
* [docs-compute-cluster-data-source]: /docs/providers/vsphere/d/compute_cluster.html
|
|
55
59
|
*
|
|
56
60
|
* All compute resources in vSphere have a resource pool, even if one has not been
|
|
57
61
|
* explicitly created. This resource pool is referred to as the _root resource
|
|
@@ -87,7 +91,9 @@ exports.getResourcePool = getResourcePool;
|
|
|
87
91
|
* The `vsphere.ResourcePool` data source can be used to discover the ID of a
|
|
88
92
|
* resource pool in vSphere. This is useful to return the ID of a resource pool
|
|
89
93
|
* that you want to use to create virtual machines in using the
|
|
90
|
-
* `vsphere.VirtualMachine` resource.
|
|
94
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource.
|
|
95
|
+
*
|
|
96
|
+
* [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
91
97
|
*
|
|
92
98
|
* ## Example Usage
|
|
93
99
|
*
|
|
@@ -127,9 +133,11 @@ exports.getResourcePool = getResourcePool;
|
|
|
127
133
|
*
|
|
128
134
|
* ### Specifying the Root Resource Pool for a Standalone ESXi Host
|
|
129
135
|
*
|
|
130
|
-
* > **NOTE:** Returning the root resource pool for a cluster can be done
|
|
131
|
-
*
|
|
132
|
-
*
|
|
136
|
+
* > **NOTE:** Returning the root resource pool for a cluster can be done directly
|
|
137
|
+
* via the [`vsphere.ComputeCluster`][docs-compute-cluster-data-source] data
|
|
138
|
+
* source.
|
|
139
|
+
*
|
|
140
|
+
* [docs-compute-cluster-data-source]: /docs/providers/vsphere/d/compute_cluster.html
|
|
133
141
|
*
|
|
134
142
|
* All compute resources in vSphere have a resource pool, even if one has not been
|
|
135
143
|
* explicitly created. This resource pool is referred to as the _root resource
|
package/getResourcePool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getResourcePool.js","sourceRoot":"","sources":["../getResourcePool.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getResourcePool.js","sourceRoot":"","sources":["../getResourcePool.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;KACpD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AA6CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAAiC;IACrG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+CAA+C,EAAE;QAChF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;KACpD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC"}
|
package/getTag.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* The `vsphere.Tag` data source can be used to reference tags that are not
|
|
4
|
-
*
|
|
5
|
-
* resource, and, like importing, the data source
|
|
6
|
-
* category
|
|
7
|
-
* the data found by the search.
|
|
3
|
+
* The `vsphere.Tag` data source can be used to reference tags that are not managed
|
|
4
|
+
* by Terraform. Its attributes are exactly the same as the
|
|
5
|
+
* [`vsphere.Tag` resource][resource-tag], and, like importing, the data source
|
|
6
|
+
* uses a name and category as search criteria. The `id` and other attributes are
|
|
7
|
+
* populated with the data found by the search.
|
|
8
|
+
*
|
|
9
|
+
* [resource-tag]: /docs/providers/vsphere/r/tag.html
|
|
8
10
|
*
|
|
9
11
|
* > **NOTE:** Tagging is not supported on direct ESXi hosts connections and
|
|
10
12
|
* requires vCenter Server.
|
|
@@ -52,11 +54,13 @@ export interface GetTagResult {
|
|
|
52
54
|
readonly name: string;
|
|
53
55
|
}
|
|
54
56
|
/**
|
|
55
|
-
* The `vsphere.Tag` data source can be used to reference tags that are not
|
|
56
|
-
*
|
|
57
|
-
* resource, and, like importing, the data source
|
|
58
|
-
* category
|
|
59
|
-
* the data found by the search.
|
|
57
|
+
* The `vsphere.Tag` data source can be used to reference tags that are not managed
|
|
58
|
+
* by Terraform. Its attributes are exactly the same as the
|
|
59
|
+
* [`vsphere.Tag` resource][resource-tag], and, like importing, the data source
|
|
60
|
+
* uses a name and category as search criteria. The `id` and other attributes are
|
|
61
|
+
* populated with the data found by the search.
|
|
62
|
+
*
|
|
63
|
+
* [resource-tag]: /docs/providers/vsphere/r/tag.html
|
|
60
64
|
*
|
|
61
65
|
* > **NOTE:** Tagging is not supported on direct ESXi hosts connections and
|
|
62
66
|
* requires vCenter Server.
|
package/getTag.js
CHANGED
|
@@ -6,11 +6,13 @@ exports.getTagOutput = exports.getTag = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* The `vsphere.Tag` data source can be used to reference tags that are not
|
|
10
|
-
*
|
|
11
|
-
* resource, and, like importing, the data source
|
|
12
|
-
* category
|
|
13
|
-
* the data found by the search.
|
|
9
|
+
* The `vsphere.Tag` data source can be used to reference tags that are not managed
|
|
10
|
+
* by Terraform. Its attributes are exactly the same as the
|
|
11
|
+
* [`vsphere.Tag` resource][resource-tag], and, like importing, the data source
|
|
12
|
+
* uses a name and category as search criteria. The `id` and other attributes are
|
|
13
|
+
* populated with the data found by the search.
|
|
14
|
+
*
|
|
15
|
+
* [resource-tag]: /docs/providers/vsphere/r/tag.html
|
|
14
16
|
*
|
|
15
17
|
* > **NOTE:** Tagging is not supported on direct ESXi hosts connections and
|
|
16
18
|
* requires vCenter Server.
|
|
@@ -39,11 +41,13 @@ function getTag(args, opts) {
|
|
|
39
41
|
}
|
|
40
42
|
exports.getTag = getTag;
|
|
41
43
|
/**
|
|
42
|
-
* The `vsphere.Tag` data source can be used to reference tags that are not
|
|
43
|
-
*
|
|
44
|
-
* resource, and, like importing, the data source
|
|
45
|
-
* category
|
|
46
|
-
* the data found by the search.
|
|
44
|
+
* The `vsphere.Tag` data source can be used to reference tags that are not managed
|
|
45
|
+
* by Terraform. Its attributes are exactly the same as the
|
|
46
|
+
* [`vsphere.Tag` resource][resource-tag], and, like importing, the data source
|
|
47
|
+
* uses a name and category as search criteria. The `id` and other attributes are
|
|
48
|
+
* populated with the data found by the search.
|
|
49
|
+
*
|
|
50
|
+
* [resource-tag]: /docs/providers/vsphere/r/tag.html
|
|
47
51
|
*
|
|
48
52
|
* > **NOTE:** Tagging is not supported on direct ESXi hosts connections and
|
|
49
53
|
* requires vCenter Server.
|
package/getTag.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTag.js","sourceRoot":"","sources":["../getTag.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getTag.js","sourceRoot":"","sources":["../getTag.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6BAA6B,EAAE;QACxD,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wBAMC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6BAA6B,EAAE;QAC9D,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC"}
|
package/getTagCategory.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* The `vsphere.TagCategory` data source can be used to reference tag categories
|
|
4
|
-
* that are not managed by
|
|
5
|
-
* `vsphere.TagCategory` resource, and, like importing,
|
|
4
|
+
* that are not managed by Terraform. Its attributes are the same as the
|
|
5
|
+
* [`vsphere.TagCategory` resource][resource-tag-category], and, like importing,
|
|
6
6
|
* the data source uses a name and category as search criteria. The `id` and other
|
|
7
7
|
* attributes are populated with the data found by the search.
|
|
8
8
|
*
|
|
9
|
+
* [resource-tag-category]: /docs/providers/vsphere/r/tag_category.html
|
|
10
|
+
*
|
|
9
11
|
* > **NOTE:** Tagging is not supported on direct ESXi hosts connections and
|
|
10
12
|
* requires vCenter Server.
|
|
11
13
|
*
|
|
@@ -45,11 +47,13 @@ export interface GetTagCategoryResult {
|
|
|
45
47
|
}
|
|
46
48
|
/**
|
|
47
49
|
* The `vsphere.TagCategory` data source can be used to reference tag categories
|
|
48
|
-
* that are not managed by
|
|
49
|
-
* `vsphere.TagCategory` resource, and, like importing,
|
|
50
|
+
* that are not managed by Terraform. Its attributes are the same as the
|
|
51
|
+
* [`vsphere.TagCategory` resource][resource-tag-category], and, like importing,
|
|
50
52
|
* the data source uses a name and category as search criteria. The `id` and other
|
|
51
53
|
* attributes are populated with the data found by the search.
|
|
52
54
|
*
|
|
55
|
+
* [resource-tag-category]: /docs/providers/vsphere/r/tag_category.html
|
|
56
|
+
*
|
|
53
57
|
* > **NOTE:** Tagging is not supported on direct ESXi hosts connections and
|
|
54
58
|
* requires vCenter Server.
|
|
55
59
|
*
|
package/getTagCategory.js
CHANGED
|
@@ -7,11 +7,13 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* The `vsphere.TagCategory` data source can be used to reference tag categories
|
|
10
|
-
* that are not managed by
|
|
11
|
-
* `vsphere.TagCategory` resource, and, like importing,
|
|
10
|
+
* that are not managed by Terraform. Its attributes are the same as the
|
|
11
|
+
* [`vsphere.TagCategory` resource][resource-tag-category], and, like importing,
|
|
12
12
|
* the data source uses a name and category as search criteria. The `id` and other
|
|
13
13
|
* attributes are populated with the data found by the search.
|
|
14
14
|
*
|
|
15
|
+
* [resource-tag-category]: /docs/providers/vsphere/r/tag_category.html
|
|
16
|
+
*
|
|
15
17
|
* > **NOTE:** Tagging is not supported on direct ESXi hosts connections and
|
|
16
18
|
* requires vCenter Server.
|
|
17
19
|
*
|
|
@@ -35,11 +37,13 @@ function getTagCategory(args, opts) {
|
|
|
35
37
|
exports.getTagCategory = getTagCategory;
|
|
36
38
|
/**
|
|
37
39
|
* The `vsphere.TagCategory` data source can be used to reference tag categories
|
|
38
|
-
* that are not managed by
|
|
39
|
-
* `vsphere.TagCategory` resource, and, like importing,
|
|
40
|
+
* that are not managed by Terraform. Its attributes are the same as the
|
|
41
|
+
* [`vsphere.TagCategory` resource][resource-tag-category], and, like importing,
|
|
40
42
|
* the data source uses a name and category as search criteria. The `id` and other
|
|
41
43
|
* attributes are populated with the data found by the search.
|
|
42
44
|
*
|
|
45
|
+
* [resource-tag-category]: /docs/providers/vsphere/r/tag_category.html
|
|
46
|
+
*
|
|
43
47
|
* > **NOTE:** Tagging is not supported on direct ESXi hosts connections and
|
|
44
48
|
* requires vCenter Server.
|
|
45
49
|
*
|
package/getTagCategory.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTagCategory.js","sourceRoot":"","sources":["../getTagCategory.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getTagCategory.js","sourceRoot":"","sources":["../getTagCategory.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AAyBD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;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,6CAA6C,EAAE;QAC9E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC"}
|
package/getVappContainer.d.ts
CHANGED
|
@@ -3,7 +3,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* The `vsphere.VappContainer` data source can be used to discover the ID of a
|
|
4
4
|
* vApp container in vSphere. This is useful to return the ID of a vApp container
|
|
5
5
|
* that you want to use to create virtual machines in using the
|
|
6
|
-
* `vsphere.VirtualMachine` resource.
|
|
6
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource.
|
|
7
|
+
*
|
|
8
|
+
* [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
7
9
|
*
|
|
8
10
|
* ## Example Usage
|
|
9
11
|
*
|
|
@@ -26,8 +28,11 @@ export declare function getVappContainer(args: GetVappContainerArgs, opts?: pulu
|
|
|
26
28
|
*/
|
|
27
29
|
export interface GetVappContainerArgs {
|
|
28
30
|
/**
|
|
29
|
-
* The
|
|
30
|
-
* of the datacenter in which
|
|
31
|
+
* The
|
|
32
|
+
* [managed object reference ID][docs-about-morefs] of the datacenter in which
|
|
33
|
+
* the vApp container is located.
|
|
34
|
+
*
|
|
35
|
+
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
31
36
|
*/
|
|
32
37
|
datacenterId: string;
|
|
33
38
|
/**
|
|
@@ -51,7 +56,9 @@ export interface GetVappContainerResult {
|
|
|
51
56
|
* The `vsphere.VappContainer` data source can be used to discover the ID of a
|
|
52
57
|
* vApp container in vSphere. This is useful to return the ID of a vApp container
|
|
53
58
|
* that you want to use to create virtual machines in using the
|
|
54
|
-
* `vsphere.VirtualMachine` resource.
|
|
59
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource.
|
|
60
|
+
*
|
|
61
|
+
* [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
55
62
|
*
|
|
56
63
|
* ## Example Usage
|
|
57
64
|
*
|
|
@@ -74,8 +81,11 @@ export declare function getVappContainerOutput(args: GetVappContainerOutputArgs,
|
|
|
74
81
|
*/
|
|
75
82
|
export interface GetVappContainerOutputArgs {
|
|
76
83
|
/**
|
|
77
|
-
* The
|
|
78
|
-
* of the datacenter in which
|
|
84
|
+
* The
|
|
85
|
+
* [managed object reference ID][docs-about-morefs] of the datacenter in which
|
|
86
|
+
* the vApp container is located.
|
|
87
|
+
*
|
|
88
|
+
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
79
89
|
*/
|
|
80
90
|
datacenterId: pulumi.Input<string>;
|
|
81
91
|
/**
|
package/getVappContainer.js
CHANGED
|
@@ -9,7 +9,9 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* The `vsphere.VappContainer` data source can be used to discover the ID of a
|
|
10
10
|
* vApp container in vSphere. This is useful to return the ID of a vApp container
|
|
11
11
|
* that you want to use to create virtual machines in using the
|
|
12
|
-
* `vsphere.VirtualMachine` resource.
|
|
12
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource.
|
|
13
|
+
*
|
|
14
|
+
* [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
13
15
|
*
|
|
14
16
|
* ## Example Usage
|
|
15
17
|
*
|
|
@@ -38,7 +40,9 @@ exports.getVappContainer = getVappContainer;
|
|
|
38
40
|
* The `vsphere.VappContainer` data source can be used to discover the ID of a
|
|
39
41
|
* vApp container in vSphere. This is useful to return the ID of a vApp container
|
|
40
42
|
* that you want to use to create virtual machines in using the
|
|
41
|
-
* `vsphere.VirtualMachine` resource.
|
|
43
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource.
|
|
44
|
+
*
|
|
45
|
+
* [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
42
46
|
*
|
|
43
47
|
* ## Example Usage
|
|
44
48
|
*
|
package/getVappContainer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVappContainer.js","sourceRoot":"","sources":["../getVappContainer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getVappContainer.js","sourceRoot":"","sources":["../getVappContainer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AAgCD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE;QAClF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC"}
|
package/getVirtualMachine.d.ts
CHANGED
|
@@ -3,11 +3,13 @@ import * as inputs from "./types/input";
|
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
5
|
* The `vsphere.VirtualMachine` data source can be used to find the UUID of an
|
|
6
|
-
* existing virtual machine or template. The most common purpose is for finding
|
|
7
|
-
*
|
|
8
|
-
* `vsphere.VirtualMachine` resource. It also
|
|
6
|
+
* existing virtual machine or template. The most common purpose is for finding the
|
|
7
|
+
* UUID of a template to be used as the source for cloning to a new
|
|
8
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource. It also
|
|
9
9
|
* reads the guest ID so that can be supplied as well.
|
|
10
10
|
*
|
|
11
|
+
* [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
12
|
+
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
13
15
|
* In the following example, a virtual machine template is returned by its unique
|
|
@@ -72,11 +74,11 @@ export interface GetVirtualMachineArgs {
|
|
|
72
74
|
cpuShareCount?: number;
|
|
73
75
|
cpuShareLevel?: string;
|
|
74
76
|
/**
|
|
75
|
-
* The managed object reference
|
|
76
|
-
* ID of the datacenter the virtual machine is located in.
|
|
77
|
-
* This can be omitted if the search path used in `name` is an absolute path.
|
|
78
|
-
*
|
|
79
|
-
*
|
|
77
|
+
* The [managed object reference
|
|
78
|
+
* ID][docs-about-morefs] of the datacenter the virtual machine is located in.
|
|
79
|
+
* This can be omitted if the search path used in `name` is an absolute path. For
|
|
80
|
+
* default datacenters, use the `id` attribute from an empty `vsphere.Datacenter`
|
|
81
|
+
* data source.
|
|
80
82
|
*/
|
|
81
83
|
datacenterId?: string;
|
|
82
84
|
efiSecureBootEnabled?: boolean;
|
|
@@ -93,7 +95,10 @@ export interface GetVirtualMachineArgs {
|
|
|
93
95
|
*/
|
|
94
96
|
firmware?: string;
|
|
95
97
|
/**
|
|
96
|
-
* The name of the virtual machine folder where the virtual
|
|
98
|
+
* The name of the virtual machine folder where the virtual
|
|
99
|
+
* machine is located. The `name` argument is limited to 80 characters. If the
|
|
100
|
+
* `name` argument includes the full path to the virtual machine and exceeds the
|
|
101
|
+
* 80 characters limit, the `folder` folder argument can be used.
|
|
97
102
|
*/
|
|
98
103
|
folder?: string;
|
|
99
104
|
/**
|
|
@@ -119,9 +124,9 @@ export interface GetVirtualMachineArgs {
|
|
|
119
124
|
memoryShareLevel?: string;
|
|
120
125
|
moid?: string;
|
|
121
126
|
/**
|
|
122
|
-
* The name of the virtual machine. This can be a name or
|
|
123
|
-
*
|
|
124
|
-
*
|
|
127
|
+
* The name of the virtual machine. This can be a name or the
|
|
128
|
+
* full path relative to the datacenter. This is required if a UUID lookup is not
|
|
129
|
+
* performed.
|
|
125
130
|
*/
|
|
126
131
|
name?: string;
|
|
127
132
|
nestedHvEnabled?: boolean;
|
|
@@ -139,11 +144,17 @@ export interface GetVirtualMachineArgs {
|
|
|
139
144
|
* The number of NVMe controllers to
|
|
140
145
|
* scan for disk attributes and controller types on. Default: `1`.
|
|
141
146
|
*
|
|
147
|
+
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
148
|
+
*
|
|
142
149
|
* > **NOTE:** For best results, ensure that all the disks on any templates you
|
|
143
|
-
* use with this data source reside on the primary controller, and leave this
|
|
144
|
-
*
|
|
145
|
-
* resource
|
|
146
|
-
*
|
|
150
|
+
* use with this data source reside on the primary controller, and leave this value
|
|
151
|
+
* at the default. See the
|
|
152
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource
|
|
153
|
+
* documentation for the significance of this setting, specifically the
|
|
154
|
+
* [additional requirements and notes for cloning][docs-virtual-machine-resource-cloning]
|
|
155
|
+
* section.
|
|
156
|
+
*
|
|
157
|
+
* [docs-virtual-machine-resource-cloning]: /docs/providers/vsphere/r/virtual_machine.html#additional-requirements-and-notes-for-cloning
|
|
147
158
|
*/
|
|
148
159
|
nvmeControllerScanCount?: number;
|
|
149
160
|
replaceTrigger?: string;
|
|
@@ -164,8 +175,8 @@ export interface GetVirtualMachineArgs {
|
|
|
164
175
|
syncTimeWithHostPeriodically?: boolean;
|
|
165
176
|
toolsUpgradePolicy?: string;
|
|
166
177
|
/**
|
|
167
|
-
* Specify this field for a UUID lookup, `name` and
|
|
168
|
-
* are not required if this is specified.
|
|
178
|
+
* Specify this field for a UUID lookup, `name` and
|
|
179
|
+
* `datacenterId` are not required if this is specified.
|
|
169
180
|
*/
|
|
170
181
|
uuid?: string;
|
|
171
182
|
vapp?: inputs.GetVirtualMachineVapp;
|
|
@@ -334,11 +345,13 @@ export interface GetVirtualMachineResult {
|
|
|
334
345
|
}
|
|
335
346
|
/**
|
|
336
347
|
* The `vsphere.VirtualMachine` data source can be used to find the UUID of an
|
|
337
|
-
* existing virtual machine or template. The most common purpose is for finding
|
|
338
|
-
*
|
|
339
|
-
* `vsphere.VirtualMachine` resource. It also
|
|
348
|
+
* existing virtual machine or template. The most common purpose is for finding the
|
|
349
|
+
* UUID of a template to be used as the source for cloning to a new
|
|
350
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource. It also
|
|
340
351
|
* reads the guest ID so that can be supplied as well.
|
|
341
352
|
*
|
|
353
|
+
* [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
354
|
+
*
|
|
342
355
|
* ## Example Usage
|
|
343
356
|
*
|
|
344
357
|
* In the following example, a virtual machine template is returned by its unique
|
|
@@ -403,11 +416,11 @@ export interface GetVirtualMachineOutputArgs {
|
|
|
403
416
|
cpuShareCount?: pulumi.Input<number>;
|
|
404
417
|
cpuShareLevel?: pulumi.Input<string>;
|
|
405
418
|
/**
|
|
406
|
-
* The managed object reference
|
|
407
|
-
* ID of the datacenter the virtual machine is located in.
|
|
408
|
-
* This can be omitted if the search path used in `name` is an absolute path.
|
|
409
|
-
*
|
|
410
|
-
*
|
|
419
|
+
* The [managed object reference
|
|
420
|
+
* ID][docs-about-morefs] of the datacenter the virtual machine is located in.
|
|
421
|
+
* This can be omitted if the search path used in `name` is an absolute path. For
|
|
422
|
+
* default datacenters, use the `id` attribute from an empty `vsphere.Datacenter`
|
|
423
|
+
* data source.
|
|
411
424
|
*/
|
|
412
425
|
datacenterId?: pulumi.Input<string>;
|
|
413
426
|
efiSecureBootEnabled?: pulumi.Input<boolean>;
|
|
@@ -424,7 +437,10 @@ export interface GetVirtualMachineOutputArgs {
|
|
|
424
437
|
*/
|
|
425
438
|
firmware?: pulumi.Input<string>;
|
|
426
439
|
/**
|
|
427
|
-
* The name of the virtual machine folder where the virtual
|
|
440
|
+
* The name of the virtual machine folder where the virtual
|
|
441
|
+
* machine is located. The `name` argument is limited to 80 characters. If the
|
|
442
|
+
* `name` argument includes the full path to the virtual machine and exceeds the
|
|
443
|
+
* 80 characters limit, the `folder` folder argument can be used.
|
|
428
444
|
*/
|
|
429
445
|
folder?: pulumi.Input<string>;
|
|
430
446
|
/**
|
|
@@ -450,9 +466,9 @@ export interface GetVirtualMachineOutputArgs {
|
|
|
450
466
|
memoryShareLevel?: pulumi.Input<string>;
|
|
451
467
|
moid?: pulumi.Input<string>;
|
|
452
468
|
/**
|
|
453
|
-
* The name of the virtual machine. This can be a name or
|
|
454
|
-
*
|
|
455
|
-
*
|
|
469
|
+
* The name of the virtual machine. This can be a name or the
|
|
470
|
+
* full path relative to the datacenter. This is required if a UUID lookup is not
|
|
471
|
+
* performed.
|
|
456
472
|
*/
|
|
457
473
|
name?: pulumi.Input<string>;
|
|
458
474
|
nestedHvEnabled?: pulumi.Input<boolean>;
|
|
@@ -470,11 +486,17 @@ export interface GetVirtualMachineOutputArgs {
|
|
|
470
486
|
* The number of NVMe controllers to
|
|
471
487
|
* scan for disk attributes and controller types on. Default: `1`.
|
|
472
488
|
*
|
|
489
|
+
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
490
|
+
*
|
|
473
491
|
* > **NOTE:** For best results, ensure that all the disks on any templates you
|
|
474
|
-
* use with this data source reside on the primary controller, and leave this
|
|
475
|
-
*
|
|
476
|
-
* resource
|
|
477
|
-
*
|
|
492
|
+
* use with this data source reside on the primary controller, and leave this value
|
|
493
|
+
* at the default. See the
|
|
494
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource
|
|
495
|
+
* documentation for the significance of this setting, specifically the
|
|
496
|
+
* [additional requirements and notes for cloning][docs-virtual-machine-resource-cloning]
|
|
497
|
+
* section.
|
|
498
|
+
*
|
|
499
|
+
* [docs-virtual-machine-resource-cloning]: /docs/providers/vsphere/r/virtual_machine.html#additional-requirements-and-notes-for-cloning
|
|
478
500
|
*/
|
|
479
501
|
nvmeControllerScanCount?: pulumi.Input<number>;
|
|
480
502
|
replaceTrigger?: pulumi.Input<string>;
|
|
@@ -495,8 +517,8 @@ export interface GetVirtualMachineOutputArgs {
|
|
|
495
517
|
syncTimeWithHostPeriodically?: pulumi.Input<boolean>;
|
|
496
518
|
toolsUpgradePolicy?: pulumi.Input<string>;
|
|
497
519
|
/**
|
|
498
|
-
* Specify this field for a UUID lookup, `name` and
|
|
499
|
-
* are not required if this is specified.
|
|
520
|
+
* Specify this field for a UUID lookup, `name` and
|
|
521
|
+
* `datacenterId` are not required if this is specified.
|
|
500
522
|
*/
|
|
501
523
|
uuid?: pulumi.Input<string>;
|
|
502
524
|
vapp?: pulumi.Input<inputs.GetVirtualMachineVappArgs>;
|
package/getVirtualMachine.js
CHANGED
|
@@ -7,11 +7,13 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* The `vsphere.VirtualMachine` data source can be used to find the UUID of an
|
|
10
|
-
* existing virtual machine or template. The most common purpose is for finding
|
|
11
|
-
*
|
|
12
|
-
* `vsphere.VirtualMachine` resource. It also
|
|
10
|
+
* existing virtual machine or template. The most common purpose is for finding the
|
|
11
|
+
* UUID of a template to be used as the source for cloning to a new
|
|
12
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource. It also
|
|
13
13
|
* reads the guest ID so that can be supplied as well.
|
|
14
14
|
*
|
|
15
|
+
* [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
16
|
+
*
|
|
15
17
|
* ## Example Usage
|
|
16
18
|
*
|
|
17
19
|
* In the following example, a virtual machine template is returned by its unique
|
|
@@ -115,11 +117,13 @@ function getVirtualMachine(args, opts) {
|
|
|
115
117
|
exports.getVirtualMachine = getVirtualMachine;
|
|
116
118
|
/**
|
|
117
119
|
* The `vsphere.VirtualMachine` data source can be used to find the UUID of an
|
|
118
|
-
* existing virtual machine or template. The most common purpose is for finding
|
|
119
|
-
*
|
|
120
|
-
* `vsphere.VirtualMachine` resource. It also
|
|
120
|
+
* existing virtual machine or template. The most common purpose is for finding the
|
|
121
|
+
* UUID of a template to be used as the source for cloning to a new
|
|
122
|
+
* [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource. It also
|
|
121
123
|
* reads the guest ID so that can be supplied as well.
|
|
122
124
|
*
|
|
125
|
+
* [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
126
|
+
*
|
|
123
127
|
* ## Example Usage
|
|
124
128
|
*
|
|
125
129
|
* In the following example, a virtual machine template is returned by its unique
|