@pulumi/vsphere 4.10.0 → 4.10.2-alpha.1720054582
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 +309 -633
- package/computeCluster.js +2 -0
- package/computeCluster.js.map +1 -1
- package/computeClusterVmAffinityRule.d.ts +14 -10
- package/computeClusterVmAffinityRule.js +14 -10
- package/computeClusterVmAffinityRule.js.map +1 -1
- package/datacenter.d.ts +14 -15
- package/datacenter.js +14 -6
- package/datacenter.js.map +1 -1
- package/datastoreCluster.d.ts +72 -162
- package/datastoreCluster.js.map +1 -1
- package/distributedPortGroup.d.ts +54 -78
- package/distributedPortGroup.js.map +1 -1
- package/distributedVirtualSwitch.d.ts +129 -351
- package/distributedVirtualSwitch.js.map +1 -1
- package/entityPermissions.d.ts +24 -15
- package/entityPermissions.js.map +1 -1
- package/file.d.ts +8 -12
- package/file.js +8 -12
- package/file.js.map +1 -1
- package/folder.d.ts +0 -9
- package/folder.js.map +1 -1
- package/getComputeCluster.d.ts +0 -4
- package/getComputeCluster.js +0 -4
- package/getComputeCluster.js.map +1 -1
- package/getComputeClusterHostGroup.d.ts +22 -22
- package/getComputeClusterHostGroup.js +16 -18
- package/getComputeClusterHostGroup.js.map +1 -1
- package/getContentLibrary.d.ts +10 -10
- package/getContentLibrary.js +10 -10
- package/getContentLibraryItem.d.ts +12 -8
- package/getContentLibraryItem.js +4 -4
- package/getContentLibraryItem.js.map +1 -1
- package/getCustomAttribute.d.ts +0 -4
- package/getCustomAttribute.js +0 -4
- package/getCustomAttribute.js.map +1 -1
- package/getDatacenter.d.ts +0 -4
- package/getDatacenter.js +0 -4
- package/getDatacenter.js.map +1 -1
- package/getDatastore.d.ts +9 -13
- package/getDatastore.js +0 -4
- package/getDatastore.js.map +1 -1
- package/getDatastoreCluster.d.ts +0 -4
- package/getDatastoreCluster.js +0 -4
- package/getDatastoreCluster.js.map +1 -1
- package/getDatastoreStats.d.ts +38 -44
- package/getDatastoreStats.js +16 -24
- package/getDatastoreStats.js.map +1 -1
- package/getDistributedVirtualSwitch.d.ts +2 -4
- package/getDistributedVirtualSwitch.js +2 -4
- package/getDistributedVirtualSwitch.js.map +1 -1
- package/getDynamic.d.ts +18 -20
- package/getDynamic.js +12 -14
- package/getDynamic.js.map +1 -1
- package/getFolder.d.ts +10 -6
- package/getFolder.js +10 -6
- package/getFolder.js.map +1 -1
- package/getGuestOsCustomization.d.ts +8 -51
- package/getGuestOsCustomization.js +4 -34
- package/getGuestOsCustomization.js.map +1 -1
- package/getHost.d.ts +0 -4
- package/getHost.js +0 -4
- package/getHost.js.map +1 -1
- package/getHostBaseImages.d.ts +42 -0
- package/getHostBaseImages.js +43 -0
- package/getHostBaseImages.js.map +1 -0
- package/getHostPciDevice.d.ts +14 -20
- package/getHostPciDevice.js +10 -18
- package/getHostPciDevice.js.map +1 -1
- package/getHostThumbprint.d.ts +12 -16
- package/getHostThumbprint.js +8 -12
- package/getHostThumbprint.js.map +1 -1
- package/getHostVgpuProfile.d.ts +4 -10
- package/getHostVgpuProfile.js +0 -8
- package/getHostVgpuProfile.js.map +1 -1
- package/getLicense.d.ts +2 -5
- package/getLicense.js +0 -4
- package/getLicense.js.map +1 -1
- package/getNetwork.d.ts +14 -18
- package/getNetwork.js +10 -14
- package/getNetwork.js.map +1 -1
- package/getPolicy.d.ts +0 -4
- package/getPolicy.js +0 -4
- package/getPolicy.js.map +1 -1
- package/getResourcePool.d.ts +14 -18
- package/getResourcePool.js +14 -18
- package/getResourcePool.js.map +1 -1
- package/getRole.d.ts +4 -8
- package/getRole.js +4 -8
- package/getRole.js.map +1 -1
- package/getTag.d.ts +0 -4
- package/getTag.js +0 -4
- package/getTag.js.map +1 -1
- package/getTagCategory.d.ts +0 -4
- package/getTagCategory.js +0 -4
- package/getTagCategory.js.map +1 -1
- package/getVappContainer.d.ts +0 -4
- package/getVappContainer.js +0 -4
- package/getVappContainer.js.map +1 -1
- package/getVirtualMachine.d.ts +48 -40
- package/getVirtualMachine.js +6 -12
- package/getVirtualMachine.js.map +1 -1
- package/getVmfsDisks.d.ts +0 -4
- package/getVmfsDisks.js +0 -4
- package/getVmfsDisks.js.map +1 -1
- package/guestOsCustomization.d.ts +26 -0
- package/guestOsCustomization.js +26 -0
- package/guestOsCustomization.js.map +1 -1
- package/haVmOverride.d.ts +81 -162
- package/haVmOverride.js.map +1 -1
- package/host.d.ts +0 -10
- package/host.js +0 -10
- package/host.js.map +1 -1
- package/hostPortGroup.d.ts +6 -12
- package/hostPortGroup.js +6 -12
- package/hostPortGroup.js.map +1 -1
- package/hostVirtualSwitch.d.ts +60 -123
- package/hostVirtualSwitch.js.map +1 -1
- package/index.d.ts +12 -0
- package/index.js +21 -2
- package/index.js.map +1 -1
- package/license.d.ts +0 -17
- package/license.js +0 -17
- package/license.js.map +1 -1
- package/nasDatastore.d.ts +3 -3
- package/offlineSoftwareDepot.d.ts +63 -0
- package/offlineSoftwareDepot.js +59 -0
- package/offlineSoftwareDepot.js.map +1 -0
- package/package.json +3 -2
- package/resourcePool.d.ts +28 -12
- package/resourcePool.js +28 -12
- package/resourcePool.js.map +1 -1
- package/supervisor.d.ts +292 -0
- package/supervisor.js +178 -0
- package/supervisor.js.map +1 -0
- package/types/input.d.ts +172 -119
- package/types/output.d.ts +192 -134
- package/virtualDisk.d.ts +6 -6
- package/virtualMachine.d.ts +250 -361
- package/virtualMachine.js.map +1 -1
- package/virtualMachineClass.d.ts +143 -0
- package/virtualMachineClass.js +100 -0
- package/virtualMachineClass.js.map +1 -0
- package/virtualMachineSnapshot.d.ts +4 -6
- package/virtualMachineSnapshot.js +4 -6
- package/virtualMachineSnapshot.js.map +1 -1
- package/vmStoragePolicy.d.ts +29 -35
- package/vmStoragePolicy.js +29 -35
- package/vmStoragePolicy.js.map +1 -1
- package/vnic.d.ts +34 -42
- package/vnic.js +31 -39
- package/vnic.js.map +1 -1
- package/package.json.bak +0 -29
package/getDatastoreStats.js
CHANGED
|
@@ -6,13 +6,13 @@ exports.getDatastoreStatsOutput = exports.getDatastoreStats = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* The `vsphere.getDatastoreStats` data source can be used to retrieve the usage
|
|
10
|
-
* of all vSphere datastore objects in a datacenter. This can then be used as
|
|
11
|
-
* standalone
|
|
9
|
+
* The `vsphere.getDatastoreStats` data source can be used to retrieve the usage
|
|
10
|
+
* stats of all vSphere datastore objects in a datacenter. This can then be used as
|
|
11
|
+
* a standalone data source to get information required as input to other data
|
|
12
|
+
* sources.
|
|
12
13
|
*
|
|
13
14
|
* ## Example Usage
|
|
14
15
|
*
|
|
15
|
-
* <!--Start PulumiCodeChooser -->
|
|
16
16
|
* ```typescript
|
|
17
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
18
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -24,22 +24,18 @@ const utilities = require("./utilities");
|
|
|
24
24
|
* datacenterId: datacenter.id,
|
|
25
25
|
* }));
|
|
26
26
|
* ```
|
|
27
|
-
* <!--End PulumiCodeChooser -->
|
|
28
27
|
*
|
|
29
|
-
* A
|
|
30
|
-
*
|
|
31
|
-
* the above:
|
|
28
|
+
* A useful example of this data source would be to determine the datastore with
|
|
29
|
+
* the most free space. For example, in addition to the above:
|
|
32
30
|
*
|
|
33
31
|
* Create an `outputs.tf` like that:
|
|
34
32
|
*
|
|
35
|
-
* <!--Start PulumiCodeChooser -->
|
|
36
33
|
* ```typescript
|
|
37
34
|
* import * as pulumi from "@pulumi/pulumi";
|
|
38
35
|
*
|
|
39
|
-
* export const maxFreeSpaceName =
|
|
40
|
-
* export const maxFreeSpace =
|
|
36
|
+
* export const maxFreeSpaceName = theirMaxFreeSpaceName;
|
|
37
|
+
* export const maxFreeSpace = theirMaxFreeSpace;
|
|
41
38
|
* ```
|
|
42
|
-
* <!--End PulumiCodeChooser -->
|
|
43
39
|
*
|
|
44
40
|
* and a `locals.tf` like that:
|
|
45
41
|
*/
|
|
@@ -53,13 +49,13 @@ function getDatastoreStats(args, opts) {
|
|
|
53
49
|
}
|
|
54
50
|
exports.getDatastoreStats = getDatastoreStats;
|
|
55
51
|
/**
|
|
56
|
-
* The `vsphere.getDatastoreStats` data source can be used to retrieve the usage
|
|
57
|
-
* of all vSphere datastore objects in a datacenter. This can then be used as
|
|
58
|
-
* standalone
|
|
52
|
+
* The `vsphere.getDatastoreStats` data source can be used to retrieve the usage
|
|
53
|
+
* stats of all vSphere datastore objects in a datacenter. This can then be used as
|
|
54
|
+
* a standalone data source to get information required as input to other data
|
|
55
|
+
* sources.
|
|
59
56
|
*
|
|
60
57
|
* ## Example Usage
|
|
61
58
|
*
|
|
62
|
-
* <!--Start PulumiCodeChooser -->
|
|
63
59
|
* ```typescript
|
|
64
60
|
* import * as pulumi from "@pulumi/pulumi";
|
|
65
61
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -71,22 +67,18 @@ exports.getDatastoreStats = getDatastoreStats;
|
|
|
71
67
|
* datacenterId: datacenter.id,
|
|
72
68
|
* }));
|
|
73
69
|
* ```
|
|
74
|
-
* <!--End PulumiCodeChooser -->
|
|
75
70
|
*
|
|
76
|
-
* A
|
|
77
|
-
*
|
|
78
|
-
* the above:
|
|
71
|
+
* A useful example of this data source would be to determine the datastore with
|
|
72
|
+
* the most free space. For example, in addition to the above:
|
|
79
73
|
*
|
|
80
74
|
* Create an `outputs.tf` like that:
|
|
81
75
|
*
|
|
82
|
-
* <!--Start PulumiCodeChooser -->
|
|
83
76
|
* ```typescript
|
|
84
77
|
* import * as pulumi from "@pulumi/pulumi";
|
|
85
78
|
*
|
|
86
|
-
* export const maxFreeSpaceName =
|
|
87
|
-
* export const maxFreeSpace =
|
|
79
|
+
* export const maxFreeSpaceName = theirMaxFreeSpaceName;
|
|
80
|
+
* export const maxFreeSpace = theirMaxFreeSpace;
|
|
88
81
|
* ```
|
|
89
|
-
* <!--End PulumiCodeChooser -->
|
|
90
82
|
*
|
|
91
83
|
* and a `locals.tf` like that:
|
|
92
84
|
*/
|
package/getDatastoreStats.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatastoreStats.js","sourceRoot":"","sources":["../getDatastoreStats.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDatastoreStats.js","sourceRoot":"","sources":["../getDatastoreStats.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8CAQC;AAqDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
|
@@ -16,7 +16,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* `vsphere.DistributedPortGroup` resource that uses the first uplink as a
|
|
17
17
|
* primary uplink and the second uplink as a secondary.
|
|
18
18
|
*
|
|
19
|
-
* <!--Start PulumiCodeChooser -->
|
|
20
19
|
* ```typescript
|
|
21
20
|
* import * as pulumi from "@pulumi/pulumi";
|
|
22
21
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -29,12 +28,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
28
|
* datacenterId: datacenter.id,
|
|
30
29
|
* }));
|
|
31
30
|
* const dvpg = new vsphere.DistributedPortGroup("dvpg", {
|
|
31
|
+
* name: "dvpg-01",
|
|
32
32
|
* distributedVirtualSwitchUuid: vds.then(vds => vds.id),
|
|
33
33
|
* activeUplinks: [vds.then(vds => vds.uplinks?.[0])],
|
|
34
34
|
* standbyUplinks: [vds.then(vds => vds.uplinks?.[1])],
|
|
35
35
|
* });
|
|
36
36
|
* ```
|
|
37
|
-
* <!--End PulumiCodeChooser -->
|
|
38
37
|
*/
|
|
39
38
|
export declare function getDistributedVirtualSwitch(args: GetDistributedVirtualSwitchArgs, opts?: pulumi.InvokeOptions): Promise<GetDistributedVirtualSwitchResult>;
|
|
40
39
|
/**
|
|
@@ -88,7 +87,6 @@ export interface GetDistributedVirtualSwitchResult {
|
|
|
88
87
|
* `vsphere.DistributedPortGroup` resource that uses the first uplink as a
|
|
89
88
|
* primary uplink and the second uplink as a secondary.
|
|
90
89
|
*
|
|
91
|
-
* <!--Start PulumiCodeChooser -->
|
|
92
90
|
* ```typescript
|
|
93
91
|
* import * as pulumi from "@pulumi/pulumi";
|
|
94
92
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -101,12 +99,12 @@ export interface GetDistributedVirtualSwitchResult {
|
|
|
101
99
|
* datacenterId: datacenter.id,
|
|
102
100
|
* }));
|
|
103
101
|
* const dvpg = new vsphere.DistributedPortGroup("dvpg", {
|
|
102
|
+
* name: "dvpg-01",
|
|
104
103
|
* distributedVirtualSwitchUuid: vds.then(vds => vds.id),
|
|
105
104
|
* activeUplinks: [vds.then(vds => vds.uplinks?.[0])],
|
|
106
105
|
* standbyUplinks: [vds.then(vds => vds.uplinks?.[1])],
|
|
107
106
|
* });
|
|
108
107
|
* ```
|
|
109
|
-
* <!--End PulumiCodeChooser -->
|
|
110
108
|
*/
|
|
111
109
|
export declare function getDistributedVirtualSwitchOutput(args: GetDistributedVirtualSwitchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDistributedVirtualSwitchResult>;
|
|
112
110
|
/**
|
|
@@ -22,7 +22,6 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* `vsphere.DistributedPortGroup` resource that uses the first uplink as a
|
|
23
23
|
* primary uplink and the second uplink as a secondary.
|
|
24
24
|
*
|
|
25
|
-
* <!--Start PulumiCodeChooser -->
|
|
26
25
|
* ```typescript
|
|
27
26
|
* import * as pulumi from "@pulumi/pulumi";
|
|
28
27
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -35,12 +34,12 @@ const utilities = require("./utilities");
|
|
|
35
34
|
* datacenterId: datacenter.id,
|
|
36
35
|
* }));
|
|
37
36
|
* const dvpg = new vsphere.DistributedPortGroup("dvpg", {
|
|
37
|
+
* name: "dvpg-01",
|
|
38
38
|
* distributedVirtualSwitchUuid: vds.then(vds => vds.id),
|
|
39
39
|
* activeUplinks: [vds.then(vds => vds.uplinks?.[0])],
|
|
40
40
|
* standbyUplinks: [vds.then(vds => vds.uplinks?.[1])],
|
|
41
41
|
* });
|
|
42
42
|
* ```
|
|
43
|
-
* <!--End PulumiCodeChooser -->
|
|
44
43
|
*/
|
|
45
44
|
function getDistributedVirtualSwitch(args, opts) {
|
|
46
45
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -67,7 +66,6 @@ exports.getDistributedVirtualSwitch = getDistributedVirtualSwitch;
|
|
|
67
66
|
* `vsphere.DistributedPortGroup` resource that uses the first uplink as a
|
|
68
67
|
* primary uplink and the second uplink as a secondary.
|
|
69
68
|
*
|
|
70
|
-
* <!--Start PulumiCodeChooser -->
|
|
71
69
|
* ```typescript
|
|
72
70
|
* import * as pulumi from "@pulumi/pulumi";
|
|
73
71
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -80,12 +78,12 @@ exports.getDistributedVirtualSwitch = getDistributedVirtualSwitch;
|
|
|
80
78
|
* datacenterId: datacenter.id,
|
|
81
79
|
* }));
|
|
82
80
|
* const dvpg = new vsphere.DistributedPortGroup("dvpg", {
|
|
81
|
+
* name: "dvpg-01",
|
|
83
82
|
* distributedVirtualSwitchUuid: vds.then(vds => vds.id),
|
|
84
83
|
* activeUplinks: [vds.then(vds => vds.uplinks?.[0])],
|
|
85
84
|
* standbyUplinks: [vds.then(vds => vds.uplinks?.[1])],
|
|
86
85
|
* });
|
|
87
86
|
* ```
|
|
88
|
-
* <!--End PulumiCodeChooser -->
|
|
89
87
|
*/
|
|
90
88
|
function getDistributedVirtualSwitchOutput(args, opts) {
|
|
91
89
|
return pulumi.output(args).apply((a) => getDistributedVirtualSwitch(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDistributedVirtualSwitch.js","sourceRoot":"","sources":["../getDistributedVirtualSwitch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDistributedVirtualSwitch.js","sourceRoot":"","sources":["../getDistributedVirtualSwitch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAE1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uEAAuE,EAAE;QAClG,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kEAOC;AAqCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,2BAA2B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtF,CAAC;AAFD,8EAEC"}
|
package/getDynamic.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
4
4
|
*
|
|
5
|
-
* The `vsphere.getDynamic` data source can be used to get the
|
|
6
|
-
* of any tagged managed object in
|
|
7
|
-
* and an optional regular expression
|
|
5
|
+
* The `vsphere.getDynamic` data source can be used to get the
|
|
6
|
+
* [managed object reference ID][docs-about-morefs] of any tagged managed object in
|
|
7
|
+
* vCenter Server by providing a list of tag IDs and an optional regular expression
|
|
8
|
+
* to filter objects by name.
|
|
8
9
|
*
|
|
9
10
|
* ## Example Usage
|
|
10
11
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
12
|
* ```typescript
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
14
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -18,11 +18,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
* });
|
|
19
19
|
* const tag1 = vsphere.getTag({
|
|
20
20
|
* name: "FirstTag",
|
|
21
|
-
* categoryId:
|
|
21
|
+
* categoryId: cat.id,
|
|
22
22
|
* });
|
|
23
23
|
* const tag2 = vsphere.getTag({
|
|
24
24
|
* name: "SecondTag",
|
|
25
|
-
* categoryId:
|
|
25
|
+
* categoryId: cat.id,
|
|
26
26
|
* });
|
|
27
27
|
* const dyn = Promise.all([tag1, tag1]).then(([tag1, tag11]) => vsphere.getDynamic({
|
|
28
28
|
* filters: [
|
|
@@ -33,7 +33,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
33
33
|
* type: "Datacenter",
|
|
34
34
|
* }));
|
|
35
35
|
* ```
|
|
36
|
-
* <!--End PulumiCodeChooser -->
|
|
37
36
|
*/
|
|
38
37
|
export declare function getDynamic(args: GetDynamicArgs, opts?: pulumi.InvokeOptions): Promise<GetDynamicResult>;
|
|
39
38
|
/**
|
|
@@ -46,14 +45,14 @@ export interface GetDynamicArgs {
|
|
|
46
45
|
*/
|
|
47
46
|
filters: string[];
|
|
48
47
|
/**
|
|
49
|
-
* A regular expression that will be used to match
|
|
50
|
-
*
|
|
48
|
+
* A regular expression that will be used to match the
|
|
49
|
+
* object's name.
|
|
51
50
|
*/
|
|
52
51
|
nameRegex?: string;
|
|
53
52
|
/**
|
|
54
53
|
* The managed object type the returned object must match.
|
|
55
54
|
* The managed object types can be found in the managed object type section
|
|
56
|
-
* [here](https://developer.
|
|
55
|
+
* [here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
|
|
57
56
|
*/
|
|
58
57
|
type?: string;
|
|
59
58
|
}
|
|
@@ -72,13 +71,13 @@ export interface GetDynamicResult {
|
|
|
72
71
|
/**
|
|
73
72
|
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
74
73
|
*
|
|
75
|
-
* The `vsphere.getDynamic` data source can be used to get the
|
|
76
|
-
* of any tagged managed object in
|
|
77
|
-
* and an optional regular expression
|
|
74
|
+
* The `vsphere.getDynamic` data source can be used to get the
|
|
75
|
+
* [managed object reference ID][docs-about-morefs] of any tagged managed object in
|
|
76
|
+
* vCenter Server by providing a list of tag IDs and an optional regular expression
|
|
77
|
+
* to filter objects by name.
|
|
78
78
|
*
|
|
79
79
|
* ## Example Usage
|
|
80
80
|
*
|
|
81
|
-
* <!--Start PulumiCodeChooser -->
|
|
82
81
|
* ```typescript
|
|
83
82
|
* import * as pulumi from "@pulumi/pulumi";
|
|
84
83
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -88,11 +87,11 @@ export interface GetDynamicResult {
|
|
|
88
87
|
* });
|
|
89
88
|
* const tag1 = vsphere.getTag({
|
|
90
89
|
* name: "FirstTag",
|
|
91
|
-
* categoryId:
|
|
90
|
+
* categoryId: cat.id,
|
|
92
91
|
* });
|
|
93
92
|
* const tag2 = vsphere.getTag({
|
|
94
93
|
* name: "SecondTag",
|
|
95
|
-
* categoryId:
|
|
94
|
+
* categoryId: cat.id,
|
|
96
95
|
* });
|
|
97
96
|
* const dyn = Promise.all([tag1, tag1]).then(([tag1, tag11]) => vsphere.getDynamic({
|
|
98
97
|
* filters: [
|
|
@@ -103,7 +102,6 @@ export interface GetDynamicResult {
|
|
|
103
102
|
* type: "Datacenter",
|
|
104
103
|
* }));
|
|
105
104
|
* ```
|
|
106
|
-
* <!--End PulumiCodeChooser -->
|
|
107
105
|
*/
|
|
108
106
|
export declare function getDynamicOutput(args: GetDynamicOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDynamicResult>;
|
|
109
107
|
/**
|
|
@@ -116,14 +114,14 @@ export interface GetDynamicOutputArgs {
|
|
|
116
114
|
*/
|
|
117
115
|
filters: pulumi.Input<pulumi.Input<string>[]>;
|
|
118
116
|
/**
|
|
119
|
-
* A regular expression that will be used to match
|
|
120
|
-
*
|
|
117
|
+
* A regular expression that will be used to match the
|
|
118
|
+
* object's name.
|
|
121
119
|
*/
|
|
122
120
|
nameRegex?: pulumi.Input<string>;
|
|
123
121
|
/**
|
|
124
122
|
* The managed object type the returned object must match.
|
|
125
123
|
* The managed object types can be found in the managed object type section
|
|
126
|
-
* [here](https://developer.
|
|
124
|
+
* [here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
|
|
127
125
|
*/
|
|
128
126
|
type?: pulumi.Input<string>;
|
|
129
127
|
}
|
package/getDynamic.js
CHANGED
|
@@ -8,13 +8,13 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
10
10
|
*
|
|
11
|
-
* The `vsphere.getDynamic` data source can be used to get the
|
|
12
|
-
* of any tagged managed object in
|
|
13
|
-
* and an optional regular expression
|
|
11
|
+
* The `vsphere.getDynamic` data source can be used to get the
|
|
12
|
+
* [managed object reference ID][docs-about-morefs] of any tagged managed object in
|
|
13
|
+
* vCenter Server by providing a list of tag IDs and an optional regular expression
|
|
14
|
+
* to filter objects by name.
|
|
14
15
|
*
|
|
15
16
|
* ## Example Usage
|
|
16
17
|
*
|
|
17
|
-
* <!--Start PulumiCodeChooser -->
|
|
18
18
|
* ```typescript
|
|
19
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
20
20
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -24,11 +24,11 @@ const utilities = require("./utilities");
|
|
|
24
24
|
* });
|
|
25
25
|
* const tag1 = vsphere.getTag({
|
|
26
26
|
* name: "FirstTag",
|
|
27
|
-
* categoryId:
|
|
27
|
+
* categoryId: cat.id,
|
|
28
28
|
* });
|
|
29
29
|
* const tag2 = vsphere.getTag({
|
|
30
30
|
* name: "SecondTag",
|
|
31
|
-
* categoryId:
|
|
31
|
+
* categoryId: cat.id,
|
|
32
32
|
* });
|
|
33
33
|
* const dyn = Promise.all([tag1, tag1]).then(([tag1, tag11]) => vsphere.getDynamic({
|
|
34
34
|
* filters: [
|
|
@@ -39,7 +39,6 @@ const utilities = require("./utilities");
|
|
|
39
39
|
* type: "Datacenter",
|
|
40
40
|
* }));
|
|
41
41
|
* ```
|
|
42
|
-
* <!--End PulumiCodeChooser -->
|
|
43
42
|
*/
|
|
44
43
|
function getDynamic(args, opts) {
|
|
45
44
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -53,13 +52,13 @@ exports.getDynamic = getDynamic;
|
|
|
53
52
|
/**
|
|
54
53
|
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
55
54
|
*
|
|
56
|
-
* The `vsphere.getDynamic` data source can be used to get the
|
|
57
|
-
* of any tagged managed object in
|
|
58
|
-
* and an optional regular expression
|
|
55
|
+
* The `vsphere.getDynamic` data source can be used to get the
|
|
56
|
+
* [managed object reference ID][docs-about-morefs] of any tagged managed object in
|
|
57
|
+
* vCenter Server by providing a list of tag IDs and an optional regular expression
|
|
58
|
+
* to filter objects by name.
|
|
59
59
|
*
|
|
60
60
|
* ## Example Usage
|
|
61
61
|
*
|
|
62
|
-
* <!--Start PulumiCodeChooser -->
|
|
63
62
|
* ```typescript
|
|
64
63
|
* import * as pulumi from "@pulumi/pulumi";
|
|
65
64
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -69,11 +68,11 @@ exports.getDynamic = getDynamic;
|
|
|
69
68
|
* });
|
|
70
69
|
* const tag1 = vsphere.getTag({
|
|
71
70
|
* name: "FirstTag",
|
|
72
|
-
* categoryId:
|
|
71
|
+
* categoryId: cat.id,
|
|
73
72
|
* });
|
|
74
73
|
* const tag2 = vsphere.getTag({
|
|
75
74
|
* name: "SecondTag",
|
|
76
|
-
* categoryId:
|
|
75
|
+
* categoryId: cat.id,
|
|
77
76
|
* });
|
|
78
77
|
* const dyn = Promise.all([tag1, tag1]).then(([tag1, tag11]) => vsphere.getDynamic({
|
|
79
78
|
* filters: [
|
|
@@ -84,7 +83,6 @@ exports.getDynamic = getDynamic;
|
|
|
84
83
|
* type: "Datacenter",
|
|
85
84
|
* }));
|
|
86
85
|
* ```
|
|
87
|
-
* <!--End PulumiCodeChooser -->
|
|
88
86
|
*/
|
|
89
87
|
function getDynamicOutput(args, opts) {
|
|
90
88
|
return pulumi.output(args).apply((a) => getDynamic(a, opts));
|
package/getDynamic.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDynamic.js","sourceRoot":"","sources":["../getDynamic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDynamic.js","sourceRoot":"","sources":["../getDynamic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;AAoCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
package/getFolder.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* The `vsphere.Folder` data source can be used to get the general attributes of a
|
|
4
|
-
* vSphere inventory folder.
|
|
4
|
+
* vSphere inventory folder. The data source supports creating folders of the 5
|
|
5
|
+
* major types - datacenter folders, host and cluster folders, virtual machine
|
|
6
|
+
* folders, storage folders, and network folders.
|
|
7
|
+
*
|
|
8
|
+
* Paths are absolute and must include the datacenter.
|
|
5
9
|
*
|
|
6
10
|
* ## Example Usage
|
|
7
11
|
*
|
|
8
|
-
* <!--Start PulumiCodeChooser -->
|
|
9
12
|
* ```typescript
|
|
10
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
14
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -14,7 +17,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
17
|
* path: "/dc-01/datastore-01/folder-01",
|
|
15
18
|
* });
|
|
16
19
|
* ```
|
|
17
|
-
* <!--End PulumiCodeChooser -->
|
|
18
20
|
*/
|
|
19
21
|
export declare function getFolder(args: GetFolderArgs, opts?: pulumi.InvokeOptions): Promise<GetFolderResult>;
|
|
20
22
|
/**
|
|
@@ -42,11 +44,14 @@ export interface GetFolderResult {
|
|
|
42
44
|
}
|
|
43
45
|
/**
|
|
44
46
|
* The `vsphere.Folder` data source can be used to get the general attributes of a
|
|
45
|
-
* vSphere inventory folder.
|
|
47
|
+
* vSphere inventory folder. The data source supports creating folders of the 5
|
|
48
|
+
* major types - datacenter folders, host and cluster folders, virtual machine
|
|
49
|
+
* folders, storage folders, and network folders.
|
|
50
|
+
*
|
|
51
|
+
* Paths are absolute and must include the datacenter.
|
|
46
52
|
*
|
|
47
53
|
* ## Example Usage
|
|
48
54
|
*
|
|
49
|
-
* <!--Start PulumiCodeChooser -->
|
|
50
55
|
* ```typescript
|
|
51
56
|
* import * as pulumi from "@pulumi/pulumi";
|
|
52
57
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -55,7 +60,6 @@ export interface GetFolderResult {
|
|
|
55
60
|
* path: "/dc-01/datastore-01/folder-01",
|
|
56
61
|
* });
|
|
57
62
|
* ```
|
|
58
|
-
* <!--End PulumiCodeChooser -->
|
|
59
63
|
*/
|
|
60
64
|
export declare function getFolderOutput(args: GetFolderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFolderResult>;
|
|
61
65
|
/**
|
package/getFolder.js
CHANGED
|
@@ -7,11 +7,14 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* The `vsphere.Folder` data source can be used to get the general attributes of a
|
|
10
|
-
* vSphere inventory folder.
|
|
10
|
+
* vSphere inventory folder. The data source supports creating folders of the 5
|
|
11
|
+
* major types - datacenter folders, host and cluster folders, virtual machine
|
|
12
|
+
* folders, storage folders, and network folders.
|
|
13
|
+
*
|
|
14
|
+
* Paths are absolute and must include the datacenter.
|
|
11
15
|
*
|
|
12
16
|
* ## Example Usage
|
|
13
17
|
*
|
|
14
|
-
* <!--Start PulumiCodeChooser -->
|
|
15
18
|
* ```typescript
|
|
16
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
20
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -20,7 +23,6 @@ const utilities = require("./utilities");
|
|
|
20
23
|
* path: "/dc-01/datastore-01/folder-01",
|
|
21
24
|
* });
|
|
22
25
|
* ```
|
|
23
|
-
* <!--End PulumiCodeChooser -->
|
|
24
26
|
*/
|
|
25
27
|
function getFolder(args, opts) {
|
|
26
28
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -31,11 +33,14 @@ function getFolder(args, opts) {
|
|
|
31
33
|
exports.getFolder = getFolder;
|
|
32
34
|
/**
|
|
33
35
|
* The `vsphere.Folder` data source can be used to get the general attributes of a
|
|
34
|
-
* vSphere inventory folder.
|
|
36
|
+
* vSphere inventory folder. The data source supports creating folders of the 5
|
|
37
|
+
* major types - datacenter folders, host and cluster folders, virtual machine
|
|
38
|
+
* folders, storage folders, and network folders.
|
|
39
|
+
*
|
|
40
|
+
* Paths are absolute and must include the datacenter.
|
|
35
41
|
*
|
|
36
42
|
* ## Example Usage
|
|
37
43
|
*
|
|
38
|
-
* <!--Start PulumiCodeChooser -->
|
|
39
44
|
* ```typescript
|
|
40
45
|
* import * as pulumi from "@pulumi/pulumi";
|
|
41
46
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -44,7 +49,6 @@ exports.getFolder = getFolder;
|
|
|
44
49
|
* path: "/dc-01/datastore-01/folder-01",
|
|
45
50
|
* });
|
|
46
51
|
* ```
|
|
47
|
-
* <!--End PulumiCodeChooser -->
|
|
48
52
|
*/
|
|
49
53
|
function getFolderOutput(args, opts) {
|
|
50
54
|
return pulumi.output(args).apply((a) => getFolder(a, opts));
|
package/getFolder.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFolder.js","sourceRoot":"","sources":["../getFolder.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getFolder.js","sourceRoot":"","sources":["../getFolder.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC;AA0BD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
|
|
@@ -1,23 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
* The `vsphere.GuestOsCustomization` data source can be used to discover the
|
|
5
|
-
*
|
|
6
|
-
* Suggested change
|
|
7
|
-
* > **NOTE:** The name attribute is the unique identifier for the customization specification per vCenter Server instance.
|
|
8
|
-
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
|
-
* ```typescript
|
|
13
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
-
* import * as vsphere from "@pulumi/vsphere";
|
|
15
|
-
*
|
|
16
|
-
* const gosc1 = vsphere.getGuestOsCustomization({
|
|
17
|
-
* name: "linux-spec",
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
20
|
-
* <!--End PulumiCodeChooser -->
|
|
4
|
+
* The `vsphere.GuestOsCustomization` data source can be used to discover the
|
|
5
|
+
* details about a customization specification for a guest operating system.
|
|
21
6
|
*/
|
|
22
7
|
export declare function getGuestOsCustomization(args: GetGuestOsCustomizationArgs, opts?: pulumi.InvokeOptions): Promise<GetGuestOsCustomizationResult>;
|
|
23
8
|
/**
|
|
@@ -25,7 +10,8 @@ export declare function getGuestOsCustomization(args: GetGuestOsCustomizationArg
|
|
|
25
10
|
*/
|
|
26
11
|
export interface GetGuestOsCustomizationArgs {
|
|
27
12
|
/**
|
|
28
|
-
* The name of the customization specification is the unique
|
|
13
|
+
* The name of the customization specification is the unique
|
|
14
|
+
* identifier per vCenter Server instance. ## Attribute Reference
|
|
29
15
|
*/
|
|
30
16
|
name: string;
|
|
31
17
|
}
|
|
@@ -33,50 +19,20 @@ export interface GetGuestOsCustomizationArgs {
|
|
|
33
19
|
* A collection of values returned by getGuestOsCustomization.
|
|
34
20
|
*/
|
|
35
21
|
export interface GetGuestOsCustomizationResult {
|
|
36
|
-
/**
|
|
37
|
-
* The number of last changed version to the customization specification.
|
|
38
|
-
*/
|
|
39
22
|
readonly changeVersion: string;
|
|
40
|
-
/**
|
|
41
|
-
* The description for the customization specification.
|
|
42
|
-
*/
|
|
43
23
|
readonly description: string;
|
|
44
24
|
/**
|
|
45
25
|
* The provider-assigned unique ID for this managed resource.
|
|
46
26
|
*/
|
|
47
27
|
readonly id: string;
|
|
48
|
-
/**
|
|
49
|
-
* The time of last modification to the customization specification.
|
|
50
|
-
*/
|
|
51
28
|
readonly lastUpdateTime: string;
|
|
52
29
|
readonly name: string;
|
|
53
|
-
/**
|
|
54
|
-
* Container object for the guest operating system properties to be customized. See virtual machine customizations
|
|
55
|
-
*/
|
|
56
30
|
readonly specs: outputs.GetGuestOsCustomizationSpec[];
|
|
57
|
-
/**
|
|
58
|
-
* The type of customization specification: One among: Windows, Linux.
|
|
59
|
-
*/
|
|
60
31
|
readonly type: string;
|
|
61
32
|
}
|
|
62
33
|
/**
|
|
63
|
-
* The `vsphere.GuestOsCustomization` data source can be used to discover the
|
|
64
|
-
*
|
|
65
|
-
* Suggested change
|
|
66
|
-
* > **NOTE:** The name attribute is the unique identifier for the customization specification per vCenter Server instance.
|
|
67
|
-
*
|
|
68
|
-
* ## Example Usage
|
|
69
|
-
*
|
|
70
|
-
* <!--Start PulumiCodeChooser -->
|
|
71
|
-
* ```typescript
|
|
72
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
73
|
-
* import * as vsphere from "@pulumi/vsphere";
|
|
74
|
-
*
|
|
75
|
-
* const gosc1 = vsphere.getGuestOsCustomization({
|
|
76
|
-
* name: "linux-spec",
|
|
77
|
-
* });
|
|
78
|
-
* ```
|
|
79
|
-
* <!--End PulumiCodeChooser -->
|
|
34
|
+
* The `vsphere.GuestOsCustomization` data source can be used to discover the
|
|
35
|
+
* details about a customization specification for a guest operating system.
|
|
80
36
|
*/
|
|
81
37
|
export declare function getGuestOsCustomizationOutput(args: GetGuestOsCustomizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGuestOsCustomizationResult>;
|
|
82
38
|
/**
|
|
@@ -84,7 +40,8 @@ export declare function getGuestOsCustomizationOutput(args: GetGuestOsCustomizat
|
|
|
84
40
|
*/
|
|
85
41
|
export interface GetGuestOsCustomizationOutputArgs {
|
|
86
42
|
/**
|
|
87
|
-
* The name of the customization specification is the unique
|
|
43
|
+
* The name of the customization specification is the unique
|
|
44
|
+
* identifier per vCenter Server instance. ## Attribute Reference
|
|
88
45
|
*/
|
|
89
46
|
name: pulumi.Input<string>;
|
|
90
47
|
}
|
|
@@ -6,23 +6,8 @@ exports.getGuestOsCustomizationOutput = exports.getGuestOsCustomization = void 0
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* The `vsphere.GuestOsCustomization` data source can be used to discover the
|
|
10
|
-
*
|
|
11
|
-
* Suggested change
|
|
12
|
-
* > **NOTE:** The name attribute is the unique identifier for the customization specification per vCenter Server instance.
|
|
13
|
-
*
|
|
14
|
-
* ## Example Usage
|
|
15
|
-
*
|
|
16
|
-
* <!--Start PulumiCodeChooser -->
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as vsphere from "@pulumi/vsphere";
|
|
20
|
-
*
|
|
21
|
-
* const gosc1 = vsphere.getGuestOsCustomization({
|
|
22
|
-
* name: "linux-spec",
|
|
23
|
-
* });
|
|
24
|
-
* ```
|
|
25
|
-
* <!--End PulumiCodeChooser -->
|
|
9
|
+
* The `vsphere.GuestOsCustomization` data source can be used to discover the
|
|
10
|
+
* details about a customization specification for a guest operating system.
|
|
26
11
|
*/
|
|
27
12
|
function getGuestOsCustomization(args, opts) {
|
|
28
13
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -32,23 +17,8 @@ function getGuestOsCustomization(args, opts) {
|
|
|
32
17
|
}
|
|
33
18
|
exports.getGuestOsCustomization = getGuestOsCustomization;
|
|
34
19
|
/**
|
|
35
|
-
* The `vsphere.GuestOsCustomization` data source can be used to discover the
|
|
36
|
-
*
|
|
37
|
-
* Suggested change
|
|
38
|
-
* > **NOTE:** The name attribute is the unique identifier for the customization specification per vCenter Server instance.
|
|
39
|
-
*
|
|
40
|
-
* ## Example Usage
|
|
41
|
-
*
|
|
42
|
-
* <!--Start PulumiCodeChooser -->
|
|
43
|
-
* ```typescript
|
|
44
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
-
* import * as vsphere from "@pulumi/vsphere";
|
|
46
|
-
*
|
|
47
|
-
* const gosc1 = vsphere.getGuestOsCustomization({
|
|
48
|
-
* name: "linux-spec",
|
|
49
|
-
* });
|
|
50
|
-
* ```
|
|
51
|
-
* <!--End PulumiCodeChooser -->
|
|
20
|
+
* The `vsphere.GuestOsCustomization` data source can be used to discover the
|
|
21
|
+
* details about a customization specification for a guest operating system.
|
|
52
22
|
*/
|
|
53
23
|
function getGuestOsCustomizationOutput(args, opts) {
|
|
54
24
|
return pulumi.output(args).apply((a) => getGuestOsCustomization(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGuestOsCustomization.js","sourceRoot":"","sources":["../getGuestOsCustomization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getGuestOsCustomization.js","sourceRoot":"","sources":["../getGuestOsCustomization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;GAGG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAElG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+DAA+D,EAAE;QAC1F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC;AA4BD;;;GAGG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClF,CAAC;AAFD,sEAEC"}
|