@pulumi/vsphere 4.0.0 → 4.2.0-alpha.1641576184

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.
Files changed (205) hide show
  1. package/README.md +1 -1
  2. package/computeCluster.d.ts +111 -111
  3. package/computeCluster.js +1 -0
  4. package/computeCluster.js.map +1 -1
  5. package/computeClusterHostGroup.d.ts +6 -6
  6. package/computeClusterHostGroup.js +1 -0
  7. package/computeClusterHostGroup.js.map +1 -1
  8. package/computeClusterVmAffinityRule.d.ts +10 -10
  9. package/computeClusterVmAffinityRule.js +1 -0
  10. package/computeClusterVmAffinityRule.js.map +1 -1
  11. package/computeClusterVmAntiAffinityRule.d.ts +10 -10
  12. package/computeClusterVmAntiAffinityRule.js +1 -0
  13. package/computeClusterVmAntiAffinityRule.js.map +1 -1
  14. package/computeClusterVmDependencyRule.d.ts +12 -12
  15. package/computeClusterVmDependencyRule.js +1 -0
  16. package/computeClusterVmDependencyRule.js.map +1 -1
  17. package/computeClusterVmGroup.d.ts +6 -6
  18. package/computeClusterVmGroup.js +1 -0
  19. package/computeClusterVmGroup.js.map +1 -1
  20. package/computeClusterVmHostRule.d.ts +14 -14
  21. package/computeClusterVmHostRule.js +1 -0
  22. package/computeClusterVmHostRule.js.map +1 -1
  23. package/config/index.js +11 -4
  24. package/config/index.js.map +1 -1
  25. package/config/vars.d.ts +13 -13
  26. package/config/vars.js +87 -50
  27. package/config/vars.js.map +1 -1
  28. package/contentLibrary.d.ts +10 -10
  29. package/contentLibrary.js +1 -0
  30. package/contentLibrary.js.map +1 -1
  31. package/contentLibraryItem.d.ts +12 -12
  32. package/contentLibraryItem.js +1 -0
  33. package/contentLibraryItem.js.map +1 -1
  34. package/customAttribute.d.ts +4 -4
  35. package/customAttribute.js +1 -0
  36. package/customAttribute.js.map +1 -1
  37. package/datacenter.d.ts +9 -9
  38. package/datacenter.js +1 -0
  39. package/datacenter.js.map +1 -1
  40. package/datastoreCluster.d.ts +50 -50
  41. package/datastoreCluster.js +1 -0
  42. package/datastoreCluster.js.map +1 -1
  43. package/datastoreClusterVmAntiAffinityRule.d.ts +10 -10
  44. package/datastoreClusterVmAntiAffinityRule.js +1 -0
  45. package/datastoreClusterVmAntiAffinityRule.js.map +1 -1
  46. package/distributedPortGroup.d.ts +94 -94
  47. package/distributedPortGroup.js +1 -0
  48. package/distributedPortGroup.js.map +1 -1
  49. package/distributedVirtualSwitch.d.ts +189 -189
  50. package/distributedVirtualSwitch.js +1 -0
  51. package/distributedVirtualSwitch.js.map +1 -1
  52. package/dpmHostOverride.d.ts +8 -8
  53. package/dpmHostOverride.js +1 -0
  54. package/dpmHostOverride.js.map +1 -1
  55. package/drsVmOverride.d.ts +8 -8
  56. package/drsVmOverride.js +1 -0
  57. package/drsVmOverride.js.map +1 -1
  58. package/entityPermissions.d.ts +6 -6
  59. package/entityPermissions.js +1 -0
  60. package/entityPermissions.js.map +1 -1
  61. package/file.d.ts +14 -14
  62. package/file.js +1 -0
  63. package/file.js.map +1 -1
  64. package/folder.d.ts +10 -10
  65. package/folder.js +1 -0
  66. package/folder.js.map +1 -1
  67. package/getComputeCluster.d.ts +22 -4
  68. package/getComputeCluster.js +7 -2
  69. package/getComputeCluster.js.map +1 -1
  70. package/getContentLibrary.d.ts +12 -2
  71. package/getContentLibrary.js +6 -1
  72. package/getContentLibrary.js.map +1 -1
  73. package/getContentLibraryItem.d.ts +36 -3
  74. package/getContentLibraryItem.js +20 -0
  75. package/getContentLibraryItem.js.map +1 -1
  76. package/getCustomAttribute.d.ts +12 -2
  77. package/getCustomAttribute.js +6 -1
  78. package/getCustomAttribute.js.map +1 -1
  79. package/getDatacenter.d.ts +13 -2
  80. package/getDatacenter.js +6 -1
  81. package/getDatacenter.js.map +1 -1
  82. package/getDatastore.d.ts +22 -4
  83. package/getDatastore.js +7 -2
  84. package/getDatastore.js.map +1 -1
  85. package/getDatastoreCluster.d.ts +22 -4
  86. package/getDatastoreCluster.js +7 -2
  87. package/getDatastoreCluster.js.map +1 -1
  88. package/getDistributedVirtualSwitch.d.ts +23 -4
  89. package/getDistributedVirtualSwitch.js +7 -2
  90. package/getDistributedVirtualSwitch.js.map +1 -1
  91. package/getDynamic.d.ts +24 -3
  92. package/getDynamic.js +5 -0
  93. package/getDynamic.js.map +1 -1
  94. package/getFolder.d.ts +16 -2
  95. package/getFolder.js +6 -1
  96. package/getFolder.js.map +1 -1
  97. package/getHost.d.ts +20 -4
  98. package/getHost.js +7 -2
  99. package/getHost.js.map +1 -1
  100. package/getHostPciDevice.d.ts +28 -4
  101. package/getHostPciDevice.js +5 -0
  102. package/getHostPciDevice.js.map +1 -1
  103. package/getHostThumbprint.d.ts +24 -4
  104. package/getHostThumbprint.js +6 -1
  105. package/getHostThumbprint.js.map +1 -1
  106. package/getNetwork.d.ts +30 -5
  107. package/getNetwork.js +7 -2
  108. package/getNetwork.js.map +1 -1
  109. package/getOvfVmTemplate.d.ts +78 -14
  110. package/getOvfVmTemplate.js +5 -0
  111. package/getOvfVmTemplate.js.map +1 -1
  112. package/getPolicy.d.ts +12 -2
  113. package/getPolicy.js +6 -1
  114. package/getPolicy.js.map +1 -1
  115. package/getResourcePool.d.ts +24 -5
  116. package/getResourcePool.js +8 -3
  117. package/getResourcePool.js.map +1 -1
  118. package/getRole.d.ts +24 -5
  119. package/getRole.js +6 -1
  120. package/getRole.js.map +1 -1
  121. package/getTag.d.ts +18 -4
  122. package/getTag.js +7 -2
  123. package/getTag.js.map +1 -1
  124. package/getTagCategory.d.ts +12 -2
  125. package/getTagCategory.js +6 -1
  126. package/getTagCategory.js.map +1 -1
  127. package/getVappContainer.d.ts +20 -4
  128. package/getVappContainer.js +7 -2
  129. package/getVappContainer.js.map +1 -1
  130. package/getVirtualMachine.d.ts +150 -50
  131. package/getVirtualMachine.js +8 -2
  132. package/getVirtualMachine.js.map +1 -1
  133. package/getVmfsDisks.d.ts +28 -6
  134. package/getVmfsDisks.js +8 -3
  135. package/getVmfsDisks.js.map +1 -1
  136. package/haVmOverride.d.ts +30 -30
  137. package/haVmOverride.js +1 -0
  138. package/haVmOverride.js.map +1 -1
  139. package/host.d.ts +24 -24
  140. package/host.js +1 -0
  141. package/host.js.map +1 -1
  142. package/hostPortGroup.d.ts +41 -41
  143. package/hostPortGroup.js +5 -4
  144. package/hostPortGroup.js.map +1 -1
  145. package/hostVirtualSwitch.d.ts +42 -42
  146. package/hostVirtualSwitch.js +1 -0
  147. package/hostVirtualSwitch.js.map +1 -1
  148. package/index.js +74 -66
  149. package/index.js.map +1 -1
  150. package/license.d.ts +8 -8
  151. package/license.js +1 -0
  152. package/license.js.map +1 -1
  153. package/nasDatastore.d.ts +30 -30
  154. package/nasDatastore.js +1 -0
  155. package/nasDatastore.js.map +1 -1
  156. package/package.json +4 -3
  157. package/package.json.bak +3 -2
  158. package/package.json.dev +4 -3
  159. package/provider.d.ts +45 -13
  160. package/provider.js +9 -8
  161. package/provider.js.map +1 -1
  162. package/resourcePool.d.ts +28 -28
  163. package/resourcePool.js +1 -0
  164. package/resourcePool.js.map +1 -1
  165. package/role.d.ts +5 -5
  166. package/role.js +1 -0
  167. package/role.js.map +1 -1
  168. package/storageDrsVmOverride.d.ts +10 -10
  169. package/storageDrsVmOverride.js +1 -0
  170. package/storageDrsVmOverride.js.map +1 -1
  171. package/tag.d.ts +6 -6
  172. package/tag.js +1 -0
  173. package/tag.js.map +1 -1
  174. package/tagCategory.d.ts +8 -8
  175. package/tagCategory.js +1 -0
  176. package/tagCategory.js.map +1 -1
  177. package/types/index.js +1 -0
  178. package/types/index.js.map +1 -1
  179. package/types/input.d.ts +5 -0
  180. package/utilities.js +1 -0
  181. package/utilities.js.map +1 -1
  182. package/vappContainer.d.ts +30 -30
  183. package/vappContainer.js +1 -0
  184. package/vappContainer.js.map +1 -1
  185. package/vappEntity.d.ts +20 -20
  186. package/vappEntity.js +1 -0
  187. package/vappEntity.js.map +1 -1
  188. package/virtualDisk.d.ts +14 -14
  189. package/virtualDisk.js +1 -0
  190. package/virtualDisk.js.map +1 -1
  191. package/virtualMachine.d.ts +185 -158
  192. package/virtualMachine.js +3 -0
  193. package/virtualMachine.js.map +1 -1
  194. package/virtualMachineSnapshot.d.ts +14 -14
  195. package/virtualMachineSnapshot.js +1 -0
  196. package/virtualMachineSnapshot.js.map +1 -1
  197. package/vmStoragePolicy.d.ts +6 -6
  198. package/vmStoragePolicy.js +1 -0
  199. package/vmStoragePolicy.js.map +1 -1
  200. package/vmfsDatastore.d.ts +21 -21
  201. package/vmfsDatastore.js +1 -0
  202. package/vmfsDatastore.js.map +1 -1
  203. package/vnic.d.ts +18 -18
  204. package/vnic.js +1 -0
  205. package/vnic.js.map +1 -1
