@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/getContentLibrary.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
*
|
|
14
14
|
* const library = pulumi.output(vsphere.getContentLibrary({
|
|
15
15
|
* name: "Content Library Test",
|
|
16
|
-
* }
|
|
16
|
+
* }));
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
export declare function getContentLibrary(args: GetContentLibraryArgs, opts?: pulumi.InvokeOptions): Promise<GetContentLibraryResult>;
|
|
@@ -24,7 +24,7 @@ export interface GetContentLibraryArgs {
|
|
|
24
24
|
/**
|
|
25
25
|
* The name of the Content Library.
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
name: string;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* A collection of values returned by getContentLibrary.
|
|
@@ -36,3 +36,13 @@ export interface GetContentLibraryResult {
|
|
|
36
36
|
readonly id: string;
|
|
37
37
|
readonly name: string;
|
|
38
38
|
}
|
|
39
|
+
export declare function getContentLibraryOutput(args: GetContentLibraryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetContentLibraryResult>;
|
|
40
|
+
/**
|
|
41
|
+
* A collection of arguments for invoking getContentLibrary.
|
|
42
|
+
*/
|
|
43
|
+
export interface GetContentLibraryOutputArgs {
|
|
44
|
+
/**
|
|
45
|
+
* The name of the Content Library.
|
|
46
|
+
*/
|
|
47
|
+
name: pulumi.Input<string>;
|
|
48
|
+
}
|
package/getContentLibrary.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.getContentLibraryOutput = exports.getContentLibrary = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -18,7 +19,7 @@ const utilities = require("./utilities");
|
|
|
18
19
|
*
|
|
19
20
|
* const library = pulumi.output(vsphere.getContentLibrary({
|
|
20
21
|
* name: "Content Library Test",
|
|
21
|
-
* }
|
|
22
|
+
* }));
|
|
22
23
|
* ```
|
|
23
24
|
*/
|
|
24
25
|
function getContentLibrary(args, opts) {
|
|
@@ -33,4 +34,8 @@ function getContentLibrary(args, opts) {
|
|
|
33
34
|
}, opts);
|
|
34
35
|
}
|
|
35
36
|
exports.getContentLibrary = getContentLibrary;
|
|
37
|
+
function getContentLibraryOutput(args, opts) {
|
|
38
|
+
return pulumi.output(args).apply(a => getContentLibrary(a, opts));
|
|
39
|
+
}
|
|
40
|
+
exports.getContentLibraryOutput = getContentLibraryOutput;
|
|
36
41
|
//# sourceMappingURL=getContentLibrary.js.map
|
package/getContentLibrary.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getContentLibrary.js","sourceRoot":"","sources":["../getContentLibrary.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getContentLibrary.js","sourceRoot":"","sources":["../getContentLibrary.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,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,mDAAmD,EAAE;QAC9E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8CAWC;AAuBD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
|
|
@@ -4,6 +4,21 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
6
6
|
* connections.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
13
|
+
*
|
|
14
|
+
* const library = vsphere.getContentLibrary({
|
|
15
|
+
* name: "Content Library Test",
|
|
16
|
+
* });
|
|
17
|
+
* const item = library.then(library => vsphere.getContentLibraryItem({
|
|
18
|
+
* name: "Ubuntu Bionic 18.04",
|
|
19
|
+
* libraryId: library.id,
|
|
20
|
+
* }));
|
|
21
|
+
* ```
|
|
7
22
|
*/
|
|
8
23
|
export declare function getContentLibraryItem(args: GetContentLibraryItemArgs, opts?: pulumi.InvokeOptions): Promise<GetContentLibraryItemResult>;
|
|
9
24
|
/**
|
|
@@ -13,15 +28,15 @@ export interface GetContentLibraryItemArgs {
|
|
|
13
28
|
/**
|
|
14
29
|
* The ID of the Content Library the item exists in.
|
|
15
30
|
*/
|
|
16
|
-
|
|
31
|
+
libraryId: string;
|
|
17
32
|
/**
|
|
18
33
|
* The name of the Content Library.
|
|
19
34
|
*/
|
|
20
|
-
|
|
35
|
+
name: string;
|
|
21
36
|
/**
|
|
22
37
|
* The Content Library type. Can be ovf, iso, or vm-template.
|
|
23
38
|
*/
|
|
24
|
-
|
|
39
|
+
type: string;
|
|
25
40
|
}
|
|
26
41
|
/**
|
|
27
42
|
* A collection of values returned by getContentLibraryItem.
|
|
@@ -38,3 +53,21 @@ export interface GetContentLibraryItemResult {
|
|
|
38
53
|
*/
|
|
39
54
|
readonly type: string;
|
|
40
55
|
}
|
|
56
|
+
export declare function getContentLibraryItemOutput(args: GetContentLibraryItemOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetContentLibraryItemResult>;
|
|
57
|
+
/**
|
|
58
|
+
* A collection of arguments for invoking getContentLibraryItem.
|
|
59
|
+
*/
|
|
60
|
+
export interface GetContentLibraryItemOutputArgs {
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the Content Library the item exists in.
|
|
63
|
+
*/
|
|
64
|
+
libraryId: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The name of the Content Library.
|
|
67
|
+
*/
|
|
68
|
+
name: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The Content Library type. Can be ovf, iso, or vm-template.
|
|
71
|
+
*/
|
|
72
|
+
type: pulumi.Input<string>;
|
|
73
|
+
}
|
package/getContentLibraryItem.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.getContentLibraryItemOutput = exports.getContentLibraryItem = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -9,6 +10,21 @@ const utilities = require("./utilities");
|
|
|
9
10
|
*
|
|
10
11
|
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
11
12
|
* connections.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
19
|
+
*
|
|
20
|
+
* const library = vsphere.getContentLibrary({
|
|
21
|
+
* name: "Content Library Test",
|
|
22
|
+
* });
|
|
23
|
+
* const item = library.then(library => vsphere.getContentLibraryItem({
|
|
24
|
+
* name: "Ubuntu Bionic 18.04",
|
|
25
|
+
* libraryId: library.id,
|
|
26
|
+
* }));
|
|
27
|
+
* ```
|
|
12
28
|
*/
|
|
13
29
|
function getContentLibraryItem(args, opts) {
|
|
14
30
|
if (!opts) {
|
|
@@ -24,4 +40,8 @@ function getContentLibraryItem(args, opts) {
|
|
|
24
40
|
}, opts);
|
|
25
41
|
}
|
|
26
42
|
exports.getContentLibraryItem = getContentLibraryItem;
|
|
43
|
+
function getContentLibraryItemOutput(args, opts) {
|
|
44
|
+
return pulumi.output(args).apply(a => getContentLibraryItem(a, opts));
|
|
45
|
+
}
|
|
46
|
+
exports.getContentLibraryItemOutput = getContentLibraryItemOutput;
|
|
27
47
|
//# sourceMappingURL=getContentLibraryItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getContentLibraryItem.js","sourceRoot":"","sources":["../getContentLibraryItem.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getContentLibraryItem.js","sourceRoot":"","sources":["../getContentLibraryItem.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,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,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;AAbD,sDAaC;AAoCD,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,kEAEC"}
|
package/getCustomAttribute.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
*
|
|
18
18
|
* const attribute = pulumi.output(vsphere.getCustomAttribute({
|
|
19
19
|
* name: "test-attribute",
|
|
20
|
-
* }
|
|
20
|
+
* }));
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
23
|
export declare function getCustomAttribute(args: GetCustomAttributeArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomAttributeResult>;
|
|
@@ -28,7 +28,7 @@ export interface GetCustomAttributeArgs {
|
|
|
28
28
|
/**
|
|
29
29
|
* The name of the custom attribute.
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
name: string;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* A collection of values returned by getCustomAttribute.
|
|
@@ -41,3 +41,13 @@ export interface GetCustomAttributeResult {
|
|
|
41
41
|
readonly managedObjectType: string;
|
|
42
42
|
readonly name: string;
|
|
43
43
|
}
|
|
44
|
+
export declare function getCustomAttributeOutput(args: GetCustomAttributeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomAttributeResult>;
|
|
45
|
+
/**
|
|
46
|
+
* A collection of arguments for invoking getCustomAttribute.
|
|
47
|
+
*/
|
|
48
|
+
export interface GetCustomAttributeOutputArgs {
|
|
49
|
+
/**
|
|
50
|
+
* The name of the custom attribute.
|
|
51
|
+
*/
|
|
52
|
+
name: pulumi.Input<string>;
|
|
53
|
+
}
|
package/getCustomAttribute.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.getCustomAttributeOutput = exports.getCustomAttribute = 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 attribute = pulumi.output(vsphere.getCustomAttribute({
|
|
24
25
|
* name: "test-attribute",
|
|
25
|
-
* }
|
|
26
|
+
* }));
|
|
26
27
|
* ```
|
|
27
28
|
*/
|
|
28
29
|
function getCustomAttribute(args, opts) {
|
|
@@ -37,4 +38,8 @@ function getCustomAttribute(args, opts) {
|
|
|
37
38
|
}, opts);
|
|
38
39
|
}
|
|
39
40
|
exports.getCustomAttribute = getCustomAttribute;
|
|
41
|
+
function getCustomAttributeOutput(args, opts) {
|
|
42
|
+
return pulumi.output(args).apply(a => getCustomAttribute(a, opts));
|
|
43
|
+
}
|
|
44
|
+
exports.getCustomAttributeOutput = getCustomAttributeOutput;
|
|
40
45
|
//# sourceMappingURL=getCustomAttribute.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCustomAttribute.js","sourceRoot":"","sources":["../getCustomAttribute.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getCustomAttribute.js","sourceRoot":"","sources":["../getCustomAttribute.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,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,qDAAqD,EAAE;QAChF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gDAWC;AAwBD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
|
package/getDatacenter.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
*
|
|
14
14
|
* const datacenter = pulumi.output(vsphere.getDatacenter({
|
|
15
15
|
* name: "dc1",
|
|
16
|
-
* }
|
|
16
|
+
* }));
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
export declare function getDatacenter(args?: GetDatacenterArgs, opts?: pulumi.InvokeOptions): Promise<GetDatacenterResult>;
|
|
@@ -25,7 +25,7 @@ export interface GetDatacenterArgs {
|
|
|
25
25
|
* The name of the datacenter. This can be a name or path.
|
|
26
26
|
* Can be omitted if there is only one datacenter in your inventory.
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
name?: string;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* A collection of values returned by getDatacenter.
|
|
@@ -37,3 +37,14 @@ export interface GetDatacenterResult {
|
|
|
37
37
|
readonly id: string;
|
|
38
38
|
readonly name?: string;
|
|
39
39
|
}
|
|
40
|
+
export declare function getDatacenterOutput(args?: GetDatacenterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatacenterResult>;
|
|
41
|
+
/**
|
|
42
|
+
* A collection of arguments for invoking getDatacenter.
|
|
43
|
+
*/
|
|
44
|
+
export interface GetDatacenterOutputArgs {
|
|
45
|
+
/**
|
|
46
|
+
* The name of the datacenter. This can be a name or path.
|
|
47
|
+
* Can be omitted if there is only one datacenter in your inventory.
|
|
48
|
+
*/
|
|
49
|
+
name?: pulumi.Input<string>;
|
|
50
|
+
}
|
package/getDatacenter.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.getDatacenterOutput = exports.getDatacenter = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -18,7 +19,7 @@ const utilities = require("./utilities");
|
|
|
18
19
|
*
|
|
19
20
|
* const datacenter = pulumi.output(vsphere.getDatacenter({
|
|
20
21
|
* name: "dc1",
|
|
21
|
-
* }
|
|
22
|
+
* }));
|
|
22
23
|
* ```
|
|
23
24
|
*/
|
|
24
25
|
function getDatacenter(args, opts) {
|
|
@@ -34,4 +35,8 @@ function getDatacenter(args, opts) {
|
|
|
34
35
|
}, opts);
|
|
35
36
|
}
|
|
36
37
|
exports.getDatacenter = getDatacenter;
|
|
38
|
+
function getDatacenterOutput(args, opts) {
|
|
39
|
+
return pulumi.output(args).apply(a => getDatacenter(a, opts));
|
|
40
|
+
}
|
|
41
|
+
exports.getDatacenterOutput = getDatacenterOutput;
|
|
37
42
|
//# sourceMappingURL=getDatacenter.js.map
|
package/getDatacenter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatacenter.js","sourceRoot":"","sources":["../getDatacenter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getDatacenter.js","sourceRoot":"","sources":["../getDatacenter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,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,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,sCAYC;AAwBD,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
package/getDatastore.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 datastore = datacenter.apply(datacenter => vsphere.getDatastore({
|
|
18
18
|
* datacenterId: datacenter.id,
|
|
19
19
|
* name: "datastore1",
|
|
20
|
-
* }
|
|
20
|
+
* }));
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
23
|
export declare function getDatastore(args: GetDatastoreArgs, opts?: pulumi.InvokeOptions): Promise<GetDatastoreResult>;
|
|
@@ -32,11 +32,11 @@ export interface GetDatastoreArgs {
|
|
|
32
32
|
* default datacenters, use the id attribute from an empty `vsphere.Datacenter`
|
|
33
33
|
* data source.
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
datacenterId?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The name of the datastore. This can be a name or path.
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
name: string;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* A collection of values returned by getDatastore.
|
|
@@ -49,3 +49,21 @@ export interface GetDatastoreResult {
|
|
|
49
49
|
readonly id: string;
|
|
50
50
|
readonly name: string;
|
|
51
51
|
}
|
|
52
|
+
export declare function getDatastoreOutput(args: GetDatastoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatastoreResult>;
|
|
53
|
+
/**
|
|
54
|
+
* A collection of arguments for invoking getDatastore.
|
|
55
|
+
*/
|
|
56
|
+
export interface GetDatastoreOutputArgs {
|
|
57
|
+
/**
|
|
58
|
+
* The managed object reference
|
|
59
|
+
* ID of the datacenter the datastore is located in. This
|
|
60
|
+
* can be omitted if the search path used in `name` is an absolute path. For
|
|
61
|
+
* default datacenters, use the id attribute from an empty `vsphere.Datacenter`
|
|
62
|
+
* data source.
|
|
63
|
+
*/
|
|
64
|
+
datacenterId?: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The name of the datastore. This can be a name or path.
|
|
67
|
+
*/
|
|
68
|
+
name: pulumi.Input<string>;
|
|
69
|
+
}
|
package/getDatastore.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.getDatastoreOutput = exports.getDatastore = 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 datastore = datacenter.apply(datacenter => vsphere.getDatastore({
|
|
23
24
|
* datacenterId: datacenter.id,
|
|
24
25
|
* name: "datastore1",
|
|
25
|
-
* }
|
|
26
|
+
* }));
|
|
26
27
|
* ```
|
|
27
28
|
*/
|
|
28
29
|
function getDatastore(args, opts) {
|
|
@@ -38,4 +39,8 @@ function getDatastore(args, opts) {
|
|
|
38
39
|
}, opts);
|
|
39
40
|
}
|
|
40
41
|
exports.getDatastore = getDatastore;
|
|
42
|
+
function getDatastoreOutput(args, opts) {
|
|
43
|
+
return pulumi.output(args).apply(a => getDatastore(a, opts));
|
|
44
|
+
}
|
|
45
|
+
exports.getDatastoreOutput = getDatastoreOutput;
|
|
41
46
|
//# sourceMappingURL=getDatastore.js.map
|
package/getDatastore.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatastore.js","sourceRoot":"","sources":["../getDatastore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getDatastore.js","sourceRoot":"","sources":["../getDatastore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,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,yCAAyC,EAAE;QACpE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,oCAYC;AAgCD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
|
package/getDatastoreCluster.d.ts
CHANGED
|
@@ -16,11 +16,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
*
|
|
17
17
|
* const datacenter = pulumi.output(vsphere.getDatacenter({
|
|
18
18
|
* name: "dc1",
|
|
19
|
-
* }
|
|
19
|
+
* }));
|
|
20
20
|
* const datastoreCluster = vsphere_datacenter_dc.id.apply(id => vsphere.getDatastoreCluster({
|
|
21
21
|
* datacenterId: id,
|
|
22
22
|
* name: "datastore-cluster1",
|
|
23
|
-
* }
|
|
23
|
+
* }));
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
26
|
export declare function getDatastoreCluster(args: GetDatastoreClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetDatastoreClusterResult>;
|
|
@@ -35,11 +35,11 @@ export interface GetDatastoreClusterArgs {
|
|
|
35
35
|
* For default datacenters, use the id attribute from an empty
|
|
36
36
|
* `vsphere.Datacenter` data source.
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
datacenterId?: string;
|
|
39
39
|
/**
|
|
40
40
|
* The name or absolute path to the datastore cluster.
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
name: string;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* A collection of values returned by getDatastoreCluster.
|
|
@@ -52,3 +52,21 @@ export interface GetDatastoreClusterResult {
|
|
|
52
52
|
readonly id: string;
|
|
53
53
|
readonly name: string;
|
|
54
54
|
}
|
|
55
|
+
export declare function getDatastoreClusterOutput(args: GetDatastoreClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatastoreClusterResult>;
|
|
56
|
+
/**
|
|
57
|
+
* A collection of arguments for invoking getDatastoreCluster.
|
|
58
|
+
*/
|
|
59
|
+
export interface GetDatastoreClusterOutputArgs {
|
|
60
|
+
/**
|
|
61
|
+
* The managed object reference
|
|
62
|
+
* ID of the datacenter the datastore cluster is located in.
|
|
63
|
+
* This can be omitted if the search path used in `name` is an absolute path.
|
|
64
|
+
* For default datacenters, use the id attribute from an empty
|
|
65
|
+
* `vsphere.Datacenter` data source.
|
|
66
|
+
*/
|
|
67
|
+
datacenterId?: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The name or absolute path to the datastore cluster.
|
|
70
|
+
*/
|
|
71
|
+
name: pulumi.Input<string>;
|
|
72
|
+
}
|
package/getDatastoreCluster.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.getDatastoreClusterOutput = exports.getDatastoreCluster = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -21,11 +22,11 @@ const utilities = require("./utilities");
|
|
|
21
22
|
*
|
|
22
23
|
* const datacenter = pulumi.output(vsphere.getDatacenter({
|
|
23
24
|
* name: "dc1",
|
|
24
|
-
* }
|
|
25
|
+
* }));
|
|
25
26
|
* const datastoreCluster = vsphere_datacenter_dc.id.apply(id => vsphere.getDatastoreCluster({
|
|
26
27
|
* datacenterId: id,
|
|
27
28
|
* name: "datastore-cluster1",
|
|
28
|
-
* }
|
|
29
|
+
* }));
|
|
29
30
|
* ```
|
|
30
31
|
*/
|
|
31
32
|
function getDatastoreCluster(args, opts) {
|
|
@@ -41,4 +42,8 @@ function getDatastoreCluster(args, opts) {
|
|
|
41
42
|
}, opts);
|
|
42
43
|
}
|
|
43
44
|
exports.getDatastoreCluster = getDatastoreCluster;
|
|
45
|
+
function getDatastoreClusterOutput(args, opts) {
|
|
46
|
+
return pulumi.output(args).apply(a => getDatastoreCluster(a, opts));
|
|
47
|
+
}
|
|
48
|
+
exports.getDatastoreClusterOutput = getDatastoreClusterOutput;
|
|
44
49
|
//# sourceMappingURL=getDatastoreCluster.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatastoreCluster.js","sourceRoot":"","sources":["../getDatastoreCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getDatastoreCluster.js","sourceRoot":"","sources":["../getDatastoreCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,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,uDAAuD,EAAE;QAClF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,kDAYC;AAgCD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,8DAEC"}
|
|
@@ -22,11 +22,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
22
22
|
*
|
|
23
23
|
* const datacenter = pulumi.output(vsphere.getDatacenter({
|
|
24
24
|
* name: "dc1",
|
|
25
|
-
* }
|
|
25
|
+
* }));
|
|
26
26
|
* const dvs = datacenter.apply(datacenter => vsphere.getDistributedVirtualSwitch({
|
|
27
27
|
* datacenterId: datacenter.id,
|
|
28
28
|
* name: "test-dvs",
|
|
29
|
-
* }
|
|
29
|
+
* }));
|
|
30
30
|
* const pg = new vsphere.DistributedPortGroup("pg", {
|
|
31
31
|
* activeUplinks: [dvs.apply(dvs => dvs.uplinks[0])],
|
|
32
32
|
* distributedVirtualSwitchUuid: dvs.id,
|
|
@@ -46,12 +46,12 @@ export interface GetDistributedVirtualSwitchArgs {
|
|
|
46
46
|
* datacenters, use the id attribute from an empty `vsphere.Datacenter` data
|
|
47
47
|
* source.
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
datacenterId?: string;
|
|
50
50
|
/**
|
|
51
51
|
* The name of the distributed virtual switch. This can be a
|
|
52
52
|
* name or path.
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
name: string;
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* A collection of values returned by getDistributedVirtualSwitch.
|
|
@@ -65,3 +65,22 @@ export interface GetDistributedVirtualSwitchResult {
|
|
|
65
65
|
readonly name: string;
|
|
66
66
|
readonly uplinks: string[];
|
|
67
67
|
}
|
|
68
|
+
export declare function getDistributedVirtualSwitchOutput(args: GetDistributedVirtualSwitchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDistributedVirtualSwitchResult>;
|
|
69
|
+
/**
|
|
70
|
+
* A collection of arguments for invoking getDistributedVirtualSwitch.
|
|
71
|
+
*/
|
|
72
|
+
export interface GetDistributedVirtualSwitchOutputArgs {
|
|
73
|
+
/**
|
|
74
|
+
* The managed object reference
|
|
75
|
+
* ID of the datacenter the DVS is located in. This can be
|
|
76
|
+
* omitted if the search path used in `name` is an absolute path. For default
|
|
77
|
+
* datacenters, use the id attribute from an empty `vsphere.Datacenter` data
|
|
78
|
+
* source.
|
|
79
|
+
*/
|
|
80
|
+
datacenterId?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The name of the distributed virtual switch. This can be a
|
|
83
|
+
* name or path.
|
|
84
|
+
*/
|
|
85
|
+
name: pulumi.Input<string>;
|
|
86
|
+
}
|
|
@@ -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.getDistributedVirtualSwitchOutput = exports.getDistributedVirtualSwitch = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -27,11 +28,11 @@ const utilities = require("./utilities");
|
|
|
27
28
|
*
|
|
28
29
|
* const datacenter = pulumi.output(vsphere.getDatacenter({
|
|
29
30
|
* name: "dc1",
|
|
30
|
-
* }
|
|
31
|
+
* }));
|
|
31
32
|
* const dvs = datacenter.apply(datacenter => vsphere.getDistributedVirtualSwitch({
|
|
32
33
|
* datacenterId: datacenter.id,
|
|
33
34
|
* name: "test-dvs",
|
|
34
|
-
* }
|
|
35
|
+
* }));
|
|
35
36
|
* const pg = new vsphere.DistributedPortGroup("pg", {
|
|
36
37
|
* activeUplinks: [dvs.apply(dvs => dvs.uplinks[0])],
|
|
37
38
|
* distributedVirtualSwitchUuid: dvs.id,
|
|
@@ -52,4 +53,8 @@ function getDistributedVirtualSwitch(args, opts) {
|
|
|
52
53
|
}, opts);
|
|
53
54
|
}
|
|
54
55
|
exports.getDistributedVirtualSwitch = getDistributedVirtualSwitch;
|
|
56
|
+
function getDistributedVirtualSwitchOutput(args, opts) {
|
|
57
|
+
return pulumi.output(args).apply(a => getDistributedVirtualSwitch(a, opts));
|
|
58
|
+
}
|
|
59
|
+
exports.getDistributedVirtualSwitchOutput = getDistributedVirtualSwitchOutput;
|
|
55
60
|
//# sourceMappingURL=getDistributedVirtualSwitch.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDistributedVirtualSwitch.js","sourceRoot":"","sources":["../getDistributedVirtualSwitch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getDistributedVirtualSwitch.js","sourceRoot":"","sources":["../getDistributedVirtualSwitch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,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,uEAAuE,EAAE;QAClG,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,kEAYC;AAkCD,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,2BAA2B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,8EAEC"}
|
package/getDynamic.d.ts
CHANGED
|
@@ -43,17 +43,17 @@ export interface GetDynamicArgs {
|
|
|
43
43
|
* A list of tag IDs that must be present on an object to
|
|
44
44
|
* be a match.
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
filters: string[];
|
|
47
47
|
/**
|
|
48
48
|
* A regular expression that will be used to match
|
|
49
49
|
* the object's name.
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
nameRegex?: string;
|
|
52
52
|
/**
|
|
53
53
|
* The managed object type the returned object must match.
|
|
54
54
|
* For a full list, click [here](https://code.vmware.com/apis/196/vsphere).
|
|
55
55
|
*/
|
|
56
|
-
|
|
56
|
+
type?: string;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* A collection of values returned by getDynamic.
|
|
@@ -67,3 +67,24 @@ export interface GetDynamicResult {
|
|
|
67
67
|
readonly nameRegex?: string;
|
|
68
68
|
readonly type?: string;
|
|
69
69
|
}
|
|
70
|
+
export declare function getDynamicOutput(args: GetDynamicOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDynamicResult>;
|
|
71
|
+
/**
|
|
72
|
+
* A collection of arguments for invoking getDynamic.
|
|
73
|
+
*/
|
|
74
|
+
export interface GetDynamicOutputArgs {
|
|
75
|
+
/**
|
|
76
|
+
* A list of tag IDs that must be present on an object to
|
|
77
|
+
* be a match.
|
|
78
|
+
*/
|
|
79
|
+
filters: pulumi.Input<pulumi.Input<string>[]>;
|
|
80
|
+
/**
|
|
81
|
+
* A regular expression that will be used to match
|
|
82
|
+
* the object's name.
|
|
83
|
+
*/
|
|
84
|
+
nameRegex?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The managed object type the returned object must match.
|
|
87
|
+
* For a full list, click [here](https://code.vmware.com/apis/196/vsphere).
|
|
88
|
+
*/
|
|
89
|
+
type?: pulumi.Input<string>;
|
|
90
|
+
}
|
package/getDynamic.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.getDynamicOutput = exports.getDynamic = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -53,4 +54,8 @@ function getDynamic(args, opts) {
|
|
|
53
54
|
}, opts);
|
|
54
55
|
}
|
|
55
56
|
exports.getDynamic = getDynamic;
|
|
57
|
+
function getDynamicOutput(args, opts) {
|
|
58
|
+
return pulumi.output(args).apply(a => getDynamic(a, opts));
|
|
59
|
+
}
|
|
60
|
+
exports.getDynamicOutput = getDynamicOutput;
|
|
56
61
|
//# sourceMappingURL=getDynamic.js.map
|
package/getDynamic.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDynamic.js","sourceRoot":"","sources":["../getDynamic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getDynamic.js","sourceRoot":"","sources":["../getDynamic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,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,qCAAqC,EAAE;QAChE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,gCAaC;AAoCD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
|