@pulumi/vsphere 4.10.1 → 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 +12 -0
- package/computeCluster.js +2 -0
- package/computeCluster.js.map +1 -1
- package/computeClusterVmAffinityRule.d.ts +0 -2
- package/computeClusterVmAffinityRule.js +0 -2
- package/computeClusterVmAffinityRule.js.map +1 -1
- package/datacenter.d.ts +0 -9
- package/datacenter.js.map +1 -1
- package/datastoreCluster.d.ts +0 -6
- package/datastoreCluster.js.map +1 -1
- package/distributedPortGroup.d.ts +24 -3
- package/distributedPortGroup.js.map +1 -1
- package/distributedVirtualSwitch.d.ts +3 -12
- package/distributedVirtualSwitch.js.map +1 -1
- package/entityPermissions.d.ts +24 -15
- package/entityPermissions.js.map +1 -1
- package/folder.d.ts +0 -9
- package/folder.js.map +1 -1
- package/getComputeClusterHostGroup.d.ts +20 -18
- package/getComputeClusterHostGroup.js +14 -14
- package/getComputeClusterHostGroup.js.map +1 -1
- package/getContentLibrary.d.ts +10 -6
- package/getContentLibrary.js +10 -6
- package/getContentLibrary.js.map +1 -1
- package/getContentLibraryItem.d.ts +12 -8
- package/getContentLibraryItem.js +4 -4
- package/getContentLibraryItem.js.map +1 -1
- package/getDatastore.d.ts +9 -9
- package/getDatastoreStats.d.ts +34 -32
- package/getDatastoreStats.js +12 -12
- package/getDatastoreStats.js.map +1 -1
- package/getDynamic.d.ts +14 -12
- package/getDynamic.js +8 -6
- package/getDynamic.js.map +1 -1
- package/getFolder.d.ts +10 -2
- package/getFolder.js +10 -2
- package/getFolder.js.map +1 -1
- package/getGuestOsCustomization.d.ts +8 -47
- package/getGuestOsCustomization.js +4 -30
- package/getGuestOsCustomization.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 +4 -2
- package/getHostPciDevice.js.map +1 -1
- package/getHostThumbprint.d.ts +12 -12
- package/getHostThumbprint.js +8 -8
- package/getHostVgpuProfile.d.ts +4 -2
- package/getHostVgpuProfile.js.map +1 -1
- package/getLicense.d.ts +2 -1
- package/getLicense.js.map +1 -1
- package/getNetwork.d.ts +14 -14
- package/getNetwork.js +10 -10
- package/getResourcePool.d.ts +12 -8
- package/getResourcePool.js +12 -8
- package/getResourcePool.js.map +1 -1
- package/getRole.d.ts +4 -4
- package/getRole.js +4 -4
- package/getVirtualMachine.d.ts +48 -32
- package/getVirtualMachine.js +6 -4
- package/getVirtualMachine.js.map +1 -1
- package/guestOsCustomization.d.ts +2 -2
- package/guestOsCustomization.js +2 -2
- package/index.d.ts +12 -0
- package/index.js +21 -2
- package/index.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 +1 -1
- package/resourcePool.js +1 -1
- package/supervisor.d.ts +292 -0
- package/supervisor.js +178 -0
- package/supervisor.js.map +1 -0
- package/types/input.d.ts +124 -3
- package/types/output.d.ts +144 -18
- package/virtualDisk.d.ts +3 -3
- package/virtualMachine.d.ts +2 -2
- package/virtualMachineClass.d.ts +143 -0
- package/virtualMachineClass.js +100 -0
- package/virtualMachineClass.js.map +1 -0
- package/virtualMachineSnapshot.d.ts +1 -1
- package/virtualMachineSnapshot.js +1 -1
- package/vmStoragePolicy.d.ts +1 -1
- package/vmStoragePolicy.js +1 -1
- package/vnic.d.ts +34 -36
- package/vnic.js +31 -33
- package/vnic.js.map +1 -1
- package/package.json.bak +0 -29
package/folder.d.ts
CHANGED
|
@@ -50,9 +50,6 @@ export declare class Folder extends pulumi.CustomResource {
|
|
|
50
50
|
readonly path: pulumi.Output<string>;
|
|
51
51
|
/**
|
|
52
52
|
* The IDs of any tags to attach to this resource.
|
|
53
|
-
*
|
|
54
|
-
* > **NOTE:** Tagging support is unsupported on direct ESXi connections and
|
|
55
|
-
* requires vCenter 6.0 or higher.
|
|
56
53
|
*/
|
|
57
54
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
58
55
|
/**
|
|
@@ -110,9 +107,6 @@ export interface FolderState {
|
|
|
110
107
|
path?: pulumi.Input<string>;
|
|
111
108
|
/**
|
|
112
109
|
* The IDs of any tags to attach to this resource.
|
|
113
|
-
*
|
|
114
|
-
* > **NOTE:** Tagging support is unsupported on direct ESXi connections and
|
|
115
|
-
* requires vCenter 6.0 or higher.
|
|
116
110
|
*/
|
|
117
111
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
118
112
|
/**
|
|
@@ -162,9 +156,6 @@ export interface FolderArgs {
|
|
|
162
156
|
path: pulumi.Input<string>;
|
|
163
157
|
/**
|
|
164
158
|
* The IDs of any tags to attach to this resource.
|
|
165
|
-
*
|
|
166
|
-
* > **NOTE:** Tagging support is unsupported on direct ESXi connections and
|
|
167
|
-
* requires vCenter 6.0 or higher.
|
|
168
159
|
*/
|
|
169
160
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
170
161
|
/**
|
package/folder.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"folder.js","sourceRoot":"","sources":["../folder.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,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IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAzGL,wBA0GC;AA5FG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
|
|
@@ -11,21 +11,21 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
* import * as vsphere from "@pulumi/vsphere";
|
|
12
12
|
*
|
|
13
13
|
* const datacenter = vsphere.getDatacenter({
|
|
14
|
-
* name:
|
|
14
|
+
* name: "dc-01",
|
|
15
15
|
* });
|
|
16
16
|
* const cluster = datacenter.then(datacenter => vsphere.getComputeCluster({
|
|
17
|
-
* name:
|
|
17
|
+
* name: "cluster-01",
|
|
18
18
|
* datacenterId: datacenter.id,
|
|
19
19
|
* }));
|
|
20
|
-
* const
|
|
21
|
-
* name: "
|
|
20
|
+
* const hostGroup = cluster.then(cluster => vsphere.getComputeClusterHostGroup({
|
|
21
|
+
* name: "hostgroup-01",
|
|
22
22
|
* computeClusterId: cluster.id,
|
|
23
23
|
* }));
|
|
24
|
-
* const
|
|
24
|
+
* const hostRule = new vsphere.ComputeClusterVmHostRule("host_rule", {
|
|
25
25
|
* computeClusterId: cluster.then(cluster => cluster.id),
|
|
26
26
|
* name: "terraform-host-rule1",
|
|
27
|
-
* vmGroupName: "
|
|
28
|
-
* affinityHostGroupName:
|
|
27
|
+
* vmGroupName: "vmgroup-01",
|
|
28
|
+
* affinityHostGroupName: hostGroup.then(hostGroup => hostGroup.name),
|
|
29
29
|
* });
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
@@ -35,8 +35,9 @@ export declare function getComputeClusterHostGroup(args: GetComputeClusterHostGr
|
|
|
35
35
|
*/
|
|
36
36
|
export interface GetComputeClusterHostGroupArgs {
|
|
37
37
|
/**
|
|
38
|
-
* The
|
|
39
|
-
* of the compute cluster for
|
|
38
|
+
* The
|
|
39
|
+
* [managed object reference ID][docs-about-morefs] of the compute cluster for
|
|
40
|
+
* the host group.
|
|
40
41
|
*
|
|
41
42
|
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
42
43
|
*/
|
|
@@ -74,21 +75,21 @@ export interface GetComputeClusterHostGroupResult {
|
|
|
74
75
|
* import * as vsphere from "@pulumi/vsphere";
|
|
75
76
|
*
|
|
76
77
|
* const datacenter = vsphere.getDatacenter({
|
|
77
|
-
* name:
|
|
78
|
+
* name: "dc-01",
|
|
78
79
|
* });
|
|
79
80
|
* const cluster = datacenter.then(datacenter => vsphere.getComputeCluster({
|
|
80
|
-
* name:
|
|
81
|
+
* name: "cluster-01",
|
|
81
82
|
* datacenterId: datacenter.id,
|
|
82
83
|
* }));
|
|
83
|
-
* const
|
|
84
|
-
* name: "
|
|
84
|
+
* const hostGroup = cluster.then(cluster => vsphere.getComputeClusterHostGroup({
|
|
85
|
+
* name: "hostgroup-01",
|
|
85
86
|
* computeClusterId: cluster.id,
|
|
86
87
|
* }));
|
|
87
|
-
* const
|
|
88
|
+
* const hostRule = new vsphere.ComputeClusterVmHostRule("host_rule", {
|
|
88
89
|
* computeClusterId: cluster.then(cluster => cluster.id),
|
|
89
90
|
* name: "terraform-host-rule1",
|
|
90
|
-
* vmGroupName: "
|
|
91
|
-
* affinityHostGroupName:
|
|
91
|
+
* vmGroupName: "vmgroup-01",
|
|
92
|
+
* affinityHostGroupName: hostGroup.then(hostGroup => hostGroup.name),
|
|
92
93
|
* });
|
|
93
94
|
* ```
|
|
94
95
|
*/
|
|
@@ -98,8 +99,9 @@ export declare function getComputeClusterHostGroupOutput(args: GetComputeCluster
|
|
|
98
99
|
*/
|
|
99
100
|
export interface GetComputeClusterHostGroupOutputArgs {
|
|
100
101
|
/**
|
|
101
|
-
* The
|
|
102
|
-
* of the compute cluster for
|
|
102
|
+
* The
|
|
103
|
+
* [managed object reference ID][docs-about-morefs] of the compute cluster for
|
|
104
|
+
* the host group.
|
|
103
105
|
*
|
|
104
106
|
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
105
107
|
*/
|
|
@@ -17,21 +17,21 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as vsphere from "@pulumi/vsphere";
|
|
18
18
|
*
|
|
19
19
|
* const datacenter = vsphere.getDatacenter({
|
|
20
|
-
* name:
|
|
20
|
+
* name: "dc-01",
|
|
21
21
|
* });
|
|
22
22
|
* const cluster = datacenter.then(datacenter => vsphere.getComputeCluster({
|
|
23
|
-
* name:
|
|
23
|
+
* name: "cluster-01",
|
|
24
24
|
* datacenterId: datacenter.id,
|
|
25
25
|
* }));
|
|
26
|
-
* const
|
|
27
|
-
* name: "
|
|
26
|
+
* const hostGroup = cluster.then(cluster => vsphere.getComputeClusterHostGroup({
|
|
27
|
+
* name: "hostgroup-01",
|
|
28
28
|
* computeClusterId: cluster.id,
|
|
29
29
|
* }));
|
|
30
|
-
* const
|
|
30
|
+
* const hostRule = new vsphere.ComputeClusterVmHostRule("host_rule", {
|
|
31
31
|
* computeClusterId: cluster.then(cluster => cluster.id),
|
|
32
32
|
* name: "terraform-host-rule1",
|
|
33
|
-
* vmGroupName: "
|
|
34
|
-
* affinityHostGroupName:
|
|
33
|
+
* vmGroupName: "vmgroup-01",
|
|
34
|
+
* affinityHostGroupName: hostGroup.then(hostGroup => hostGroup.name),
|
|
35
35
|
* });
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
@@ -55,21 +55,21 @@ exports.getComputeClusterHostGroup = getComputeClusterHostGroup;
|
|
|
55
55
|
* import * as vsphere from "@pulumi/vsphere";
|
|
56
56
|
*
|
|
57
57
|
* const datacenter = vsphere.getDatacenter({
|
|
58
|
-
* name:
|
|
58
|
+
* name: "dc-01",
|
|
59
59
|
* });
|
|
60
60
|
* const cluster = datacenter.then(datacenter => vsphere.getComputeCluster({
|
|
61
|
-
* name:
|
|
61
|
+
* name: "cluster-01",
|
|
62
62
|
* datacenterId: datacenter.id,
|
|
63
63
|
* }));
|
|
64
|
-
* const
|
|
65
|
-
* name: "
|
|
64
|
+
* const hostGroup = cluster.then(cluster => vsphere.getComputeClusterHostGroup({
|
|
65
|
+
* name: "hostgroup-01",
|
|
66
66
|
* computeClusterId: cluster.id,
|
|
67
67
|
* }));
|
|
68
|
-
* const
|
|
68
|
+
* const hostRule = new vsphere.ComputeClusterVmHostRule("host_rule", {
|
|
69
69
|
* computeClusterId: cluster.then(cluster => cluster.id),
|
|
70
70
|
* name: "terraform-host-rule1",
|
|
71
|
-
* vmGroupName: "
|
|
72
|
-
* affinityHostGroupName:
|
|
71
|
+
* vmGroupName: "vmgroup-01",
|
|
72
|
+
* affinityHostGroupName: hostGroup.then(hostGroup => hostGroup.name),
|
|
73
73
|
* });
|
|
74
74
|
* ```
|
|
75
75
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getComputeClusterHostGroup.js","sourceRoot":"","sources":["../getComputeClusterHostGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IAExG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qEAAqE,EAAE;QAChG,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC;
|
|
1
|
+
{"version":3,"file":"getComputeClusterHostGroup.js","sourceRoot":"","sources":["../getComputeClusterHostGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IAExG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qEAAqE,EAAE;QAChG,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC;AAoCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,0BAA0B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrF,CAAC;AAFD,4EAEC"}
|
package/getContentLibrary.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* The `vsphere.ContentLibrary` data source can be used to discover the ID of a
|
|
3
|
+
* The `vsphere.ContentLibrary` data source can be used to discover the ID of a
|
|
4
|
+
* content library.
|
|
4
5
|
*
|
|
5
|
-
* > **NOTE:** This resource requires vCenter
|
|
6
|
+
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
7
|
+
* host connections.
|
|
6
8
|
*
|
|
7
9
|
* ## Example Usage
|
|
8
10
|
*
|
|
@@ -10,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
13
|
* import * as vsphere from "@pulumi/vsphere";
|
|
12
14
|
*
|
|
13
|
-
* const
|
|
15
|
+
* const contentLibrary = vsphere.getContentLibrary({
|
|
14
16
|
* name: "Content Library",
|
|
15
17
|
* });
|
|
16
18
|
* ```
|
|
@@ -36,9 +38,11 @@ export interface GetContentLibraryResult {
|
|
|
36
38
|
readonly name: string;
|
|
37
39
|
}
|
|
38
40
|
/**
|
|
39
|
-
* The `vsphere.ContentLibrary` data source can be used to discover the ID of a
|
|
41
|
+
* The `vsphere.ContentLibrary` data source can be used to discover the ID of a
|
|
42
|
+
* content library.
|
|
40
43
|
*
|
|
41
|
-
* > **NOTE:** This resource requires vCenter
|
|
44
|
+
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
45
|
+
* host connections.
|
|
42
46
|
*
|
|
43
47
|
* ## Example Usage
|
|
44
48
|
*
|
|
@@ -46,7 +50,7 @@ export interface GetContentLibraryResult {
|
|
|
46
50
|
* import * as pulumi from "@pulumi/pulumi";
|
|
47
51
|
* import * as vsphere from "@pulumi/vsphere";
|
|
48
52
|
*
|
|
49
|
-
* const
|
|
53
|
+
* const contentLibrary = vsphere.getContentLibrary({
|
|
50
54
|
* name: "Content Library",
|
|
51
55
|
* });
|
|
52
56
|
* ```
|
package/getContentLibrary.js
CHANGED
|
@@ -6,9 +6,11 @@ exports.getContentLibraryOutput = exports.getContentLibrary = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* The `vsphere.ContentLibrary` data source can be used to discover the ID of a
|
|
9
|
+
* The `vsphere.ContentLibrary` data source can be used to discover the ID of a
|
|
10
|
+
* content library.
|
|
10
11
|
*
|
|
11
|
-
* > **NOTE:** This resource requires vCenter
|
|
12
|
+
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
13
|
+
* host connections.
|
|
12
14
|
*
|
|
13
15
|
* ## Example Usage
|
|
14
16
|
*
|
|
@@ -16,7 +18,7 @@ const utilities = require("./utilities");
|
|
|
16
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
19
|
* import * as vsphere from "@pulumi/vsphere";
|
|
18
20
|
*
|
|
19
|
-
* const
|
|
21
|
+
* const contentLibrary = vsphere.getContentLibrary({
|
|
20
22
|
* name: "Content Library",
|
|
21
23
|
* });
|
|
22
24
|
* ```
|
|
@@ -29,9 +31,11 @@ function getContentLibrary(args, opts) {
|
|
|
29
31
|
}
|
|
30
32
|
exports.getContentLibrary = getContentLibrary;
|
|
31
33
|
/**
|
|
32
|
-
* The `vsphere.ContentLibrary` data source can be used to discover the ID of a
|
|
34
|
+
* The `vsphere.ContentLibrary` data source can be used to discover the ID of a
|
|
35
|
+
* content library.
|
|
33
36
|
*
|
|
34
|
-
* > **NOTE:** This resource requires vCenter
|
|
37
|
+
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
38
|
+
* host connections.
|
|
35
39
|
*
|
|
36
40
|
* ## Example Usage
|
|
37
41
|
*
|
|
@@ -39,7 +43,7 @@ exports.getContentLibrary = getContentLibrary;
|
|
|
39
43
|
* import * as pulumi from "@pulumi/pulumi";
|
|
40
44
|
* import * as vsphere from "@pulumi/vsphere";
|
|
41
45
|
*
|
|
42
|
-
* const
|
|
46
|
+
* const contentLibrary = vsphere.getContentLibrary({
|
|
43
47
|
* name: "Content Library",
|
|
44
48
|
* });
|
|
45
49
|
* ```
|
package/getContentLibrary.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getContentLibrary.js","sourceRoot":"","sources":["../getContentLibrary.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getContentLibrary.js","sourceRoot":"","sources":["../getContentLibrary.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;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,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AAsBD;;;;;;;;;;;;;;;;;GAiBG;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"}
|
|
@@ -3,8 +3,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* The `vsphere.ContentLibraryItem` data source can be used to discover the ID
|
|
4
4
|
* of a content library item.
|
|
5
5
|
*
|
|
6
|
-
* > **NOTE:** This resource requires vCenter
|
|
7
|
-
*
|
|
6
|
+
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
7
|
+
* host connections.
|
|
8
8
|
*/
|
|
9
9
|
export declare function getContentLibraryItem(args: GetContentLibraryItemArgs, opts?: pulumi.InvokeOptions): Promise<GetContentLibraryItemResult>;
|
|
10
10
|
/**
|
|
@@ -12,7 +12,8 @@ export declare function getContentLibraryItem(args: GetContentLibraryItemArgs, o
|
|
|
12
12
|
*/
|
|
13
13
|
export interface GetContentLibraryItemArgs {
|
|
14
14
|
/**
|
|
15
|
-
* The ID of the content library in which the item
|
|
15
|
+
* The ID of the content library in which the item
|
|
16
|
+
* exists.
|
|
16
17
|
*/
|
|
17
18
|
libraryId: string;
|
|
18
19
|
/**
|
|
@@ -20,7 +21,8 @@ export interface GetContentLibraryItemArgs {
|
|
|
20
21
|
*/
|
|
21
22
|
name: string;
|
|
22
23
|
/**
|
|
23
|
-
* The type for the content library item. One of `ovf`,
|
|
24
|
+
* The type for the content library item. One of `ovf`,
|
|
25
|
+
* `vm-template`, or `iso`
|
|
24
26
|
*/
|
|
25
27
|
type: string;
|
|
26
28
|
}
|
|
@@ -40,8 +42,8 @@ export interface GetContentLibraryItemResult {
|
|
|
40
42
|
* The `vsphere.ContentLibraryItem` data source can be used to discover the ID
|
|
41
43
|
* of a content library item.
|
|
42
44
|
*
|
|
43
|
-
* > **NOTE:** This resource requires vCenter
|
|
44
|
-
*
|
|
45
|
+
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
46
|
+
* host connections.
|
|
45
47
|
*/
|
|
46
48
|
export declare function getContentLibraryItemOutput(args: GetContentLibraryItemOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetContentLibraryItemResult>;
|
|
47
49
|
/**
|
|
@@ -49,7 +51,8 @@ export declare function getContentLibraryItemOutput(args: GetContentLibraryItemO
|
|
|
49
51
|
*/
|
|
50
52
|
export interface GetContentLibraryItemOutputArgs {
|
|
51
53
|
/**
|
|
52
|
-
* The ID of the content library in which the item
|
|
54
|
+
* The ID of the content library in which the item
|
|
55
|
+
* exists.
|
|
53
56
|
*/
|
|
54
57
|
libraryId: pulumi.Input<string>;
|
|
55
58
|
/**
|
|
@@ -57,7 +60,8 @@ export interface GetContentLibraryItemOutputArgs {
|
|
|
57
60
|
*/
|
|
58
61
|
name: pulumi.Input<string>;
|
|
59
62
|
/**
|
|
60
|
-
* The type for the content library item. One of `ovf`,
|
|
63
|
+
* The type for the content library item. One of `ovf`,
|
|
64
|
+
* `vm-template`, or `iso`
|
|
61
65
|
*/
|
|
62
66
|
type: pulumi.Input<string>;
|
|
63
67
|
}
|
package/getContentLibraryItem.js
CHANGED
|
@@ -9,8 +9,8 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* The `vsphere.ContentLibraryItem` data source can be used to discover the ID
|
|
10
10
|
* of a content library item.
|
|
11
11
|
*
|
|
12
|
-
* > **NOTE:** This resource requires vCenter
|
|
13
|
-
*
|
|
12
|
+
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
13
|
+
* host connections.
|
|
14
14
|
*/
|
|
15
15
|
function getContentLibraryItem(args, opts) {
|
|
16
16
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -25,8 +25,8 @@ exports.getContentLibraryItem = getContentLibraryItem;
|
|
|
25
25
|
* The `vsphere.ContentLibraryItem` data source can be used to discover the ID
|
|
26
26
|
* of a content library item.
|
|
27
27
|
*
|
|
28
|
-
* > **NOTE:** This resource requires vCenter
|
|
29
|
-
*
|
|
28
|
+
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
29
|
+
* host connections.
|
|
30
30
|
*/
|
|
31
31
|
function getContentLibraryItemOutput(args, opts) {
|
|
32
32
|
return pulumi.output(args).apply((a) => getContentLibraryItem(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getContentLibraryItem.js","sourceRoot":"","sources":["../getContentLibraryItem.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC;
|
|
1
|
+
{"version":3,"file":"getContentLibraryItem.js","sourceRoot":"","sources":["../getContentLibraryItem.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC;AAkCD;;;;;;GAMG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
|
package/getDatastore.d.ts
CHANGED
|
@@ -37,9 +37,9 @@ export interface GetDatastoreArgs {
|
|
|
37
37
|
*/
|
|
38
38
|
name: string;
|
|
39
39
|
/**
|
|
40
|
-
* The disk space usage statistics for the specific datastore. The
|
|
41
|
-
* datastore capacity is represented as `capacity` and the free remaining
|
|
42
|
-
* represented as `free`.
|
|
40
|
+
* The disk space usage statistics for the specific datastore. The
|
|
41
|
+
* total datastore capacity is represented as `capacity` and the free remaining
|
|
42
|
+
* disk is represented as `free`.
|
|
43
43
|
*/
|
|
44
44
|
stats?: {
|
|
45
45
|
[key: string]: any;
|
|
@@ -56,9 +56,9 @@ export interface GetDatastoreResult {
|
|
|
56
56
|
readonly id: string;
|
|
57
57
|
readonly name: string;
|
|
58
58
|
/**
|
|
59
|
-
* The disk space usage statistics for the specific datastore. The
|
|
60
|
-
* datastore capacity is represented as `capacity` and the free remaining
|
|
61
|
-
* represented as `free`.
|
|
59
|
+
* The disk space usage statistics for the specific datastore. The
|
|
60
|
+
* total datastore capacity is represented as `capacity` and the free remaining
|
|
61
|
+
* disk is represented as `free`.
|
|
62
62
|
*/
|
|
63
63
|
readonly stats?: {
|
|
64
64
|
[key: string]: any;
|
|
@@ -102,9 +102,9 @@ export interface GetDatastoreOutputArgs {
|
|
|
102
102
|
*/
|
|
103
103
|
name: pulumi.Input<string>;
|
|
104
104
|
/**
|
|
105
|
-
* The disk space usage statistics for the specific datastore. The
|
|
106
|
-
* datastore capacity is represented as `capacity` and the free remaining
|
|
107
|
-
* represented as `free`.
|
|
105
|
+
* The disk space usage statistics for the specific datastore. The
|
|
106
|
+
* total datastore capacity is represented as `capacity` and the free remaining
|
|
107
|
+
* disk is represented as `free`.
|
|
108
108
|
*/
|
|
109
109
|
stats?: pulumi.Input<{
|
|
110
110
|
[key: string]: any;
|
package/getDatastoreStats.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* The `vsphere.getDatastoreStats` data source can be used to retrieve the usage
|
|
4
|
-
* of all vSphere datastore objects in a datacenter. This can then be used as
|
|
5
|
-
* standalone
|
|
3
|
+
* The `vsphere.getDatastoreStats` data source can be used to retrieve the usage
|
|
4
|
+
* stats of all vSphere datastore objects in a datacenter. This can then be used as
|
|
5
|
+
* a standalone data source to get information required as input to other data
|
|
6
|
+
* sources.
|
|
6
7
|
*
|
|
7
8
|
* ## Example Usage
|
|
8
9
|
*
|
|
@@ -18,9 +19,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
19
|
* }));
|
|
19
20
|
* ```
|
|
20
21
|
*
|
|
21
|
-
* A
|
|
22
|
-
*
|
|
23
|
-
* the above:
|
|
22
|
+
* A useful example of this data source would be to determine the datastore with
|
|
23
|
+
* the most free space. For example, in addition to the above:
|
|
24
24
|
*
|
|
25
25
|
* Create an `outputs.tf` like that:
|
|
26
26
|
*
|
|
@@ -39,24 +39,25 @@ export declare function getDatastoreStats(args: GetDatastoreStatsArgs, opts?: pu
|
|
|
39
39
|
*/
|
|
40
40
|
export interface GetDatastoreStatsArgs {
|
|
41
41
|
/**
|
|
42
|
-
* A mapping of the capacity for all datastore in the datacenter
|
|
43
|
-
*
|
|
42
|
+
* A mapping of the capacity for all datastore in the datacenter,
|
|
43
|
+
* where the name of the datastore is used as key and the capacity as value.
|
|
44
44
|
*/
|
|
45
45
|
capacity?: {
|
|
46
46
|
[key: string]: any;
|
|
47
47
|
};
|
|
48
48
|
/**
|
|
49
|
-
* The
|
|
50
|
-
* of the datacenter the
|
|
51
|
-
*
|
|
49
|
+
* The
|
|
50
|
+
* [managed object reference ID][docs-about-morefs] of the datacenter the
|
|
51
|
+
* datastores are located in. For default datacenters, use the `id` attribute
|
|
52
|
+
* from an empty `vsphere.Datacenter` data source.
|
|
52
53
|
*
|
|
53
54
|
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
54
55
|
*/
|
|
55
56
|
datacenterId: string;
|
|
56
57
|
/**
|
|
57
58
|
* A mapping of the free space for each datastore in the
|
|
58
|
-
* datacenter, where the name of the datastore is used as key and the free
|
|
59
|
-
*
|
|
59
|
+
* datacenter, where the name of the datastore is used as key and the free space
|
|
60
|
+
* as value.
|
|
60
61
|
*/
|
|
61
62
|
freeSpace?: {
|
|
62
63
|
[key: string]: any;
|
|
@@ -67,21 +68,21 @@ export interface GetDatastoreStatsArgs {
|
|
|
67
68
|
*/
|
|
68
69
|
export interface GetDatastoreStatsResult {
|
|
69
70
|
/**
|
|
70
|
-
* A mapping of the capacity for all datastore in the datacenter
|
|
71
|
-
*
|
|
71
|
+
* A mapping of the capacity for all datastore in the datacenter,
|
|
72
|
+
* where the name of the datastore is used as key and the capacity as value.
|
|
72
73
|
*/
|
|
73
74
|
readonly capacity?: {
|
|
74
75
|
[key: string]: any;
|
|
75
76
|
};
|
|
76
77
|
/**
|
|
77
|
-
* The [managed object reference ID][docs-about-morefs]
|
|
78
|
-
*
|
|
78
|
+
* The [managed object reference ID][docs-about-morefs] of the
|
|
79
|
+
* datacenter the datastores are located in.
|
|
79
80
|
*/
|
|
80
81
|
readonly datacenterId: string;
|
|
81
82
|
/**
|
|
82
83
|
* A mapping of the free space for each datastore in the
|
|
83
|
-
* datacenter, where the name of the datastore is used as key and the free
|
|
84
|
-
*
|
|
84
|
+
* datacenter, where the name of the datastore is used as key and the free space
|
|
85
|
+
* as value.
|
|
85
86
|
*/
|
|
86
87
|
readonly freeSpace?: {
|
|
87
88
|
[key: string]: any;
|
|
@@ -92,9 +93,10 @@ export interface GetDatastoreStatsResult {
|
|
|
92
93
|
readonly id: string;
|
|
93
94
|
}
|
|
94
95
|
/**
|
|
95
|
-
* The `vsphere.getDatastoreStats` data source can be used to retrieve the usage
|
|
96
|
-
* of all vSphere datastore objects in a datacenter. This can then be used as
|
|
97
|
-
* standalone
|
|
96
|
+
* The `vsphere.getDatastoreStats` data source can be used to retrieve the usage
|
|
97
|
+
* stats of all vSphere datastore objects in a datacenter. This can then be used as
|
|
98
|
+
* a standalone data source to get information required as input to other data
|
|
99
|
+
* sources.
|
|
98
100
|
*
|
|
99
101
|
* ## Example Usage
|
|
100
102
|
*
|
|
@@ -110,9 +112,8 @@ export interface GetDatastoreStatsResult {
|
|
|
110
112
|
* }));
|
|
111
113
|
* ```
|
|
112
114
|
*
|
|
113
|
-
* A
|
|
114
|
-
*
|
|
115
|
-
* the above:
|
|
115
|
+
* A useful example of this data source would be to determine the datastore with
|
|
116
|
+
* the most free space. For example, in addition to the above:
|
|
116
117
|
*
|
|
117
118
|
* Create an `outputs.tf` like that:
|
|
118
119
|
*
|
|
@@ -131,24 +132,25 @@ export declare function getDatastoreStatsOutput(args: GetDatastoreStatsOutputArg
|
|
|
131
132
|
*/
|
|
132
133
|
export interface GetDatastoreStatsOutputArgs {
|
|
133
134
|
/**
|
|
134
|
-
* A mapping of the capacity for all datastore in the datacenter
|
|
135
|
-
*
|
|
135
|
+
* A mapping of the capacity for all datastore in the datacenter,
|
|
136
|
+
* where the name of the datastore is used as key and the capacity as value.
|
|
136
137
|
*/
|
|
137
138
|
capacity?: pulumi.Input<{
|
|
138
139
|
[key: string]: any;
|
|
139
140
|
}>;
|
|
140
141
|
/**
|
|
141
|
-
* The
|
|
142
|
-
* of the datacenter the
|
|
143
|
-
*
|
|
142
|
+
* The
|
|
143
|
+
* [managed object reference ID][docs-about-morefs] of the datacenter the
|
|
144
|
+
* datastores are located in. For default datacenters, use the `id` attribute
|
|
145
|
+
* from an empty `vsphere.Datacenter` data source.
|
|
144
146
|
*
|
|
145
147
|
* [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
146
148
|
*/
|
|
147
149
|
datacenterId: pulumi.Input<string>;
|
|
148
150
|
/**
|
|
149
151
|
* A mapping of the free space for each datastore in the
|
|
150
|
-
* datacenter, where the name of the datastore is used as key and the free
|
|
151
|
-
*
|
|
152
|
+
* datacenter, where the name of the datastore is used as key and the free space
|
|
153
|
+
* as value.
|
|
152
154
|
*/
|
|
153
155
|
freeSpace?: pulumi.Input<{
|
|
154
156
|
[key: string]: any;
|
package/getDatastoreStats.js
CHANGED
|
@@ -6,9 +6,10 @@ 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
|
*
|
|
@@ -24,9 +25,8 @@ const utilities = require("./utilities");
|
|
|
24
25
|
* }));
|
|
25
26
|
* ```
|
|
26
27
|
*
|
|
27
|
-
* A
|
|
28
|
-
*
|
|
29
|
-
* 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:
|
|
30
30
|
*
|
|
31
31
|
* Create an `outputs.tf` like that:
|
|
32
32
|
*
|
|
@@ -49,9 +49,10 @@ function getDatastoreStats(args, opts) {
|
|
|
49
49
|
}
|
|
50
50
|
exports.getDatastoreStats = getDatastoreStats;
|
|
51
51
|
/**
|
|
52
|
-
* The `vsphere.getDatastoreStats` data source can be used to retrieve the usage
|
|
53
|
-
* of all vSphere datastore objects in a datacenter. This can then be used as
|
|
54
|
-
* 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.
|
|
55
56
|
*
|
|
56
57
|
* ## Example Usage
|
|
57
58
|
*
|
|
@@ -67,9 +68,8 @@ exports.getDatastoreStats = getDatastoreStats;
|
|
|
67
68
|
* }));
|
|
68
69
|
* ```
|
|
69
70
|
*
|
|
70
|
-
* A
|
|
71
|
-
*
|
|
72
|
-
* 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:
|
|
73
73
|
*
|
|
74
74
|
* Create an `outputs.tf` like that:
|
|
75
75
|
*
|
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;;;;;;;;;;;;;;;;;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