@@ -13,11 +13,11 @@ import * as pulumi from "@pulumi/pulumi";
13
13
  *
14
14
  * const datacenter = pulumi.output(vsphere.getDatacenter({
15
15
  * name: "dc1",
16
- * }, { async: true }));
16
+ * }));
17
17
  * const pool = datacenter.apply(datacenter => vsphere.getResourcePool({
18
18
  * datacenterId: datacenter.id,
19
19
  * name: "resource-pool-1",
20
- * }, { async: true }));
20
+ * }));
21
21
  * ```
22
22
  * ### Specifying the root resource pool for a standalone host
23
23
  *
@@ -37,7 +37,7 @@ import * as pulumi from "@pulumi/pulumi";
37
37
  * const pool = vsphere_datacenter_dc.id.apply(id => vsphere.getResourcePool({
38
38
  * datacenterId: id,
39
39
  * name: "esxi1/Resources",
40
- * }, { async: true }));
40
+ * }));
41
41
  * ```
42
42
  *
43
43
  * For more information on the root resource pool, see [Managing Resource
@@ -57,12 +57,12 @@ export interface GetResourcePoolArgs {
57
57
  * For default datacenters, use the id attribute from an empty
58
58
  * `vsphere.Datacenter` data source.
59
59
  */
60
- readonly datacenterId?: string;
60
+ datacenterId?: string;
61
61
  /**
62
62
  * The name of the resource pool. This can be a name or
63
63
  * path. This is required when using vCenter.
64
64
  */
65
- readonly name?: string;
65
+ name?: string;
66
66
  }
67
67
  /**
68
68
  * A collection of values returned by getResourcePool.
@@ -75,3 +75,22 @@ export interface GetResourcePoolResult {
75
75
  readonly id: string;
76
76
  readonly name?: string;
77
77
  }
78
+ export declare function getResourcePoolOutput(args?: GetResourcePoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetResourcePoolResult>;
79
+ /**
80
+ * A collection of arguments for invoking getResourcePool.
81
+ */
82
+ export interface GetResourcePoolOutputArgs {
83
+ /**
84
+ * The managed object reference
85
+ * ID of the datacenter the resource pool is located in.
86
+ * This can be omitted if the search path used in `name` is an absolute path.
87
+ * For default datacenters, use the id attribute from an empty
88
+ * `vsphere.Datacenter` data source.
89
+ */
90
+ datacenterId?: pulumi.Input<string>;
91
+ /**
92
+ * The name of the resource pool. This can be a name or
93
+ * path. This is required when using vCenter.
94
+ */
95
+ name?: pulumi.Input<string>;
96
+ }
@@ -2,6 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getResourcePoolOutput = exports.getResourcePool = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -18,11 +19,11 @@ const utilities = require("./utilities");
18
19
  *
19
20
  * const datacenter = pulumi.output(vsphere.getDatacenter({
20
21
  * name: "dc1",
21
- * }, { async: true }));
22
+ * }));
22
23
  * const pool = datacenter.apply(datacenter => vsphere.getResourcePool({
23
24
  * datacenterId: datacenter.id,
24
25
  * name: "resource-pool-1",
25
- * }, { async: true }));
26
+ * }));
26
27
  * ```
27
28
  * ### Specifying the root resource pool for a standalone host
28
29
  *
@@ -42,7 +43,7 @@ const utilities = require("./utilities");
42
43
  * const pool = vsphere_datacenter_dc.id.apply(id => vsphere.getResourcePool({
43
44
  * datacenterId: id,
44
45
  * name: "esxi1/Resources",
45
- * }, { async: true }));
46
+ * }));
46
47
  * ```
