@pulumi/vsphere 4.10.0 → 4.10.2-alpha.1720054582
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/computeCluster.d.ts +309 -633
- package/computeCluster.js +2 -0
- package/computeCluster.js.map +1 -1
- package/computeClusterVmAffinityRule.d.ts +14 -10
- package/computeClusterVmAffinityRule.js +14 -10
- package/computeClusterVmAffinityRule.js.map +1 -1
- package/datacenter.d.ts +14 -15
- package/datacenter.js +14 -6
- package/datacenter.js.map +1 -1
- package/datastoreCluster.d.ts +72 -162
- package/datastoreCluster.js.map +1 -1
- package/distributedPortGroup.d.ts +54 -78
- package/distributedPortGroup.js.map +1 -1
- package/distributedVirtualSwitch.d.ts +129 -351
- package/distributedVirtualSwitch.js.map +1 -1
- package/entityPermissions.d.ts +24 -15
- package/entityPermissions.js.map +1 -1
- package/file.d.ts +8 -12
- package/file.js +8 -12
- package/file.js.map +1 -1
- package/folder.d.ts +0 -9
- package/folder.js.map +1 -1
- package/getComputeCluster.d.ts +0 -4
- package/getComputeCluster.js +0 -4
- package/getComputeCluster.js.map +1 -1
- package/getComputeClusterHostGroup.d.ts +22 -22
- package/getComputeClusterHostGroup.js +16 -18
- package/getComputeClusterHostGroup.js.map +1 -1
- package/getContentLibrary.d.ts +10 -10
- package/getContentLibrary.js +10 -10
- package/getContentLibraryItem.d.ts +12 -8
- package/getContentLibraryItem.js +4 -4
- package/getContentLibraryItem.js.map +1 -1
- package/getCustomAttribute.d.ts +0 -4
- package/getCustomAttribute.js +0 -4
- package/getCustomAttribute.js.map +1 -1
- package/getDatacenter.d.ts +0 -4
- package/getDatacenter.js +0 -4
- package/getDatacenter.js.map +1 -1
- package/getDatastore.d.ts +9 -13
- package/getDatastore.js +0 -4
- package/getDatastore.js.map +1 -1
- package/getDatastoreCluster.d.ts +0 -4
- package/getDatastoreCluster.js +0 -4
- package/getDatastoreCluster.js.map +1 -1
- package/getDatastoreStats.d.ts +38 -44
- package/getDatastoreStats.js +16 -24
- package/getDatastoreStats.js.map +1 -1
- package/getDistributedVirtualSwitch.d.ts +2 -4
- package/getDistributedVirtualSwitch.js +2 -4
- package/getDistributedVirtualSwitch.js.map +1 -1
- package/getDynamic.d.ts +18 -20
- package/getDynamic.js +12 -14
- package/getDynamic.js.map +1 -1
- package/getFolder.d.ts +10 -6
- package/getFolder.js +10 -6
- package/getFolder.js.map +1 -1
- package/getGuestOsCustomization.d.ts +8 -51
- package/getGuestOsCustomization.js +4 -34
- package/getGuestOsCustomization.js.map +1 -1
- package/getHost.d.ts +0 -4
- package/getHost.js +0 -4
- package/getHost.js.map +1 -1
- package/getHostBaseImages.d.ts +42 -0
- package/getHostBaseImages.js +43 -0
- package/getHostBaseImages.js.map +1 -0
- package/getHostPciDevice.d.ts +14 -20
- package/getHostPciDevice.js +10 -18
- package/getHostPciDevice.js.map +1 -1
- package/getHostThumbprint.d.ts +12 -16
- package/getHostThumbprint.js +8 -12
- package/getHostThumbprint.js.map +1 -1
- package/getHostVgpuProfile.d.ts +4 -10
- package/getHostVgpuProfile.js +0 -8
- package/getHostVgpuProfile.js.map +1 -1
- package/getLicense.d.ts +2 -5
- package/getLicense.js +0 -4
- package/getLicense.js.map +1 -1
- package/getNetwork.d.ts +14 -18
- package/getNetwork.js +10 -14
- package/getNetwork.js.map +1 -1
- package/getPolicy.d.ts +0 -4
- package/getPolicy.js +0 -4
- package/getPolicy.js.map +1 -1
- package/getResourcePool.d.ts +14 -18
- package/getResourcePool.js +14 -18
- package/getResourcePool.js.map +1 -1
- package/getRole.d.ts +4 -8
- package/getRole.js +4 -8
- package/getRole.js.map +1 -1
- package/getTag.d.ts +0 -4
- package/getTag.js +0 -4
- package/getTag.js.map +1 -1
- package/getTagCategory.d.ts +0 -4
- package/getTagCategory.js +0 -4
- package/getTagCategory.js.map +1 -1
- package/getVappContainer.d.ts +0 -4
- package/getVappContainer.js +0 -4
- package/getVappContainer.js.map +1 -1
- package/getVirtualMachine.d.ts +48 -40
- package/getVirtualMachine.js +6 -12
- package/getVirtualMachine.js.map +1 -1
- package/getVmfsDisks.d.ts +0 -4
- package/getVmfsDisks.js +0 -4
- package/getVmfsDisks.js.map +1 -1
- package/guestOsCustomization.d.ts +26 -0
- package/guestOsCustomization.js +26 -0
- package/guestOsCustomization.js.map +1 -1
- package/haVmOverride.d.ts +81 -162
- package/haVmOverride.js.map +1 -1
- package/host.d.ts +0 -10
- package/host.js +0 -10
- package/host.js.map +1 -1
- package/hostPortGroup.d.ts +6 -12
- package/hostPortGroup.js +6 -12
- package/hostPortGroup.js.map +1 -1
- package/hostVirtualSwitch.d.ts +60 -123
- package/hostVirtualSwitch.js.map +1 -1
- package/index.d.ts +12 -0
- package/index.js +21 -2
- package/index.js.map +1 -1
- package/license.d.ts +0 -17
- package/license.js +0 -17
- package/license.js.map +1 -1
- package/nasDatastore.d.ts +3 -3
- package/offlineSoftwareDepot.d.ts +63 -0
- package/offlineSoftwareDepot.js +59 -0
- package/offlineSoftwareDepot.js.map +1 -0
- package/package.json +3 -2
- package/resourcePool.d.ts +28 -12
- package/resourcePool.js +28 -12
- package/resourcePool.js.map +1 -1
- package/supervisor.d.ts +292 -0
- package/supervisor.js +178 -0
- package/supervisor.js.map +1 -0
- package/types/input.d.ts +172 -119
- package/types/output.d.ts +192 -134
- package/virtualDisk.d.ts +6 -6
- package/virtualMachine.d.ts +250 -361
- package/virtualMachine.js.map +1 -1
- package/virtualMachineClass.d.ts +143 -0
- package/virtualMachineClass.js +100 -0
- package/virtualMachineClass.js.map +1 -0
- package/virtualMachineSnapshot.d.ts +4 -6
- package/virtualMachineSnapshot.js +4 -6
- package/virtualMachineSnapshot.js.map +1 -1
- package/vmStoragePolicy.d.ts +29 -35
- package/vmStoragePolicy.js +29 -35
- package/vmStoragePolicy.js.map +1 -1
- package/vnic.d.ts +34 -42
- package/vnic.js +31 -39
- package/vnic.js.map +1 -1
- package/package.json.bak +0 -29
package/getTagCategory.js
CHANGED
|
@@ -17,7 +17,6 @@ const utilities = require("./utilities");
|
|
|
17
17
|
*
|
|
18
18
|
* ## Example Usage
|
|
19
19
|
*
|
|
20
|
-
* <!--Start PulumiCodeChooser -->
|
|
21
20
|
* ```typescript
|
|
22
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
22
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -26,7 +25,6 @@ const utilities = require("./utilities");
|
|
|
26
25
|
* name: "example-category",
|
|
27
26
|
* });
|
|
28
27
|
* ```
|
|
29
|
-
* <!--End PulumiCodeChooser -->
|
|
30
28
|
*/
|
|
31
29
|
function getTagCategory(args, opts) {
|
|
32
30
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -47,7 +45,6 @@ exports.getTagCategory = getTagCategory;
|
|
|
47
45
|
*
|
|
48
46
|
* ## Example Usage
|
|
49
47
|
*
|
|
50
|
-
* <!--Start PulumiCodeChooser -->
|
|
51
48
|
* ```typescript
|
|
52
49
|
* import * as pulumi from "@pulumi/pulumi";
|
|
53
50
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -56,7 +53,6 @@ exports.getTagCategory = getTagCategory;
|
|
|
56
53
|
* name: "example-category",
|
|
57
54
|
* });
|
|
58
55
|
* ```
|
|
59
|
-
* <!--End PulumiCodeChooser -->
|
|
60
56
|
*/
|
|
61
57
|
function getTagCategoryOutput(args, opts) {
|
|
62
58
|
return pulumi.output(args).apply((a) => getTagCategory(a, opts));
|
package/getTagCategory.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTagCategory.js","sourceRoot":"","sources":["../getTagCategory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
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;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAyBD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
package/getVappContainer.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
10
|
-
* <!--Start PulumiCodeChooser -->
|
|
11
10
|
* ```typescript
|
|
12
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
12
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -20,7 +19,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
19
|
* datacenterId: datacenter.id,
|
|
21
20
|
* }));
|
|
22
21
|
* ```
|
|
23
|
-
* <!--End PulumiCodeChooser -->
|
|
24
22
|
*/
|
|
25
23
|
export declare function getVappContainer(args: GetVappContainerArgs, opts?: pulumi.InvokeOptions): Promise<GetVappContainerResult>;
|
|
26
24
|
/**
|
|
@@ -57,7 +55,6 @@ export interface GetVappContainerResult {
|
|
|
57
55
|
*
|
|
58
56
|
* ## Example Usage
|
|
59
57
|
*
|
|
60
|
-
* <!--Start PulumiCodeChooser -->
|
|
61
58
|
* ```typescript
|
|
62
59
|
* import * as pulumi from "@pulumi/pulumi";
|
|
63
60
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -70,7 +67,6 @@ export interface GetVappContainerResult {
|
|
|
70
67
|
* datacenterId: datacenter.id,
|
|
71
68
|
* }));
|
|
72
69
|
* ```
|
|
73
|
-
* <!--End PulumiCodeChooser -->
|
|
74
70
|
*/
|
|
75
71
|
export declare function getVappContainerOutput(args: GetVappContainerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVappContainerResult>;
|
|
76
72
|
/**
|
package/getVappContainer.js
CHANGED
|
@@ -13,7 +13,6 @@ const utilities = require("./utilities");
|
|
|
13
13
|
*
|
|
14
14
|
* ## Example Usage
|
|
15
15
|
*
|
|
16
|
-
* <!--Start PulumiCodeChooser -->
|
|
17
16
|
* ```typescript
|
|
18
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
18
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -26,7 +25,6 @@ const utilities = require("./utilities");
|
|
|
26
25
|
* datacenterId: datacenter.id,
|
|
27
26
|
* }));
|
|
28
27
|
* ```
|
|
29
|
-
* <!--End PulumiCodeChooser -->
|
|
30
28
|
*/
|
|
31
29
|
function getVappContainer(args, opts) {
|
|
32
30
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -44,7 +42,6 @@ exports.getVappContainer = getVappContainer;
|
|
|
44
42
|
*
|
|
45
43
|
* ## Example Usage
|
|
46
44
|
*
|
|
47
|
-
* <!--Start PulumiCodeChooser -->
|
|
48
45
|
* ```typescript
|
|
49
46
|
* import * as pulumi from "@pulumi/pulumi";
|
|
50
47
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -57,7 +54,6 @@ exports.getVappContainer = getVappContainer;
|
|
|
57
54
|
* datacenterId: datacenter.id,
|
|
58
55
|
* }));
|
|
59
56
|
* ```
|
|
60
|
-
* <!--End PulumiCodeChooser -->
|
|
61
57
|
*/
|
|
62
58
|
function getVappContainerOutput(args, opts) {
|
|
63
59
|
return pulumi.output(args).apply((a) => getVappContainer(a, opts));
|
package/getVappContainer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVappContainer.js","sourceRoot":"","sources":["../getVappContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
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;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,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;AAPD,4CAOC;AA6BD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
package/getVirtualMachine.d.ts
CHANGED
|
@@ -10,10 +10,9 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
-
* In the following example, a virtual machine template is returned by its
|
|
14
|
-
*
|
|
13
|
+
* In the following example, a virtual machine template is returned by its unique
|
|
14
|
+
* name within the `vsphere.Datacenter`.
|
|
15
15
|
*
|
|
16
|
-
* <!--Start PulumiCodeChooser -->
|
|
17
16
|
* ```typescript
|
|
18
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
18
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -26,11 +25,10 @@ import * as outputs from "./types/output";
|
|
|
26
25
|
* datacenterId: datacenter.id,
|
|
27
26
|
* }));
|
|
28
27
|
* ```
|
|
29
|
-
*
|
|
28
|
+
*
|
|
30
29
|
* In the following example, each virtual machine template is returned by its
|
|
31
30
|
* unique full path within the `vsphere.Datacenter`.
|
|
32
31
|
*
|
|
33
|
-
* <!--Start PulumiCodeChooser -->
|
|
34
32
|
* ```typescript
|
|
35
33
|
* import * as pulumi from "@pulumi/pulumi";
|
|
36
34
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -47,7 +45,6 @@ import * as outputs from "./types/output";
|
|
|
47
45
|
* datacenterId: datacenter.id,
|
|
48
46
|
* }));
|
|
49
47
|
* ```
|
|
50
|
-
* <!--End PulumiCodeChooser -->
|
|
51
48
|
*/
|
|
52
49
|
export declare function getVirtualMachine(args?: GetVirtualMachineArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualMachineResult>;
|
|
53
50
|
/**
|
|
@@ -56,7 +53,8 @@ export declare function getVirtualMachine(args?: GetVirtualMachineArgs, opts?: p
|
|
|
56
53
|
export interface GetVirtualMachineArgs {
|
|
57
54
|
/**
|
|
58
55
|
* The alternate guest name of the virtual machine when
|
|
59
|
-
* `guestId` is a non-specific operating system, like `otherGuest` or
|
|
56
|
+
* `guestId` is a non-specific operating system, like `otherGuest` or
|
|
57
|
+
* `otherGuest64`.
|
|
60
58
|
*/
|
|
61
59
|
alternateGuestName?: string;
|
|
62
60
|
/**
|
|
@@ -90,7 +88,8 @@ export interface GetVirtualMachineArgs {
|
|
|
90
88
|
};
|
|
91
89
|
extraConfigRebootRequired?: boolean;
|
|
92
90
|
/**
|
|
93
|
-
* The firmware type for this virtual machine. Can be `bios` or
|
|
91
|
+
* The firmware type for this virtual machine. Can be `bios` or
|
|
92
|
+
* `efi`.
|
|
94
93
|
*/
|
|
95
94
|
firmware?: string;
|
|
96
95
|
/**
|
|
@@ -127,7 +126,8 @@ export interface GetVirtualMachineArgs {
|
|
|
127
126
|
name?: string;
|
|
128
127
|
nestedHvEnabled?: boolean;
|
|
129
128
|
/**
|
|
130
|
-
* The number of cores per socket for this virtual
|
|
129
|
+
* The number of cores per socket for this virtual
|
|
130
|
+
* machine.
|
|
131
131
|
*/
|
|
132
132
|
numCoresPerSocket?: number;
|
|
133
133
|
/**
|
|
@@ -173,7 +173,8 @@ export interface GetVirtualMachineArgs {
|
|
|
173
173
|
export interface GetVirtualMachineResult {
|
|
174
174
|
/**
|
|
175
175
|
* The alternate guest name of the virtual machine when
|
|
176
|
-
* `guestId` is a non-specific operating system, like `otherGuest` or
|
|
176
|
+
* `guestId` is a non-specific operating system, like `otherGuest` or
|
|
177
|
+
* `otherGuest64`.
|
|
177
178
|
*/
|
|
178
179
|
readonly alternateGuestName?: string;
|
|
179
180
|
/**
|
|
@@ -193,11 +194,11 @@ export interface GetVirtualMachineResult {
|
|
|
193
194
|
readonly cpuShareLevel?: string;
|
|
194
195
|
readonly datacenterId?: string;
|
|
195
196
|
/**
|
|
196
|
-
* Whenever possible, this is the first IPv4 address that
|
|
197
|
-
* the default gateway configured on the machine, then the
|
|
198
|
-
* address, and then the first general discovered address if
|
|
199
|
-
* VMware Tools is not running on the virtual machine, or if
|
|
200
|
-
* off, this value will be blank.
|
|
197
|
+
* Whenever possible, this is the first IPv4 address that
|
|
198
|
+
* is reachable through the default gateway configured on the machine, then the
|
|
199
|
+
* first reachable IPv6 address, and then the first general discovered address if
|
|
200
|
+
* neither exist. If VMware Tools is not running on the virtual machine, or if
|
|
201
|
+
* the VM is powered off, this value will be blank.
|
|
201
202
|
*/
|
|
202
203
|
readonly defaultIpAddress: string;
|
|
203
204
|
/**
|
|
@@ -205,22 +206,23 @@ export interface GetVirtualMachineResult {
|
|
|
205
206
|
* template. These are sorted by bus and unit number so that they can be applied
|
|
206
207
|
* to a `vsphere.VirtualMachine` resource in the order the resource expects
|
|
207
208
|
* while cloning. This is useful for discovering certain disk settings while
|
|
208
|
-
* performing a linked clone, as all settings that are output by this data
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
*
|
|
209
|
+
* performing a linked clone, as all settings that are output by this data source
|
|
210
|
+
* must be the same on the destination virtual machine as the source. Only the
|
|
211
|
+
* first number of controllers defined by `scsiControllerScanCount` are
|
|
212
|
+
* scanned for disks. The sub-attributes are:
|
|
212
213
|
*/
|
|
213
214
|
readonly disks: outputs.GetVirtualMachineDisk[];
|
|
214
215
|
readonly efiSecureBootEnabled?: boolean;
|
|
215
216
|
readonly enableDiskUuid?: boolean;
|
|
216
217
|
readonly enableLogging?: boolean;
|
|
217
|
-
readonly eptRviMode
|
|
218
|
+
readonly eptRviMode: string;
|
|
218
219
|
readonly extraConfig?: {
|
|
219
220
|
[key: string]: string;
|
|
220
221
|
};
|
|
221
222
|
readonly extraConfigRebootRequired?: boolean;
|
|
222
223
|
/**
|
|
223
|
-
* The firmware type for this virtual machine. Can be `bios` or
|
|
224
|
+
* The firmware type for this virtual machine. Can be `bios` or
|
|
225
|
+
* `efi`.
|
|
224
226
|
*/
|
|
225
227
|
readonly firmware?: string;
|
|
226
228
|
readonly folder?: string;
|
|
@@ -236,12 +238,16 @@ export interface GetVirtualMachineResult {
|
|
|
236
238
|
* The hardware version number on this virtual machine.
|
|
237
239
|
*/
|
|
238
240
|
readonly hardwareVersion: number;
|
|
239
|
-
readonly hvMode
|
|
241
|
+
readonly hvMode: string;
|
|
240
242
|
/**
|
|
241
243
|
* The provider-assigned unique ID for this managed resource.
|
|
242
244
|
*/
|
|
243
245
|
readonly id: string;
|
|
244
246
|
readonly ideControllerScanCount?: number;
|
|
247
|
+
/**
|
|
248
|
+
* The instance UUID of the virtual machine or template.
|
|
249
|
+
*/
|
|
250
|
+
readonly instanceUuid: string;
|
|
245
251
|
readonly latencySensitivity?: string;
|
|
246
252
|
/**
|
|
247
253
|
* The size of the virtual machine's memory, in MB.
|
|
@@ -259,21 +265,23 @@ export interface GetVirtualMachineResult {
|
|
|
259
265
|
/**
|
|
260
266
|
* The network interface types for each network
|
|
261
267
|
* interface found on the virtual machine, in device bus order. Will be one of
|
|
262
|
-
* `e1000`, `e1000e`, `pcnet32`, `sriov`, `vmxnet2`, `vmxnet3vrdma`, or
|
|
268
|
+
* `e1000`, `e1000e`, `pcnet32`, `sriov`, `vmxnet2`, `vmxnet3vrdma`, or
|
|
269
|
+
* `vmxnet3`.
|
|
263
270
|
*/
|
|
264
271
|
readonly networkInterfaceTypes: string[];
|
|
265
272
|
/**
|
|
266
|
-
* Information about each of the network interfaces on
|
|
267
|
-
* virtual machine or template. These are sorted by device bus order so that
|
|
268
|
-
* can be applied to a `vsphere.VirtualMachine` resource in the order the
|
|
269
|
-
* expects while cloning. This is useful for discovering certain network
|
|
270
|
-
* settings while performing a linked clone, as all settings that are
|
|
271
|
-
* data source must be the same on the destination virtual machine
|
|
272
|
-
* The sub-attributes are:
|
|
273
|
+
* Information about each of the network interfaces on
|
|
274
|
+
* this virtual machine or template. These are sorted by device bus order so that
|
|
275
|
+
* they can be applied to a `vsphere.VirtualMachine` resource in the order the
|
|
276
|
+
* resource expects while cloning. This is useful for discovering certain network
|
|
277
|
+
* interface settings while performing a linked clone, as all settings that are
|
|
278
|
+
* output by this data source must be the same on the destination virtual machine
|
|
279
|
+
* as the source. The sub-attributes are:
|
|
273
280
|
*/
|
|
274
281
|
readonly networkInterfaces: outputs.GetVirtualMachineNetworkInterface[];
|
|
275
282
|
/**
|
|
276
|
-
* The number of cores per socket for this virtual
|
|
283
|
+
* The number of cores per socket for this virtual
|
|
284
|
+
* machine.
|
|
277
285
|
*/
|
|
278
286
|
readonly numCoresPerSocket?: number;
|
|
279
287
|
/**
|
|
@@ -323,10 +331,9 @@ export interface GetVirtualMachineResult {
|
|
|
323
331
|
*
|
|
324
332
|
* ## Example Usage
|
|
325
333
|
*
|
|
326
|
-
* In the following example, a virtual machine template is returned by its
|
|
327
|
-
*
|
|
334
|
+
* In the following example, a virtual machine template is returned by its unique
|
|
335
|
+
* name within the `vsphere.Datacenter`.
|
|
328
336
|
*
|
|
329
|
-
* <!--Start PulumiCodeChooser -->
|
|
330
337
|
* ```typescript
|
|
331
338
|
* import * as pulumi from "@pulumi/pulumi";
|
|
332
339
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -339,11 +346,10 @@ export interface GetVirtualMachineResult {
|
|
|
339
346
|
* datacenterId: datacenter.id,
|
|
340
347
|
* }));
|
|
341
348
|
* ```
|
|
342
|
-
*
|
|
349
|
+
*
|
|
343
350
|
* In the following example, each virtual machine template is returned by its
|
|
344
351
|
* unique full path within the `vsphere.Datacenter`.
|
|
345
352
|
*
|
|
346
|
-
* <!--Start PulumiCodeChooser -->
|
|
347
353
|
* ```typescript
|
|
348
354
|
* import * as pulumi from "@pulumi/pulumi";
|
|
349
355
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -360,7 +366,6 @@ export interface GetVirtualMachineResult {
|
|
|
360
366
|
* datacenterId: datacenter.id,
|
|
361
367
|
* }));
|
|
362
368
|
* ```
|
|
363
|
-
* <!--End PulumiCodeChooser -->
|
|
364
369
|
*/
|
|
365
370
|
export declare function getVirtualMachineOutput(args?: GetVirtualMachineOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVirtualMachineResult>;
|
|
366
371
|
/**
|
|
@@ -369,7 +374,8 @@ export declare function getVirtualMachineOutput(args?: GetVirtualMachineOutputAr
|
|
|
369
374
|
export interface GetVirtualMachineOutputArgs {
|
|
370
375
|
/**
|
|
371
376
|
* The alternate guest name of the virtual machine when
|
|
372
|
-
* `guestId` is a non-specific operating system, like `otherGuest` or
|
|
377
|
+
* `guestId` is a non-specific operating system, like `otherGuest` or
|
|
378
|
+
* `otherGuest64`.
|
|
373
379
|
*/
|
|
374
380
|
alternateGuestName?: pulumi.Input<string>;
|
|
375
381
|
/**
|
|
@@ -403,7 +409,8 @@ export interface GetVirtualMachineOutputArgs {
|
|
|
403
409
|
}>;
|
|
404
410
|
extraConfigRebootRequired?: pulumi.Input<boolean>;
|
|
405
411
|
/**
|
|
406
|
-
* The firmware type for this virtual machine. Can be `bios` or
|
|
412
|
+
* The firmware type for this virtual machine. Can be `bios` or
|
|
413
|
+
* `efi`.
|
|
407
414
|
*/
|
|
408
415
|
firmware?: pulumi.Input<string>;
|
|
409
416
|
/**
|
|
@@ -440,7 +447,8 @@ export interface GetVirtualMachineOutputArgs {
|
|
|
440
447
|
name?: pulumi.Input<string>;
|
|
441
448
|
nestedHvEnabled?: pulumi.Input<boolean>;
|
|
442
449
|
/**
|
|
443
|
-
* The number of cores per socket for this virtual
|
|
450
|
+
* The number of cores per socket for this virtual
|
|
451
|
+
* machine.
|
|
444
452
|
*/
|
|
445
453
|
numCoresPerSocket?: pulumi.Input<number>;
|
|
446
454
|
/**
|
package/getVirtualMachine.js
CHANGED
|
@@ -14,10 +14,9 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
17
|
-
* In the following example, a virtual machine template is returned by its
|
|
18
|
-
*
|
|
17
|
+
* In the following example, a virtual machine template is returned by its unique
|
|
18
|
+
* name within the `vsphere.Datacenter`.
|
|
19
19
|
*
|
|
20
|
-
* <!--Start PulumiCodeChooser -->
|
|
21
20
|
* ```typescript
|
|
22
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
22
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -30,11 +29,10 @@ const utilities = require("./utilities");
|
|
|
30
29
|
* datacenterId: datacenter.id,
|
|
31
30
|
* }));
|
|
32
31
|
* ```
|
|
33
|
-
*
|
|
32
|
+
*
|
|
34
33
|
* In the following example, each virtual machine template is returned by its
|
|
35
34
|
* unique full path within the `vsphere.Datacenter`.
|
|
36
35
|
*
|
|
37
|
-
* <!--Start PulumiCodeChooser -->
|
|
38
36
|
* ```typescript
|
|
39
37
|
* import * as pulumi from "@pulumi/pulumi";
|
|
40
38
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -51,7 +49,6 @@ const utilities = require("./utilities");
|
|
|
51
49
|
* datacenterId: datacenter.id,
|
|
52
50
|
* }));
|
|
53
51
|
* ```
|
|
54
|
-
* <!--End PulumiCodeChooser -->
|
|
55
52
|
*/
|
|
56
53
|
function getVirtualMachine(args, opts) {
|
|
57
54
|
args = args || {};
|
|
@@ -124,10 +121,9 @@ exports.getVirtualMachine = getVirtualMachine;
|
|
|
124
121
|
*
|
|
125
122
|
* ## Example Usage
|
|
126
123
|
*
|
|
127
|
-
* In the following example, a virtual machine template is returned by its
|
|
128
|
-
*
|
|
124
|
+
* In the following example, a virtual machine template is returned by its unique
|
|
125
|
+
* name within the `vsphere.Datacenter`.
|
|
129
126
|
*
|
|
130
|
-
* <!--Start PulumiCodeChooser -->
|
|
131
127
|
* ```typescript
|
|
132
128
|
* import * as pulumi from "@pulumi/pulumi";
|
|
133
129
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -140,11 +136,10 @@ exports.getVirtualMachine = getVirtualMachine;
|
|
|
140
136
|
* datacenterId: datacenter.id,
|
|
141
137
|
* }));
|
|
142
138
|
* ```
|
|
143
|
-
*
|
|
139
|
+
*
|
|
144
140
|
* In the following example, each virtual machine template is returned by its
|
|
145
141
|
* unique full path within the `vsphere.Datacenter`.
|
|
146
142
|
*
|
|
147
|
-
* <!--Start PulumiCodeChooser -->
|
|
148
143
|
* ```typescript
|
|
149
144
|
* import * as pulumi from "@pulumi/pulumi";
|
|
150
145
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -161,7 +156,6 @@ exports.getVirtualMachine = getVirtualMachine;
|
|
|
161
156
|
* datacenterId: datacenter.id,
|
|
162
157
|
* }));
|
|
163
158
|
* ```
|
|
164
|
-
* <!--End PulumiCodeChooser -->
|
|
165
159
|
*/
|
|
166
160
|
function getVirtualMachineOutput(args, opts) {
|
|
167
161
|
return pulumi.output(args).apply((a) => getVirtualMachine(a, opts));
|
package/getVirtualMachine.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVirtualMachine.js","sourceRoot":"","sources":["../getVirtualMachine.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getVirtualMachine.js","sourceRoot":"","sources":["../getVirtualMachine.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;QACnE,gBAAgB,EAAE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AkC,EAAE,IAAI,CAAC,gCAAgC;QACzE,oCAAoC,EAAE,IAAI,CAAC,kCAAkC;QAC7E,mCAAmC,EAAE,IAAI,CAAC,iCAAiC;QAC3E,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,8BAA8B,EAAE,IAAI,CAAC,4BAA4B;QACjE,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AA7DD,8CA6DC;AAkRD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
package/getVmfsDisks.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
10
|
-
* <!--Start PulumiCodeChooser -->
|
|
11
10
|
* ```typescript
|
|
12
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
12
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -25,7 +24,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
25
24
|
* filter: "mpx.vmhba1:C0:T[12]:L0",
|
|
26
25
|
* }));
|
|
27
26
|
* ```
|
|
28
|
-
* <!--End PulumiCodeChooser -->
|
|
29
27
|
*/
|
|
30
28
|
export declare function getVmfsDisks(args: GetVmfsDisksArgs, opts?: pulumi.InvokeOptions): Promise<GetVmfsDisksResult>;
|
|
31
29
|
/**
|
|
@@ -78,7 +76,6 @@ export interface GetVmfsDisksResult {
|
|
|
78
76
|
*
|
|
79
77
|
* ## Example Usage
|
|
80
78
|
*
|
|
81
|
-
* <!--Start PulumiCodeChooser -->
|
|
82
79
|
* ```typescript
|
|
83
80
|
* import * as pulumi from "@pulumi/pulumi";
|
|
84
81
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -96,7 +93,6 @@ export interface GetVmfsDisksResult {
|
|
|
96
93
|
* filter: "mpx.vmhba1:C0:T[12]:L0",
|
|
97
94
|
* }));
|
|
98
95
|
* ```
|
|
99
|
-
* <!--End PulumiCodeChooser -->
|
|
100
96
|
*/
|
|
101
97
|
export declare function getVmfsDisksOutput(args: GetVmfsDisksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVmfsDisksResult>;
|
|
102
98
|
/**
|
package/getVmfsDisks.js
CHANGED
|
@@ -13,7 +13,6 @@ const utilities = require("./utilities");
|
|
|
13
13
|
*
|
|
14
14
|
* ## Example Usage
|
|
15
15
|
*
|
|
16
|
-
* <!--Start PulumiCodeChooser -->
|
|
17
16
|
* ```typescript
|
|
18
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
18
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -31,7 +30,6 @@ const utilities = require("./utilities");
|
|
|
31
30
|
* filter: "mpx.vmhba1:C0:T[12]:L0",
|
|
32
31
|
* }));
|
|
33
32
|
* ```
|
|
34
|
-
* <!--End PulumiCodeChooser -->
|
|
35
33
|
*/
|
|
36
34
|
function getVmfsDisks(args, opts) {
|
|
37
35
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -50,7 +48,6 @@ exports.getVmfsDisks = getVmfsDisks;
|
|
|
50
48
|
*
|
|
51
49
|
* ## Example Usage
|
|
52
50
|
*
|
|
53
|
-
* <!--Start PulumiCodeChooser -->
|
|
54
51
|
* ```typescript
|
|
55
52
|
* import * as pulumi from "@pulumi/pulumi";
|
|
56
53
|
* import * as vsphere from "@pulumi/vsphere";
|
|
@@ -68,7 +65,6 @@ exports.getVmfsDisks = getVmfsDisks;
|
|
|
68
65
|
* filter: "mpx.vmhba1:C0:T[12]:L0",
|
|
69
66
|
* }));
|
|
70
67
|
* ```
|
|
71
|
-
* <!--End PulumiCodeChooser -->
|
|
72
68
|
*/
|
|
73
69
|
function getVmfsDisksOutput(args, opts) {
|
|
74
70
|
return pulumi.output(args).apply((a) => getVmfsDisks(a, opts));
|
package/getVmfsDisks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVmfsDisks.js","sourceRoot":"","sources":["../getVmfsDisks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getVmfsDisks.js","sourceRoot":"","sources":["../getVmfsDisks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oCAQC;AA6CD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
|
@@ -5,6 +5,32 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* The `vsphere.GuestOsCustomization` resource can be used to a customization specification for a guest operating system.
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** The name attribute is unique identifier for the guest OS spec per VC.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
14
|
+
*
|
|
15
|
+
* const windows = new vsphere.GuestOsCustomization("windows", {
|
|
16
|
+
* name: "windows",
|
|
17
|
+
* type: "Windows",
|
|
18
|
+
* spec: {
|
|
19
|
+
* windowsOptions: {
|
|
20
|
+
* runOnceCommandLists: [
|
|
21
|
+
* "command-1",
|
|
22
|
+
* "command-2",
|
|
23
|
+
* ],
|
|
24
|
+
* computerName: "windows",
|
|
25
|
+
* autoLogon: false,
|
|
26
|
+
* autoLogonCount: 0,
|
|
27
|
+
* adminPassword: "VMware1!",
|
|
28
|
+
* timeZone: 4,
|
|
29
|
+
* workgroup: "workgroup",
|
|
30
|
+
* },
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
8
34
|
*/
|
|
9
35
|
export declare class GuestOsCustomization extends pulumi.CustomResource {
|
|
10
36
|
/**
|
package/guestOsCustomization.js
CHANGED
|
@@ -9,6 +9,32 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* The `vsphere.GuestOsCustomization` resource can be used to a customization specification for a guest operating system.
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** The name attribute is unique identifier for the guest OS spec per VC.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as vsphere from "@pulumi/vsphere";
|
|
18
|
+
*
|
|
19
|
+
* const windows = new vsphere.GuestOsCustomization("windows", {
|
|
20
|
+
* name: "windows",
|
|
21
|
+
* type: "Windows",
|
|
22
|
+
* spec: {
|
|
23
|
+
* windowsOptions: {
|
|
24
|
+
* runOnceCommandLists: [
|
|
25
|
+
* "command-1",
|
|
26
|
+
* "command-2",
|
|
27
|
+
* ],
|
|
28
|
+
* computerName: "windows",
|
|
29
|
+
* autoLogon: false,
|
|
30
|
+
* autoLogonCount: 0,
|
|
31
|
+
* adminPassword: "VMware1!",
|
|
32
|
+
* timeZone: 4,
|
|
33
|
+
* workgroup: "workgroup",
|
|
34
|
+
* },
|
|
35
|
+
* },
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
12
38
|
*/
|
|
13
39
|
class GuestOsCustomization extends pulumi.CustomResource {
|
|
14
40
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guestOsCustomization.js","sourceRoot":"","sources":["../guestOsCustomization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"guestOsCustomization.js","sourceRoot":"","sources":["../guestOsCustomization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CA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