@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.
- package/README.md +1 -1
- package/computeCluster.d.ts +111 -111
- package/computeCluster.js +1 -0
- package/computeCluster.js.map +1 -1
- package/computeClusterHostGroup.d.ts +6 -6
- package/computeClusterHostGroup.js +1 -0
- package/computeClusterHostGroup.js.map +1 -1
- package/computeClusterVmAffinityRule.d.ts +10 -10
- package/computeClusterVmAffinityRule.js +1 -0
- package/computeClusterVmAffinityRule.js.map +1 -1
- package/computeClusterVmAntiAffinityRule.d.ts +10 -10
- package/computeClusterVmAntiAffinityRule.js +1 -0
- package/computeClusterVmAntiAffinityRule.js.map +1 -1
- package/computeClusterVmDependencyRule.d.ts +12 -12
- package/computeClusterVmDependencyRule.js +1 -0
- package/computeClusterVmDependencyRule.js.map +1 -1
- package/computeClusterVmGroup.d.ts +6 -6
- package/computeClusterVmGroup.js +1 -0
- package/computeClusterVmGroup.js.map +1 -1
- package/computeClusterVmHostRule.d.ts +14 -14
- package/computeClusterVmHostRule.js +1 -0
- package/computeClusterVmHostRule.js.map +1 -1
- package/config/index.js +11 -4
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +13 -13
- package/config/vars.js +87 -50
- package/config/vars.js.map +1 -1
- package/contentLibrary.d.ts +10 -10
- package/contentLibrary.js +1 -0
- package/contentLibrary.js.map +1 -1
- package/contentLibraryItem.d.ts +12 -12
- package/contentLibraryItem.js +1 -0
- package/contentLibraryItem.js.map +1 -1
- package/customAttribute.d.ts +4 -4
- package/customAttribute.js +1 -0
- package/customAttribute.js.map +1 -1
- package/datacenter.d.ts +9 -9
- package/datacenter.js +1 -0
- package/datacenter.js.map +1 -1
- package/datastoreCluster.d.ts +50 -50
- package/datastoreCluster.js +1 -0
- package/datastoreCluster.js.map +1 -1
- package/datastoreClusterVmAntiAffinityRule.d.ts +10 -10
- package/datastoreClusterVmAntiAffinityRule.js +1 -0
- package/datastoreClusterVmAntiAffinityRule.js.map +1 -1
- package/distributedPortGroup.d.ts +94 -94
- package/distributedPortGroup.js +1 -0
- package/distributedPortGroup.js.map +1 -1
- package/distributedVirtualSwitch.d.ts +189 -189
- package/distributedVirtualSwitch.js +1 -0
- package/distributedVirtualSwitch.js.map +1 -1
- package/dpmHostOverride.d.ts +8 -8
- package/dpmHostOverride.js +1 -0
- package/dpmHostOverride.js.map +1 -1
- package/drsVmOverride.d.ts +8 -8
- package/drsVmOverride.js +1 -0
- package/drsVmOverride.js.map +1 -1
- package/entityPermissions.d.ts +6 -6
- package/entityPermissions.js +1 -0
- package/entityPermissions.js.map +1 -1
- package/file.d.ts +14 -14
- package/file.js +1 -0
- package/file.js.map +1 -1
- package/folder.d.ts +10 -10
- package/folder.js +1 -0
- package/folder.js.map +1 -1
- package/getComputeCluster.d.ts +22 -4
- package/getComputeCluster.js +7 -2
- package/getComputeCluster.js.map +1 -1
- package/getContentLibrary.d.ts +12 -2
- package/getContentLibrary.js +6 -1
- package/getContentLibrary.js.map +1 -1
- package/getContentLibraryItem.d.ts +36 -3
- package/getContentLibraryItem.js +20 -0
- package/getContentLibraryItem.js.map +1 -1
- package/getCustomAttribute.d.ts +12 -2
- package/getCustomAttribute.js +6 -1
- package/getCustomAttribute.js.map +1 -1
- package/getDatacenter.d.ts +13 -2
- package/getDatacenter.js +6 -1
- package/getDatacenter.js.map +1 -1
- package/getDatastore.d.ts +22 -4
- package/getDatastore.js +7 -2
- package/getDatastore.js.map +1 -1
- package/getDatastoreCluster.d.ts +22 -4
- package/getDatastoreCluster.js +7 -2
- package/getDatastoreCluster.js.map +1 -1
- package/getDistributedVirtualSwitch.d.ts +23 -4
- package/getDistributedVirtualSwitch.js +7 -2
- package/getDistributedVirtualSwitch.js.map +1 -1
- package/getDynamic.d.ts +24 -3
- package/getDynamic.js +5 -0
- package/getDynamic.js.map +1 -1
- package/getFolder.d.ts +16 -2
- package/getFolder.js +6 -1
- package/getFolder.js.map +1 -1
- package/getHost.d.ts +20 -4
- package/getHost.js +7 -2
- package/getHost.js.map +1 -1
- package/getHostPciDevice.d.ts +28 -4
- package/getHostPciDevice.js +5 -0
- package/getHostPciDevice.js.map +1 -1
- package/getHostThumbprint.d.ts +24 -4
- package/getHostThumbprint.js +6 -1
- package/getHostThumbprint.js.map +1 -1
- package/getNetwork.d.ts +30 -5
- package/getNetwork.js +7 -2
- package/getNetwork.js.map +1 -1
- package/getOvfVmTemplate.d.ts +78 -14
- package/getOvfVmTemplate.js +5 -0
- package/getOvfVmTemplate.js.map +1 -1
- package/getPolicy.d.ts +12 -2
- package/getPolicy.js +6 -1
- package/getPolicy.js.map +1 -1
- package/getResourcePool.d.ts +24 -5
- package/getResourcePool.js +8 -3
- package/getResourcePool.js.map +1 -1
- package/getRole.d.ts +24 -5
- package/getRole.js +6 -1
- package/getRole.js.map +1 -1
- package/getTag.d.ts +18 -4
- package/getTag.js +7 -2
- package/getTag.js.map +1 -1
- package/getTagCategory.d.ts +12 -2
- package/getTagCategory.js +6 -1
- package/getTagCategory.js.map +1 -1
- package/getVappContainer.d.ts +20 -4
- package/getVappContainer.js +7 -2
- package/getVappContainer.js.map +1 -1
- package/getVirtualMachine.d.ts +150 -50
- package/getVirtualMachine.js +8 -2
- package/getVirtualMachine.js.map +1 -1
- package/getVmfsDisks.d.ts +28 -6
- package/getVmfsDisks.js +8 -3
- package/getVmfsDisks.js.map +1 -1
- package/haVmOverride.d.ts +30 -30
- package/haVmOverride.js +1 -0
- package/haVmOverride.js.map +1 -1
- package/host.d.ts +24 -24
- package/host.js +1 -0
- package/host.js.map +1 -1
- package/hostPortGroup.d.ts +41 -41
- package/hostPortGroup.js +5 -4
- package/hostPortGroup.js.map +1 -1
- package/hostVirtualSwitch.d.ts +42 -42
- package/hostVirtualSwitch.js +1 -0
- package/hostVirtualSwitch.js.map +1 -1
- package/index.js +74 -66
- package/index.js.map +1 -1
- package/license.d.ts +8 -8
- package/license.js +1 -0
- package/license.js.map +1 -1
- package/nasDatastore.d.ts +30 -30
- package/nasDatastore.js +1 -0
- package/nasDatastore.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +3 -2
- package/package.json.dev +4 -3
- package/provider.d.ts +45 -13
- package/provider.js +9 -8
- package/provider.js.map +1 -1
- package/resourcePool.d.ts +28 -28
- package/resourcePool.js +1 -0
- package/resourcePool.js.map +1 -1
- package/role.d.ts +5 -5
- package/role.js +1 -0
- package/role.js.map +1 -1
- package/storageDrsVmOverride.d.ts +10 -10
- package/storageDrsVmOverride.js +1 -0
- package/storageDrsVmOverride.js.map +1 -1
- package/tag.d.ts +6 -6
- package/tag.js +1 -0
- package/tag.js.map +1 -1
- package/tagCategory.d.ts +8 -8
- package/tagCategory.js +1 -0
- package/tagCategory.js.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/types/input.d.ts +5 -0
- package/utilities.js +1 -0
- package/utilities.js.map +1 -1
- package/vappContainer.d.ts +30 -30
- package/vappContainer.js +1 -0
- package/vappContainer.js.map +1 -1
- package/vappEntity.d.ts +20 -20
- package/vappEntity.js +1 -0
- package/vappEntity.js.map +1 -1
- package/virtualDisk.d.ts +14 -14
- package/virtualDisk.js +1 -0
- package/virtualDisk.js.map +1 -1
- package/virtualMachine.d.ts +185 -158
- package/virtualMachine.js +3 -0
- package/virtualMachine.js.map +1 -1
- package/virtualMachineSnapshot.d.ts +14 -14
- package/virtualMachineSnapshot.js +1 -0
- package/virtualMachineSnapshot.js.map +1 -1
- package/vmStoragePolicy.d.ts +6 -6
- package/vmStoragePolicy.js +1 -0
- package/vmStoragePolicy.js.map +1 -1
- package/vmfsDatastore.d.ts +21 -21
- package/vmfsDatastore.js +1 -0
- package/vmfsDatastore.js.map +1 -1
- package/vnic.d.ts +18 -18
- package/vnic.js +1 -0
- package/vnic.js.map +1 -1
package/getResourcePool.d.ts
CHANGED
|
@@ -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
|
-
* }
|
|
16
|
+
* }));
|
|
17
17
|
* const pool = datacenter.apply(datacenter => vsphere.getResourcePool({
|
|
18
18
|
* datacenterId: datacenter.id,
|
|
19
19
|
* name: "resource-pool-1",
|
|
20
|
-
* }
|
|
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
|
-
* }
|
|
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
|
-
|
|
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
|
-
|
|
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
|
+
}
|
package/getResourcePool.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.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
|
-
* }
|
|
22
|
+
* }));
|
|
22
23
|
* const pool = datacenter.apply(datacenter => vsphere.getResourcePool({
|
|
23
24
|
* datacenterId: datacenter.id,
|
|
24
25
|
* name: "resource-pool-1",
|
|
25
|
-
* }
|
|
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
|
-
* }
|
|
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
|
package/getResourcePool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getResourcePool.js","sourceRoot":"","sources":["../getResourcePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
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
|
-
* }
|
|
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
|
-
|
|
25
|
+
description?: string;
|
|
26
26
|
/**
|
|
27
27
|
* The label of the role.
|
|
28
28
|
*/
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
label: string;
|
|
30
|
+
name?: string;
|
|
31
31
|
/**
|
|
32
32
|
* The privileges associated with the role.
|
|
33
33
|
*/
|
|
34
|
-
|
|
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
|
-
* }
|
|
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
|
|
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
|
-
* }
|
|
20
|
+
* }));
|
|
21
21
|
* const tag = category.apply(category => vsphere.getTag({
|
|
22
22
|
* categoryId: category.id,
|
|
23
23
|
* name: "test-tag",
|
|
24
|
-
* }
|
|
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
|
-
|
|
35
|
+
categoryId: string;
|
|
36
36
|
/**
|
|
37
37
|
* The name of the tag.
|
|
38
38
|
*/
|
|
39
|
-
|
|
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
|
-
* }
|
|
26
|
+
* }));
|
|
26
27
|
* const tag = category.apply(category => vsphere.getTag({
|
|
27
28
|
* categoryId: category.id,
|
|
28
29
|
* name: "test-tag",
|
|
29
|
-
* }
|
|
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
|
|
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"}
|
package/getTagCategory.d.ts
CHANGED
|
@@ -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
|
-
* }
|
|
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
|
-
|
|
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
|
-
* }
|
|
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
|
package/getTagCategory.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTagCategory.js","sourceRoot":"","sources":["../getTagCategory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
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"}
|
package/getVappContainer.d.ts
CHANGED
|
@@ -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
|
-
* }
|
|
16
|
+
* }));
|
|
17
17
|
* const pool = datacenter.apply(datacenter => vsphere.getVappContainer({
|
|
18
18
|
* datacenterId: datacenter.id,
|
|
19
19
|
* name: "vapp-container-1",
|
|
20
|
-
* }
|
|
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
|
-
|
|
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
|
-
|
|
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
|
+
}
|
package/getVappContainer.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.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
|
-
* }
|
|
22
|
+
* }));
|
|
22
23
|
* const pool = datacenter.apply(datacenter => vsphere.getVappContainer({
|
|
23
24
|
* datacenterId: datacenter.id,
|
|
24
25
|
* name: "vapp-container-1",
|
|
25
|
-
* }
|
|
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
|
package/getVappContainer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVappContainer.js","sourceRoot":"","sources":["../getVappContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
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"}
|