47
48
  *
48
49
  * For more information on the root resource pool, see [Managing Resource
@@ -64,4 +65,8 @@ function getResourcePool(args, opts) {
64
65
  }, opts);
65
66
  }
66
67
  exports.getResourcePool = getResourcePool;
68
+ function getResourcePoolOutput(args, opts) {
69
+ return pulumi.output(args).apply(a => getResourcePool(a, opts));
70
+ }
71
+ exports.getResourcePoolOutput = getResourcePoolOutput;
67
72
  //# sourceMappingURL=getResourcePool.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getResourcePool.js","sourceRoot":"","sources":["../getResourcePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,0CAaC"}
1
+ {"version":3,"file":"getResourcePool.js","sourceRoot":"","sources":["../getResourcePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,0CAaC;AAiCD,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
package/getRole.d.ts CHANGED
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  *
12
12
  * const role1 = pulumi.output(vsphere.getRole({
13
13
  * label: "Virtual machine user (sample)",
14
- * }, { async: true }));
14
+ * }));
15
15
  * ```
16
16
  */
17
17
  export declare function getRole(args: GetRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetRoleResult>;
@@ -22,16 +22,16 @@ export interface GetRoleArgs {
22
22
  /**
23
23
  * The description of the role.
24
24
  */
25
- readonly description?: string;
25
+ description?: string;
26
26
  /**
27
27
  * The label of the role.
28
28
  */
29
- readonly label: string;
30
- readonly name?: string;
29
+ label: string;
30
+ name?: string;
31
31
  /**
32
32
  * The privileges associated with the role.
33
33
  */
34
- readonly rolePrivileges?: string[];
34
+ rolePrivileges?: string[];
35
35
  }
36
36
  /**
37
37
  * A collection of values returned by getRole.
@@ -55,3 +55,22 @@ export interface GetRoleResult {
55
55
  */
56
56
  readonly rolePrivileges?: string[];
57
57
  }
58
+ export declare function getRoleOutput(args: GetRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRoleResult>;
59
+ /**
60
+ * A collection of arguments for invoking getRole.
61
+ */
62
+ export interface GetRoleOutputArgs {
63
+ /**
64
+ * The description of the role.
65
+ */
66
+ description?: pulumi.Input<string>;
67
+ /**
68
+ * The label of the role.
69
+ */
70
+ label: pulumi.Input<string>;
71
+ name?: pulumi.Input<string>;
72
+ /**
73
+ * The privileges associated with the role.
74
+ */
75
+ rolePrivileges?: pulumi.Input<pulumi.Input<string>[]>;
76
+ }
package/getRole.js CHANGED
@@ -2,6 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getRoleOutput = exports.getRole = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -16,7 +17,7 @@ const utilities = require("./utilities");
16
17
  *
17
18
  * const role1 = pulumi.output(vsphere.getRole({
18
19
  * label: "Virtual machine user (sample)",
19
- * }, { async: true }));
20
+ * }));
20
21
  * ```
