@pulumi/vsphere 4.11.2 → 4.11.3-alpha.1727724971
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/computeCluster.d.ts +89 -0
- package/computeCluster.js +89 -0
- package/computeCluster.js.map +1 -1
- package/computeClusterHostGroup.d.ts +32 -0
- package/computeClusterHostGroup.js +32 -0
- package/computeClusterHostGroup.js.map +1 -1
- package/computeClusterVmAffinityRule.d.ts +12 -1
- package/computeClusterVmAffinityRule.js +12 -1
- package/computeClusterVmAffinityRule.js.map +1 -1
- package/computeClusterVmAntiAffinityRule.d.ts +19 -0
- package/computeClusterVmAntiAffinityRule.js +19 -0
- package/computeClusterVmAntiAffinityRule.js.map +1 -1
- package/computeClusterVmDependencyRule.d.ts +114 -0
- package/computeClusterVmDependencyRule.js +114 -0
- package/computeClusterVmDependencyRule.js.map +1 -1
- package/computeClusterVmGroup.d.ts +91 -0
- package/computeClusterVmGroup.js +91 -0
- package/computeClusterVmGroup.js.map +1 -1
- package/computeClusterVmHostRule.d.ts +35 -0
- package/computeClusterVmHostRule.js +35 -0
- package/computeClusterVmHostRule.js.map +1 -1
- package/contentLibrary.d.ts +60 -0
- package/contentLibrary.js +60 -0
- package/contentLibrary.js.map +1 -1
- package/contentLibraryItem.d.ts +85 -0
- package/contentLibraryItem.js +85 -0
- package/contentLibraryItem.js.map +1 -1
- package/customAttribute.d.ts +38 -0
- package/customAttribute.js +38 -0
- package/customAttribute.js.map +1 -1
- package/datacenter.d.ts +7 -2
- package/datacenter.js +7 -2
- package/datacenter.js.map +1 -1
- package/datastoreCluster.d.ts +30 -0
- package/datastoreCluster.js +30 -0
- package/datastoreCluster.js.map +1 -1
- package/datastoreClusterVmAntiAffinityRule.d.ts +89 -0
- package/datastoreClusterVmAntiAffinityRule.js +89 -0
- package/datastoreClusterVmAntiAffinityRule.js.map +1 -1
- package/distributedPortGroup.d.ts +145 -0
- package/distributedPortGroup.js +145 -0
- package/distributedPortGroup.js.map +1 -1
- package/distributedVirtualSwitch.d.ts +131 -0
- package/distributedVirtualSwitch.js +131 -0
- package/distributedVirtualSwitch.js.map +1 -1
- package/dpmHostOverride.d.ts +30 -0
- package/dpmHostOverride.js +30 -0
- package/dpmHostOverride.js.map +1 -1
- package/drsVmOverride.d.ts +32 -0
- package/drsVmOverride.js +32 -0
- package/drsVmOverride.js.map +1 -1
- package/folder.d.ts +72 -0
- package/folder.js +72 -0
- package/folder.js.map +1 -1
- package/getComputeCluster.js +5 -1
- package/getComputeCluster.js.map +1 -1
- package/getComputeClusterHostGroup.d.ts +2 -2
- package/getComputeClusterHostGroup.js +7 -3
- package/getComputeClusterHostGroup.js.map +1 -1
- package/getContentLibrary.js +4 -1
- package/getContentLibrary.js.map +1 -1
- package/getContentLibraryItem.js +6 -1
- package/getContentLibraryItem.js.map +1 -1
- package/getCustomAttribute.js +4 -1
- package/getCustomAttribute.js.map +1 -1
- package/getDatacenter.js +5 -1
- package/getDatacenter.js.map +1 -1
- package/getDatastore.js +6 -1
- package/getDatastore.js.map +1 -1
- package/getDatastoreCluster.js +5 -1
- package/getDatastoreCluster.js.map +1 -1
- package/getDatastoreStats.js +6 -1
- package/getDatastoreStats.js.map +1 -1
- package/getDistributedVirtualSwitch.js +5 -1
- package/getDistributedVirtualSwitch.js.map +1 -1
- package/getDynamic.js +6 -1
- package/getDynamic.js.map +1 -1
- package/getFolder.js +4 -1
- package/getFolder.js.map +1 -1
- package/getGuestOsCustomization.js +4 -1
- package/getGuestOsCustomization.js.map +1 -1
- package/getHost.js +5 -1
- package/getHost.js.map +1 -1
- package/getHostBaseImages.js +2 -1
- package/getHostBaseImages.js.map +1 -1
- package/getHostPciDevice.js +7 -1
- package/getHostPciDevice.js.map +1 -1
- package/getHostThumbprint.js +6 -1
- package/getHostThumbprint.js.map +1 -1
- package/getHostVgpuProfile.js +5 -1
- package/getHostVgpuProfile.js.map +1 -1
- package/getLicense.js +4 -1
- package/getLicense.js.map +1 -1
- package/getNetwork.js +6 -1
- package/getNetwork.js.map +1 -1
- package/getOvfVmTemplate.js +17 -1
- package/getOvfVmTemplate.js.map +1 -1
- package/getPolicy.js +4 -1
- package/getPolicy.js.map +1 -1
- package/getResourcePool.js +6 -1
- package/getResourcePool.js.map +1 -1
- package/getRole.js +7 -1
- package/getRole.js.map +1 -1
- package/getTag.js +5 -1
- package/getTag.js.map +1 -1
- package/getTagCategory.js +4 -1
- package/getTagCategory.js.map +1 -1
- package/getVappContainer.js +5 -1
- package/getVappContainer.js.map +1 -1
- package/getVirtualMachine.js +59 -1
- package/getVirtualMachine.js.map +1 -1
- package/getVmfsDisks.js +6 -1
- package/getVmfsDisks.js.map +1 -1
- package/haVmOverride.d.ts +90 -0
- package/haVmOverride.js +90 -0
- package/haVmOverride.js.map +1 -1
- package/host.d.ts +131 -0
- package/host.js +131 -0
- package/host.js.map +1 -1
- package/hostPortGroup.d.ts +6 -1
- package/hostPortGroup.js +6 -1
- package/hostPortGroup.js.map +1 -1
- package/hostVirtualSwitch.d.ts +33 -0
- package/hostVirtualSwitch.js +33 -0
- package/hostVirtualSwitch.js.map +1 -1
- package/nasDatastore.d.ts +32 -0
- package/nasDatastore.js +32 -0
- package/nasDatastore.js.map +1 -1
- package/package.json +2 -2
- package/resourcePool.d.ts +2 -8
- package/resourcePool.js +2 -8
- package/resourcePool.js.map +1 -1
- package/role.d.ts +15 -0
- package/role.js +15 -0
- package/role.js.map +1 -1
- package/storageDrsVmOverride.d.ts +77 -0
- package/storageDrsVmOverride.js +77 -0
- package/storageDrsVmOverride.js.map +1 -1
- package/tag.d.ts +82 -0
- package/tag.js +82 -0
- package/tag.js.map +1 -1
- package/tagCategory.d.ts +41 -0
- package/tagCategory.js +41 -0
- package/tagCategory.js.map +1 -1
- package/vappContainer.d.ts +95 -0
- package/vappContainer.js +95 -0
- package/vappContainer.js.map +1 -1
- package/vappEntity.d.ts +79 -0
- package/vappEntity.js +79 -0
- package/vappEntity.js.map +1 -1
- package/virtualDisk.d.ts +44 -0
- package/virtualDisk.js +44 -0
- package/virtualDisk.js.map +1 -1
- package/virtualMachine.d.ts +25 -0
- package/virtualMachine.js +25 -0
- package/virtualMachine.js.map +1 -1
- package/vmfsDatastore.d.ts +144 -0
- package/vmfsDatastore.js +144 -0
- package/vmfsDatastore.js.map +1 -1
- package/vnic.d.ts +7 -2
- package/vnic.js +7 -2
- package/vnic.js.map +1 -1
package/contentLibraryItem.d.ts
CHANGED
|
@@ -1,4 +1,89 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The `vsphere.ContentLibraryItem` resource can be used to create items in a
|
|
4
|
+
* vSphere content library. The `fileUrl` must be accessible from the vSphere
|
|
5
|
+
* environment as it will be downloaded from the specified location and stored
|
|
6
|
+
* on the content library's storage backing.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* The first example below imports an OVF Template to a content
|
|
11
|
+
* library.
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
16
|
+
*
|
|
17
|
+
* const datacenter = vsphere.getDatacenter({
|
|
18
|
+
* name: "dc-01",
|
|
19
|
+
* });
|
|
20
|
+
* const contentLibrary = vsphere.getContentLibrary({
|
|
21
|
+
* name: "clb-01",
|
|
22
|
+
* });
|
|
23
|
+
* const contentLibraryItem = new vsphere.ContentLibraryItem("content_library_item", {
|
|
24
|
+
* name: "ovf-linux-ubuntu-server-lts",
|
|
25
|
+
* description: "Ubuntu Server LTS OVF Template",
|
|
26
|
+
* fileUrl: "https://releases.example.com/ubuntu/ubuntu/ubuntu-live-server-amd64.ovf",
|
|
27
|
+
* libraryId: contentLibrary.then(contentLibrary => contentLibrary.id),
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* The next example imports an .iso image to a content library.
|
|
32
|
+
*
|
|
33
|
+
* [tf-vsphere-vm-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
38
|
+
*
|
|
39
|
+
* const datacenter = vsphere.getDatacenter({
|
|
40
|
+
* name: "dc-01",
|
|
41
|
+
* });
|
|
42
|
+
* const contentLibrary = vsphere.getContentLibrary({
|
|
43
|
+
* name: "clb-01",
|
|
44
|
+
* });
|
|
45
|
+
* const contentLibraryItem = new vsphere.ContentLibraryItem("content_library_item", {
|
|
46
|
+
* name: "iso-linux-ubuntu-server-lts",
|
|
47
|
+
* description: "Ubuntu Server LTS .iso",
|
|
48
|
+
* type: "iso",
|
|
49
|
+
* fileUrl: "https://releases.example.com/ubuntu/ubuntu-live-server-amd64.iso",
|
|
50
|
+
* libraryId: contentLibrary.then(contentLibrary => contentLibrary.id),
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* The last example imports a virtual machine image to a content library from an
|
|
55
|
+
* existing virtual machine.
|
|
56
|
+
*
|
|
57
|
+
* [tf-vsphere-vm-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
62
|
+
*
|
|
63
|
+
* const datacenter = vsphere.getDatacenter({
|
|
64
|
+
* name: "dc-01",
|
|
65
|
+
* });
|
|
66
|
+
* const contentLibrary = vsphere.getContentLibrary({
|
|
67
|
+
* name: "clb-01",
|
|
68
|
+
* });
|
|
69
|
+
* const contentLibraryItem = new vsphere.ContentLibraryItem("content_library_item", {
|
|
70
|
+
* name: "tpl-linux-ubuntu-server-lts",
|
|
71
|
+
* description: "Ubuntu Server LTS",
|
|
72
|
+
* sourceUuid: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
|
|
73
|
+
* libraryId: contentLibrary.then(contentLibrary => contentLibrary.id),
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* ## Import
|
|
78
|
+
*
|
|
79
|
+
* An existing content library item can be imported into this resource by
|
|
80
|
+
*
|
|
81
|
+
* supplying the content library ID. An example is below:
|
|
82
|
+
*
|
|
83
|
+
* ```sh
|
|
84
|
+
* $ pulumi import vsphere:index/contentLibraryItem:ContentLibraryItem vsphere_content_library_item iso-linux-ubuntu-server-lts xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
2
87
|
export declare class ContentLibraryItem extends pulumi.CustomResource {
|
|
3
88
|
/**
|
|
4
89
|
* Get an existing ContentLibraryItem resource's state with the given name, ID, and optional extra
|
package/contentLibraryItem.js
CHANGED
|
@@ -5,6 +5,91 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.ContentLibraryItem = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The `vsphere.ContentLibraryItem` resource can be used to create items in a
|
|
10
|
+
* vSphere content library. The `fileUrl` must be accessible from the vSphere
|
|
11
|
+
* environment as it will be downloaded from the specified location and stored
|
|
12
|
+
* on the content library's storage backing.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* The first example below imports an OVF Template to a content
|
|
17
|
+
* library.
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
22
|
+
*
|
|
23
|
+
* const datacenter = vsphere.getDatacenter({
|
|
24
|
+
* name: "dc-01",
|
|
25
|
+
* });
|
|
26
|
+
* const contentLibrary = vsphere.getContentLibrary({
|
|
27
|
+
* name: "clb-01",
|
|
28
|
+
* });
|
|
29
|
+
* const contentLibraryItem = new vsphere.ContentLibraryItem("content_library_item", {
|
|
30
|
+
* name: "ovf-linux-ubuntu-server-lts",
|
|
31
|
+
* description: "Ubuntu Server LTS OVF Template",
|
|
32
|
+
* fileUrl: "https://releases.example.com/ubuntu/ubuntu/ubuntu-live-server-amd64.ovf",
|
|
33
|
+
* libraryId: contentLibrary.then(contentLibrary => contentLibrary.id),
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* The next example imports an .iso image to a content library.
|
|
38
|
+
*
|
|
39
|
+
* [tf-vsphere-vm-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
44
|
+
*
|
|
45
|
+
* const datacenter = vsphere.getDatacenter({
|
|
46
|
+
* name: "dc-01",
|
|
47
|
+
* });
|
|
48
|
+
* const contentLibrary = vsphere.getContentLibrary({
|
|
49
|
+
* name: "clb-01",
|
|
50
|
+
* });
|
|
51
|
+
* const contentLibraryItem = new vsphere.ContentLibraryItem("content_library_item", {
|
|
52
|
+
* name: "iso-linux-ubuntu-server-lts",
|
|
53
|
+
* description: "Ubuntu Server LTS .iso",
|
|
54
|
+
* type: "iso",
|
|
55
|
+
* fileUrl: "https://releases.example.com/ubuntu/ubuntu-live-server-amd64.iso",
|
|
56
|
+
* libraryId: contentLibrary.then(contentLibrary => contentLibrary.id),
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* The last example imports a virtual machine image to a content library from an
|
|
61
|
+
* existing virtual machine.
|
|
62
|
+
*
|
|
63
|
+
* [tf-vsphere-vm-resource]: /docs/providers/vsphere/r/virtual_machine.html
|
|
64
|
+
*
|
|
65
|
+
* ```typescript
|
|
66
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
67
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
68
|
+
*
|
|
69
|
+
* const datacenter = vsphere.getDatacenter({
|
|
70
|
+
* name: "dc-01",
|
|
71
|
+
* });
|
|
72
|
+
* const contentLibrary = vsphere.getContentLibrary({
|
|
73
|
+
* name: "clb-01",
|
|
74
|
+
* });
|
|
75
|
+
* const contentLibraryItem = new vsphere.ContentLibraryItem("content_library_item", {
|
|
76
|
+
* name: "tpl-linux-ubuntu-server-lts",
|
|
77
|
+
* description: "Ubuntu Server LTS",
|
|
78
|
+
* sourceUuid: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
|
|
79
|
+
* libraryId: contentLibrary.then(contentLibrary => contentLibrary.id),
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* ## Import
|
|
84
|
+
*
|
|
85
|
+
* An existing content library item can be imported into this resource by
|
|
86
|
+
*
|
|
87
|
+
* supplying the content library ID. An example is below:
|
|
88
|
+
*
|
|
89
|
+
* ```sh
|
|
90
|
+
* $ pulumi import vsphere:index/contentLibraryItem:ContentLibraryItem vsphere_content_library_item iso-linux-ubuntu-server-lts xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
8
93
|
class ContentLibraryItem extends pulumi.CustomResource {
|
|
9
94
|
/**
|
|
10
95
|
* Get an existing ContentLibraryItem resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contentLibraryItem.js","sourceRoot":"","sources":["../contentLibraryItem.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,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,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAvFL,gDAwFC;AA1EG,gBAAgB;AACO,+BAAY,GAAG,qDAAqD,CAAC"}
|
package/customAttribute.d.ts
CHANGED
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The `vsphere.CustomAttribute` resource can be used to create and manage custom
|
|
4
|
+
* attributes, which allow users to associate user-specific meta-information with
|
|
5
|
+
* vSphere managed objects. Custom attribute values must be strings and are stored
|
|
6
|
+
* on the vCenter Server and not the managed object.
|
|
7
|
+
*
|
|
8
|
+
* For more information about custom attributes, click [here][ext-custom-attributes].
|
|
9
|
+
*
|
|
10
|
+
* [ext-custom-attributes]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vcenter-esxi-management/GUID-73606C4C-763C-4E27-A1DA-032E4C46219D.html
|
|
11
|
+
*
|
|
12
|
+
* > **NOTE:** Custom attributes are unsupported on direct ESXi host connections
|
|
13
|
+
* and require vCenter Server.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* This example creates a custom attribute named `test-attribute`. The
|
|
18
|
+
* resulting custom attribute can be assigned to VMs only.
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
23
|
+
*
|
|
24
|
+
* const attribute = new vsphere.CustomAttribute("attribute", {
|
|
25
|
+
* name: "test-attribute",
|
|
26
|
+
* managedObjectType: "VirtualMachine",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* An existing custom attribute can be imported into this resource
|
|
33
|
+
*
|
|
34
|
+
* via its name, using the following command:
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import vsphere:index/customAttribute:CustomAttribute attribute terraform-test-attribute
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
2
40
|
export declare class CustomAttribute extends pulumi.CustomResource {
|
|
3
41
|
/**
|
|
4
42
|
* Get an existing CustomAttribute resource's state with the given name, ID, and optional extra
|
package/customAttribute.js
CHANGED
|
@@ -5,6 +5,44 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.CustomAttribute = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The `vsphere.CustomAttribute` resource can be used to create and manage custom
|
|
10
|
+
* attributes, which allow users to associate user-specific meta-information with
|
|
11
|
+
* vSphere managed objects. Custom attribute values must be strings and are stored
|
|
12
|
+
* on the vCenter Server and not the managed object.
|
|
13
|
+
*
|
|
14
|
+
* For more information about custom attributes, click [here][ext-custom-attributes].
|
|
15
|
+
*
|
|
16
|
+
* [ext-custom-attributes]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vcenter-esxi-management/GUID-73606C4C-763C-4E27-A1DA-032E4C46219D.html
|
|
17
|
+
*
|
|
18
|
+
* > **NOTE:** Custom attributes are unsupported on direct ESXi host connections
|
|
19
|
+
* and require vCenter Server.
|
|
20
|
+
*
|
|
21
|
+
* ## Example Usage
|
|
22
|
+
*
|
|
23
|
+
* This example creates a custom attribute named `test-attribute`. The
|
|
24
|
+
* resulting custom attribute can be assigned to VMs only.
|
|
25
|
+
*
|
|
26
|
+
* ```typescript
|
|
27
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
28
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
29
|
+
*
|
|
30
|
+
* const attribute = new vsphere.CustomAttribute("attribute", {
|
|
31
|
+
* name: "test-attribute",
|
|
32
|
+
* managedObjectType: "VirtualMachine",
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* An existing custom attribute can be imported into this resource
|
|
39
|
+
*
|
|
40
|
+
* via its name, using the following command:
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import vsphere:index/customAttribute:CustomAttribute attribute terraform-test-attribute
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
8
46
|
class CustomAttribute extends pulumi.CustomResource {
|
|
9
47
|
/**
|
|
10
48
|
* Get an existing CustomAttribute resource's state with the given name, ID, and optional extra
|
package/customAttribute.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customAttribute.js","sourceRoot":"","sources":["../customAttribute.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAqBD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,C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|
+
* An existing datacenter can be imported into this resource
|
|
30
32
|
*
|
|
31
|
-
* An existing datacenter can be [imported][docs-import] into this resource
|
|
32
33
|
* via supplying the full path to the datacenter. An example is below:
|
|
33
34
|
*
|
|
34
35
|
* [docs-import]: /docs/import/index.html
|
|
35
36
|
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import vsphere:index/datacenter:Datacenter dc /dc1
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
36
41
|
* The above would import the datacenter named `dc1`.
|
|
37
42
|
*/
|
|
38
43
|
export declare class Datacenter extends pulumi.CustomResource {
|
package/datacenter.js
CHANGED
|
@@ -32,13 +32,18 @@ const utilities = require("./utilities");
|
|
|
32
32
|
* });
|
|
33
33
|
* ```
|
|
34
34
|
*
|
|
35
|
-
* ##
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* An existing datacenter can be imported into this resource
|
|
36
38
|
*
|
|
37
|
-
* An existing datacenter can be [imported][docs-import] into this resource
|
|
38
39
|
* via supplying the full path to the datacenter. An example is below:
|
|
39
40
|
*
|
|
40
41
|
* [docs-import]: /docs/import/index.html
|
|
41
42
|
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import vsphere:index/datacenter:Datacenter dc /dc1
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
42
47
|
* The above would import the datacenter named `dc1`.
|
|
43
48
|
*/
|
|
44
49
|
class Datacenter extends pulumi.CustomResource {
|
package/datacenter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datacenter.js","sourceRoot":"","sources":["../datacenter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"datacenter.js","sourceRoot":"","sources":["../datacenter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;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,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAvFL,gCAwFC;AA1EG,gBAAgB;AACO,uBAAY,GAAG,qCAAqC,CAAC"}
|
package/datastoreCluster.d.ts
CHANGED
|
@@ -1,4 +1,34 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The `vsphere.DatastoreCluster` resource can be used to create and manage
|
|
4
|
+
* datastore clusters. This can be used to create groups of datastores with a
|
|
5
|
+
* shared management interface, allowing for resource control and load balancing
|
|
6
|
+
* through Storage DRS.
|
|
7
|
+
*
|
|
8
|
+
* For more information on vSphere datastore clusters and Storage DRS, see [this
|
|
9
|
+
* page][ref-vsphere-datastore-clusters].
|
|
10
|
+
*
|
|
11
|
+
* [ref-vsphere-datastore-clusters]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-resource-management/GUID-598DF695-107E-406B-9C95-0AF961FC227A.html
|
|
12
|
+
*
|
|
13
|
+
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
14
|
+
* connections.
|
|
15
|
+
*
|
|
16
|
+
* > **NOTE:** Storage DRS requires a vSphere Enterprise Plus license.
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* An existing datastore cluster can be imported into this resource
|
|
21
|
+
*
|
|
22
|
+
* via the path to the cluster, via the following command:
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import vsphere:index/datastoreCluster:DatastoreCluster datastore_cluster /dc1/datastore/ds-cluster
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* The above would import the datastore cluster named `ds-cluster` that is located
|
|
29
|
+
*
|
|
30
|
+
* in the `dc1` datacenter.
|
|
31
|
+
*/
|
|
2
32
|
export declare class DatastoreCluster extends pulumi.CustomResource {
|
|
3
33
|
/**
|
|
4
34
|
* Get an existing DatastoreCluster resource's state with the given name, ID, and optional extra
|
package/datastoreCluster.js
CHANGED
|
@@ -5,6 +5,36 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.DatastoreCluster = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The `vsphere.DatastoreCluster` resource can be used to create and manage
|
|
10
|
+
* datastore clusters. This can be used to create groups of datastores with a
|
|
11
|
+
* shared management interface, allowing for resource control and load balancing
|
|
12
|
+
* through Storage DRS.
|
|
13
|
+
*
|
|
14
|
+
* For more information on vSphere datastore clusters and Storage DRS, see [this
|
|
15
|
+
* page][ref-vsphere-datastore-clusters].
|
|
16
|
+
*
|
|
17
|
+
* [ref-vsphere-datastore-clusters]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-resource-management/GUID-598DF695-107E-406B-9C95-0AF961FC227A.html
|
|
18
|
+
*
|
|
19
|
+
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
20
|
+
* connections.
|
|
21
|
+
*
|
|
22
|
+
* > **NOTE:** Storage DRS requires a vSphere Enterprise Plus license.
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* An existing datastore cluster can be imported into this resource
|
|
27
|
+
*
|
|
28
|
+
* via the path to the cluster, via the following command:
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import vsphere:index/datastoreCluster:DatastoreCluster datastore_cluster /dc1/datastore/ds-cluster
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* The above would import the datastore cluster named `ds-cluster` that is located
|
|
35
|
+
*
|
|
36
|
+
* in the `dc1` datacenter.
|
|
37
|
+
*/
|
|
8
38
|
class DatastoreCluster extends pulumi.CustomResource {
|
|
9
39
|
/**
|
|
10
40
|
* Get an existing DatastoreCluster resource's state with the given name, ID, and optional extra
|
package/datastoreCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datastoreCluster.js","sourceRoot":"","sources":["../datastoreCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO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AAC;YACxG,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,sCAAsC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oCAAoC,CAAC,CAAC,CAAC,SAAS,CAAC;YACtH,cAAc,CAAC,oCAAoC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC,CAAC,SAAS,CAAC;YAClH,cAAc,CAAC,iCAAiC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5G,cAAc,CAAC,+BAA+B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC,CAAC,SAAS,CAAC;YACxG,cAAc,CAAC,iCAAiC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5G,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA9NL,4CA+NC;AAjNG,gBAAgB;AACO,6BAAY,GAAG,iDAAiD,CAAC"}
|
|
@@ -1,4 +1,93 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The `vsphere.DatastoreClusterVmAntiAffinityRule` resource can be used to
|
|
4
|
+
* manage VM anti-affinity rules in a datastore cluster, either created by the
|
|
5
|
+
* `vsphere.DatastoreCluster` resource or looked up
|
|
6
|
+
* by the `vsphere.DatastoreCluster` data source.
|
|
7
|
+
*
|
|
8
|
+
* This rule can be used to tell a set to virtual machines to run on different
|
|
9
|
+
* datastores within a cluster, useful for preventing single points of failure in
|
|
10
|
+
* application cluster scenarios. When configured, Storage DRS will make a best effort to
|
|
11
|
+
* ensure that the virtual machines run on different datastores, or prevent any
|
|
12
|
+
* operation that would keep that from happening, depending on the value of the
|
|
13
|
+
* `mandatory` flag.
|
|
14
|
+
*
|
|
15
|
+
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
16
|
+
* connections.
|
|
17
|
+
*
|
|
18
|
+
* > **NOTE:** Storage DRS requires a vSphere Enterprise Plus license.
|
|
19
|
+
*
|
|
20
|
+
* ## Example Usage
|
|
21
|
+
*
|
|
22
|
+
* The example below creates two virtual machines in a cluster using the
|
|
23
|
+
* `vsphere.VirtualMachine` resource, creating the
|
|
24
|
+
* virtual machines in the datastore cluster looked up by the
|
|
25
|
+
* `vsphere.DatastoreCluster` data
|
|
26
|
+
* source. It then creates an anti-affinity rule for these two virtual machines,
|
|
27
|
+
* ensuring they will run on different datastores whenever possible.
|
|
28
|
+
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
32
|
+
*
|
|
33
|
+
* const datacenter = vsphere.getDatacenter({
|
|
34
|
+
* name: "dc-01",
|
|
35
|
+
* });
|
|
36
|
+
* const datastoreCluster = datacenter.then(datacenter => vsphere.getDatastoreCluster({
|
|
37
|
+
* name: "datastore-cluster1",
|
|
38
|
+
* datacenterId: datacenter.id,
|
|
39
|
+
* }));
|
|
40
|
+
* const cluster = datacenter.then(datacenter => vsphere.getComputeCluster({
|
|
41
|
+
* name: "cluster-01",
|
|
42
|
+
* datacenterId: datacenter.id,
|
|
43
|
+
* }));
|
|
44
|
+
* const network = datacenter.then(datacenter => vsphere.getNetwork({
|
|
45
|
+
* name: "network1",
|
|
46
|
+
* datacenterId: datacenter.id,
|
|
47
|
+
* }));
|
|
48
|
+
* const vm: vsphere.VirtualMachine[] = [];
|
|
49
|
+
* for (const range = {value: 0}; range.value < 2; range.value++) {
|
|
50
|
+
* vm.push(new vsphere.VirtualMachine(`vm-${range.value}`, {
|
|
51
|
+
* name: `test-${range.value}`,
|
|
52
|
+
* resourcePoolId: cluster.then(cluster => cluster.resourcePoolId),
|
|
53
|
+
* datastoreClusterId: datastoreCluster.then(datastoreCluster => datastoreCluster.id),
|
|
54
|
+
* numCpus: 2,
|
|
55
|
+
* memory: 2048,
|
|
56
|
+
* guestId: "otherLinux64Guest",
|
|
57
|
+
* networkInterfaces: [{
|
|
58
|
+
* networkId: network.then(network => network.id),
|
|
59
|
+
* }],
|
|
60
|
+
* disks: [{
|
|
61
|
+
* label: "disk0",
|
|
62
|
+
* size: 20,
|
|
63
|
+
* }],
|
|
64
|
+
* }));
|
|
65
|
+
* }
|
|
66
|
+
* const clusterVmAntiAffinityRule = new vsphere.DatastoreClusterVmAntiAffinityRule("cluster_vm_anti_affinity_rule", {
|
|
67
|
+
* name: "test-datastore-cluster-vm-anti-affinity-rule",
|
|
68
|
+
* datastoreClusterId: datastoreCluster.then(datastoreCluster => datastoreCluster.id),
|
|
69
|
+
* virtualMachineIds: [vm.map(__item => __item.id)],
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* ## Import
|
|
74
|
+
*
|
|
75
|
+
* An existing rule can be imported into this resource by supplying
|
|
76
|
+
*
|
|
77
|
+
* both the path to the cluster, and the name the rule. If the name or cluster is
|
|
78
|
+
*
|
|
79
|
+
* not found, or if the rule is of a different type, an error will be returned. An
|
|
80
|
+
*
|
|
81
|
+
* example is below:
|
|
82
|
+
*
|
|
83
|
+
* ```sh
|
|
84
|
+
* $ pulumi import vsphere:index/datastoreClusterVmAntiAffinityRule:DatastoreClusterVmAntiAffinityRule cluster_vm_anti_affinity_rule \
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* '{"compute_cluster_path": "/dc1/datastore/cluster1", \
|
|
88
|
+
*
|
|
89
|
+
* "name": "pulumi-test-datastore-cluster-vm-anti-affinity-rule"}'
|
|
90
|
+
*/
|
|
2
91
|
export declare class DatastoreClusterVmAntiAffinityRule extends pulumi.CustomResource {
|
|
3
92
|
/**
|
|
4
93
|
* Get an existing DatastoreClusterVmAntiAffinityRule resource's state with the given name, ID, and optional extra
|
|
@@ -5,6 +5,95 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.DatastoreClusterVmAntiAffinityRule = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The `vsphere.DatastoreClusterVmAntiAffinityRule` resource can be used to
|
|
10
|
+
* manage VM anti-affinity rules in a datastore cluster, either created by the
|
|
11
|
+
* `vsphere.DatastoreCluster` resource or looked up
|
|
12
|
+
* by the `vsphere.DatastoreCluster` data source.
|
|
13
|
+
*
|
|
14
|
+
* This rule can be used to tell a set to virtual machines to run on different
|
|
15
|
+
* datastores within a cluster, useful for preventing single points of failure in
|
|
16
|
+
* application cluster scenarios. When configured, Storage DRS will make a best effort to
|
|
17
|
+
* ensure that the virtual machines run on different datastores, or prevent any
|
|
18
|
+
* operation that would keep that from happening, depending on the value of the
|
|
19
|
+
* `mandatory` flag.
|
|
20
|
+
*
|
|
21
|
+
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
22
|
+
* connections.
|
|
23
|
+
*
|
|
24
|
+
* > **NOTE:** Storage DRS requires a vSphere Enterprise Plus license.
|
|
25
|
+
*
|
|
26
|
+
* ## Example Usage
|
|
27
|
+
*
|
|
28
|
+
* The example below creates two virtual machines in a cluster using the
|
|
29
|
+
* `vsphere.VirtualMachine` resource, creating the
|
|
30
|
+
* virtual machines in the datastore cluster looked up by the
|
|
31
|
+
* `vsphere.DatastoreCluster` data
|
|
32
|
+
* source. It then creates an anti-affinity rule for these two virtual machines,
|
|
33
|
+
* ensuring they will run on different datastores whenever possible.
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
38
|
+
*
|
|
39
|
+
* const datacenter = vsphere.getDatacenter({
|
|
40
|
+
* name: "dc-01",
|
|
41
|
+
* });
|
|
42
|
+
* const datastoreCluster = datacenter.then(datacenter => vsphere.getDatastoreCluster({
|
|
43
|
+
* name: "datastore-cluster1",
|
|
44
|
+
* datacenterId: datacenter.id,
|
|
45
|
+
* }));
|
|
46
|
+
* const cluster = datacenter.then(datacenter => vsphere.getComputeCluster({
|
|
47
|
+
* name: "cluster-01",
|
|
48
|
+
* datacenterId: datacenter.id,
|
|
49
|
+
* }));
|
|
50
|
+
* const network = datacenter.then(datacenter => vsphere.getNetwork({
|
|
51
|
+
* name: "network1",
|
|
52
|
+
* datacenterId: datacenter.id,
|
|
53
|
+
* }));
|
|
54
|
+
* const vm: vsphere.VirtualMachine[] = [];
|
|
55
|
+
* for (const range = {value: 0}; range.value < 2; range.value++) {
|
|
56
|
+
* vm.push(new vsphere.VirtualMachine(`vm-${range.value}`, {
|
|
57
|
+
* name: `test-${range.value}`,
|
|
58
|
+
* resourcePoolId: cluster.then(cluster => cluster.resourcePoolId),
|
|
59
|
+
* datastoreClusterId: datastoreCluster.then(datastoreCluster => datastoreCluster.id),
|
|
60
|
+
* numCpus: 2,
|
|
61
|
+
* memory: 2048,
|
|
62
|
+
* guestId: "otherLinux64Guest",
|
|
63
|
+
* networkInterfaces: [{
|
|
64
|
+
* networkId: network.then(network => network.id),
|
|
65
|
+
* }],
|
|
66
|
+
* disks: [{
|
|
67
|
+
* label: "disk0",
|
|
68
|
+
* size: 20,
|
|
69
|
+
* }],
|
|
70
|
+
* }));
|
|
71
|
+
* }
|
|
72
|
+
* const clusterVmAntiAffinityRule = new vsphere.DatastoreClusterVmAntiAffinityRule("cluster_vm_anti_affinity_rule", {
|
|
73
|
+
* name: "test-datastore-cluster-vm-anti-affinity-rule",
|
|
74
|
+
* datastoreClusterId: datastoreCluster.then(datastoreCluster => datastoreCluster.id),
|
|
75
|
+
* virtualMachineIds: [vm.map(__item => __item.id)],
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* ## Import
|
|
80
|
+
*
|
|
81
|
+
* An existing rule can be imported into this resource by supplying
|
|
82
|
+
*
|
|
83
|
+
* both the path to the cluster, and the name the rule. If the name or cluster is
|
|
84
|
+
*
|
|
85
|
+
* not found, or if the rule is of a different type, an error will be returned. An
|
|
86
|
+
*
|
|
87
|
+
* example is below:
|
|
88
|
+
*
|
|
89
|
+
* ```sh
|
|
90
|
+
* $ pulumi import vsphere:index/datastoreClusterVmAntiAffinityRule:DatastoreClusterVmAntiAffinityRule cluster_vm_anti_affinity_rule \
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* '{"compute_cluster_path": "/dc1/datastore/cluster1", \
|
|
94
|
+
*
|
|
95
|
+
* "name": "pulumi-test-datastore-cluster-vm-anti-affinity-rule"}'
|
|
96
|
+
*/
|
|
8
97
|
class DatastoreClusterVmAntiAffinityRule extends pulumi.CustomResource {
|
|
9
98
|
/**
|
|
10
99
|
* Get an existing DatastoreClusterVmAntiAffinityRule resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datastoreClusterVmAntiAffinityRule.js","sourceRoot":"","sources":["../datastoreClusterVmAntiAffinityRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAA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