21
22
  */
22
23
  function getRole(args, opts) {
@@ -34,4 +35,8 @@ function getRole(args, opts) {
34
35
  }, opts);
35
36
  }
36
37
  exports.getRole = getRole;
38
+ function getRoleOutput(args, opts) {
39
+ return pulumi.output(args).apply(a => getRole(a, opts));
40
+ }
41
+ exports.getRoleOutput = getRoleOutput;
37
42
  //# sourceMappingURL=getRole.js.map
package/getRole.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,0BAcC"}
1
+ {"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,0BAcC;AA4CD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
package/getTag.d.ts CHANGED
@@ -17,11 +17,11 @@ import * as pulumi from "@pulumi/pulumi";
17
17
  *
18
18
  * const category = pulumi.output(vsphere.getTagCategory({
19
19
  * name: "test-category",
20
- * }, { async: true }));
20
+ * }));
21
21
  * const tag = category.apply(category => vsphere.getTag({
22
22
  * categoryId: category.id,
23
23
  * name: "test-tag",
24
- * }, { async: true }));
24
+ * }));
25
25
  * ```
26
26
  */
27
27
  export declare function getTag(args: GetTagArgs, opts?: pulumi.InvokeOptions): Promise<GetTagResult>;
@@ -32,11 +32,11 @@ export interface GetTagArgs {
32
32
  /**
33
33
  * The ID of the tag category the tag is located in.
34
34
  */
35
- readonly categoryId: string;
35
+ categoryId: string;
36
36
  /**
37
37
  * The name of the tag.
38
38
  */
39
- readonly name: string;
39
+ name: string;
40
40
  }
41
41
  /**
42
42
  * A collection of values returned by getTag.
@@ -50,3 +50,17 @@ export interface GetTagResult {
50
50
  readonly id: string;
51
51
  readonly name: string;
52
52
  }
53
+ export declare function getTagOutput(args: GetTagOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTagResult>;
54
+ /**
55
+ * A collection of arguments for invoking getTag.
56
+ */
57
+ export interface GetTagOutputArgs {
58
+ /**
59
+ * The ID of the tag category the tag is located in.
60
+ */
61
+ categoryId: pulumi.Input<string>;
62
+ /**
63
+ * The name of the tag.
64
+ */
65
+ name: pulumi.Input<string>;
66
+ }
package/getTag.js CHANGED
@@ -2,6 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getTagOutput = exports.getTag = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -22,11 +23,11 @@ const utilities = require("./utilities");
22
23
  *
23
24
  * const category = pulumi.output(vsphere.getTagCategory({
24
25
  * name: "test-category",
25
- * }, { async: true }));
26
+ * }));
26
27
  * const tag = category.apply(category => vsphere.getTag({
27
28
  * categoryId: category.id,
28
29
  * name: "test-tag",
29
- * }, { async: true }));
30
+ * }));
30
31
  * ```
31
32
  */
32
33
  function getTag(args, opts) {
@@ -42,4 +43,8 @@ function getTag(args, opts) {
42
43
  }, opts);
43
44
  }
44
45
  exports.getTag = getTag;
46
+ function getTagOutput(args, opts) {
47
+ return pulumi.output(args).apply(a => getTag(a, opts));
48
+ }
49
+ exports.getTagOutput = getTagOutput;
45
50
  //# sourceMappingURL=getTag.js.map
package/getTag.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getTag.js","sourceRoot":"","sources":["../getTag.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,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;AAZD,wBAYC"}
1
+ {"version":3,"file":"getTag.js","sourceRoot":"","sources":["../getTag.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,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;AAZD,wBAYC;AA6BD,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1D,CAAC;AAFD,oCAEC"}
@@ -17,7 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
17
17
  *
18
18
  * const category = pulumi.output(vsphere.getTagCategory({
19
19
  * name: "test-category",
20
- * }, { async: true }));
20
+ * }));
21
21
  * ```
22
22
  */
23
23
  export declare function getTagCategory(args: GetTagCategoryArgs, opts?: pulumi.InvokeOptions): Promise<GetTagCategoryResult>;
@@ -28,7 +28,7 @@ export interface GetTagCategoryArgs {
28
28
  /**
29
29
  * The name of the tag category.
30
30
  */
31
- readonly name: string;
31
+ name: string;
32
32
  }
33
33
  /**
34
34
  * A collection of values returned by getTagCategory.
@@ -43,3 +43,13 @@ export interface GetTagCategoryResult {
43
43
  readonly id: string;
44
44
  readonly name: string;
45
45
  }
46
+ export declare function getTagCategoryOutput(args: GetTagCategoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTagCategoryResult>;
47
+ /**
48
+ * A collection of arguments for invoking getTagCategory.
49
+ */
50
+ export interface GetTagCategoryOutputArgs {
51
+ /**
52
+ * The name of the tag category.
53
+ */
54
+ name: pulumi.Input<string>;
55
+ }
package/getTagCategory.js CHANGED
@@ -2,6 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getTagCategoryOutput = exports.getTagCategory = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -22,7 +23,7 @@ const utilities = require("./utilities");
22
23
  *
23
24
  * const category = pulumi.output(vsphere.getTagCategory({
24
25
  * name: "test-category",
25
- * }, { async: true }));
26
+ * }));
26
27
  * ```
27
28
  */
28
29
  function getTagCategory(args, opts) {
@@ -37,4 +38,8 @@ function getTagCategory(args, opts) {
37
38
  }, opts);
38
39
  }
39
40
  exports.getTagCategory = getTagCategory;
41
+ function getTagCategoryOutput(args, opts) {
42
+ return pulumi.output(args).apply(a => getTagCategory(a, opts));
43
+ }
44
+ exports.getTagCategoryOutput = getTagCategoryOutput;
40
45
  //# sourceMappingURL=getTagCategory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getTagCategory.js","sourceRoot":"","sources":["../getTagCategory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wCAWC"}
1
+ {"version":3,"file":"getTagCategory.js","sourceRoot":"","sources":["../getTagCategory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wCAWC;AA0BD,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oDAEC"}
@@ -13,11 +13,11 @@ import * as pulumi from "@pulumi/pulumi";
13
13
  *
14
14
  * const datacenter = pulumi.output(vsphere.getDatacenter({
15
15
  * name: "dc1",
16
- * }, { async: true }));
16
+ * }));
17
17
  * const pool = datacenter.apply(datacenter => vsphere.getVappContainer({
18
18
  * datacenterId: datacenter.id,
19
19
  * name: "vapp-container-1",
20
- * }, { async: true }));
20
+ * }));
21
21
  * ```
22
22
  */
23
23
  export declare function getVappContainer(args: GetVappContainerArgs, opts?: pulumi.InvokeOptions): Promise<GetVappContainerResult>;
@@ -29,12 +29,12 @@ export interface GetVappContainerArgs {
29
29
  * The managed object reference
30
30
  * ID of the datacenter the vApp container is located in.
31
31
  */
32
- readonly datacenterId: string;
32
+ datacenterId: string;
33
33
  /**
34
34
  * The name of the vApp container. This can be a name or
35
35
  * path.
36
36
  */
37
- readonly name: string;
37
+ name: string;
38
38
  }
39
39
  /**
40
40
  * A collection of values returned by getVappContainer.
@@ -47,3 +47,19 @@ export interface GetVappContainerResult {
47
47
  readonly id: string;
48
48
  readonly name: string;
49
49
  }
50
+ export declare function getVappContainerOutput(args: GetVappContainerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVappContainerResult>;
51
+ /**
52
+ * A collection of arguments for invoking getVappContainer.
53
+ */
54
+ export interface GetVappContainerOutputArgs {
55
+ /**
56
+ * The managed object reference
57
+ * ID of the datacenter the vApp container is located in.
58
+ */
59
+ datacenterId: pulumi.Input<string>;
60
+ /**
61
+ * The name of the vApp container. This can be a name or
62
+ * path.
63
+ */
64
+ name: pulumi.Input<string>;
65
+ }
@@ -2,6 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getVappContainerOutput = exports.getVappContainer = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -18,11 +19,11 @@ const utilities = require("./utilities");
18
19
  *
19
20
  * const datacenter = pulumi.output(vsphere.getDatacenter({
20
21
  * name: "dc1",
21
- * }, { async: true }));
22
+ * }));
22
23
  * const pool = datacenter.apply(datacenter => vsphere.getVappContainer({
23
24
  * datacenterId: datacenter.id,
24
25
  * name: "vapp-container-1",
25
- * }, { async: true }));
26
+ * }));
26
27
  * ```
27
28
  */
28
29
  function getVappContainer(args, opts) {
@@ -38,4 +39,8 @@ function getVappContainer(args, opts) {
38
39
  }, opts);
39
40
  }
40
41
  exports.getVappContainer = getVappContainer;
42
+ function getVappContainerOutput(args, opts) {
43
+ return pulumi.output(args).apply(a => getVappContainer(a, opts));
44
+ }
45
+ exports.getVappContainerOutput = getVappContainerOutput;
41
46
  //# sourceMappingURL=getVappContainer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getVappContainer.js","sourceRoot":"","sources":["../getVappContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,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;AAZD,4CAYC"}
1
+ {"version":3,"file":"getVappContainer.js","sourceRoot":"","sources":["../getVappContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,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;AAZD,4CAYC;AA8BD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,wDAEC"}