@stordata/vsphere-soapify 0.0.36 → 0.0.38
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/lib/client.js +2 -2
- package/lib/client.spec.js +117 -0
- package/lib/sdk/data/HostProtocolEndpoint.js +22 -0
- package/lib/sdk/data/HostSerialAttachedTargetTransport.js +5 -0
- package/lib/sdk/data/HostVvolVolume.js +14 -0
- package/lib/sdk/data/VASAStorageArray.js +14 -0
- package/lib/sdk/data/VVolHostPE.js +12 -0
- package/lib/sdk/data/VimVasaProvider.js +14 -0
- package/lib/sdk/data/VimVasaProviderInfo.js +12 -0
- package/lib/sdk/data/VimVasaProviderStatePerArray.js +13 -0
- package/lib/sdk/data/VvolDatastoreInfo.js +12 -0
- package/lib/sdk/data/index.js +10 -1
- package/lib/wsdl/6.5/core-types.xsd +277 -0
- package/lib/wsdl/6.5/query-messagetypes.xsd +85 -0
- package/lib/wsdl/6.5/query-types.xsd +254 -0
- package/lib/wsdl/6.5/reflect-messagetypes.xsd +15 -0
- package/lib/wsdl/6.5/reflect-types.xsd +14 -0
- package/lib/wsdl/6.5/vim-messagetypes.xsd +5267 -0
- package/lib/wsdl/6.5/vim-types.xsd +32649 -0
- package/lib/wsdl/6.5/vim.wsdl +32199 -0
- package/lib/wsdl/6.5/vimService.wsdl +16 -0
- package/package.json +10 -10
package/lib/client.js
CHANGED
|
@@ -34,14 +34,14 @@ module.exports = class Client {
|
|
|
34
34
|
* Creates a node-soap Client instance.
|
|
35
35
|
* This call will try to connect to the vSphere API, fetch the WSDL files and initialize the client instance.
|
|
36
36
|
*
|
|
37
|
-
* Normally you wouldn't use this method directly,
|
|
37
|
+
* Normally you wouldn't use this method directly, but rather one of the getter for core managed objects, then
|
|
38
38
|
* call managed methods directly on the managed object. This method is however exposed for convenience, or if
|
|
39
39
|
* the call you're interested in isn't modelled by the library yet.
|
|
40
40
|
*
|
|
41
41
|
* @returns {Promise<soap.Client>} A Promise resolving with the node-soap Client.
|
|
42
42
|
*/
|
|
43
43
|
getClient() {
|
|
44
|
-
const wsdl = `${__dirname}/wsdl/
|
|
44
|
+
const wsdl = `${__dirname}/wsdl/6.5/vimService.wsdl`;
|
|
45
45
|
|
|
46
46
|
return this._cache('client', () => soap.createClientAsync(wsdl, { endpoint: this.url, ...this.options }));
|
|
47
47
|
}
|
package/lib/client.spec.js
CHANGED
|
@@ -16720,6 +16720,123 @@ describe('The Client class', function() {
|
|
|
16720
16720
|
});
|
|
16721
16721
|
});
|
|
16722
16722
|
|
|
16723
|
+
it('should return an array of Datastores instances, using v6.5 of the WSDL', function() {
|
|
16724
|
+
this.mockSoapOperation('6.5', 'RetrieveServiceContent');
|
|
16725
|
+
this.mockSoapOperation('6.5', 'getDatastores/full/CreateContainerView');
|
|
16726
|
+
this.mockSoapOperation('6.5', 'getDatastores/full/RetrievePropertiesEx');
|
|
16727
|
+
|
|
16728
|
+
return client.getDatastores().then((ds) => {
|
|
16729
|
+
expect(ds).to.deep.equal([
|
|
16730
|
+
{
|
|
16731
|
+
alarmActionsEnabled: true,
|
|
16732
|
+
browser: {
|
|
16733
|
+
ref: 'datastoreBrowser-datastore-2033'
|
|
16734
|
+
},
|
|
16735
|
+
capability: {
|
|
16736
|
+
directoryHierarchySupported: true,
|
|
16737
|
+
perFileThinProvisioningSupported: true,
|
|
16738
|
+
rawDiskMappingsSupported: false,
|
|
16739
|
+
storageIORMSupported: false
|
|
16740
|
+
},
|
|
16741
|
+
configStatus: 'gray',
|
|
16742
|
+
host: [
|
|
16743
|
+
{
|
|
16744
|
+
key: {
|
|
16745
|
+
ref: 'host-434'
|
|
16746
|
+
},
|
|
16747
|
+
mountInfo: {
|
|
16748
|
+
accessMode: 'readWrite',
|
|
16749
|
+
accessible: true,
|
|
16750
|
+
mounted: true,
|
|
16751
|
+
path: '/vmfs/volumes/vvol:9c7ac6397f1b4371-b73a000000989970'
|
|
16752
|
+
}
|
|
16753
|
+
}
|
|
16754
|
+
],
|
|
16755
|
+
info: {
|
|
16756
|
+
freeSpace: 19949158400,
|
|
16757
|
+
maxFileSize: 17592186044416,
|
|
16758
|
+
name: 'Test_again_VVOL',
|
|
16759
|
+
timestamp: new Date('2024-11-22T09:42:44.725Z'),
|
|
16760
|
+
url: 'ds:///vmfs/volumes/vvol:9c7ac6397f1b4371-b73a000000989970/',
|
|
16761
|
+
vvolDS: {
|
|
16762
|
+
hostPE: [
|
|
16763
|
+
{
|
|
16764
|
+
key: {
|
|
16765
|
+
ref: 'host-434'
|
|
16766
|
+
},
|
|
16767
|
+
protocolEndpoint: [
|
|
16768
|
+
{
|
|
16769
|
+
deviceId: 'naa.600a09803830456f302b524e6336384c',
|
|
16770
|
+
peType: 'block',
|
|
16771
|
+
storageArray: 'NetApp.clustered.Data.ONTAP.VP:9c7ac6397f1b4371b73a000000989749',
|
|
16772
|
+
type: 'scsi',
|
|
16773
|
+
uuid: '9c7ac6397f1b4371b73a0000009897e3'
|
|
16774
|
+
}
|
|
16775
|
+
]
|
|
16776
|
+
}
|
|
16777
|
+
],
|
|
16778
|
+
scId: 'vvol:9c7ac6397f1b4371-b73a000000989970',
|
|
16779
|
+
storageArray: [
|
|
16780
|
+
{
|
|
16781
|
+
modelId: 'FAS2650',
|
|
16782
|
+
name: 'dev_ucs_fc',
|
|
16783
|
+
uuid: 'NetApp.clustered.Data.ONTAP.VP:9c7ac6397f1b4371b73a000000989749',
|
|
16784
|
+
vendorId: 'NETAPP'
|
|
16785
|
+
}
|
|
16786
|
+
],
|
|
16787
|
+
vasaProviderInfo: [
|
|
16788
|
+
{
|
|
16789
|
+
arrayState: [
|
|
16790
|
+
{
|
|
16791
|
+
active: true,
|
|
16792
|
+
arrayId: 'NetApp.clustered.Data.ONTAP.VP:9c7ac6397f1b4371b73a000000989749',
|
|
16793
|
+
priority: 255
|
|
16794
|
+
}
|
|
16795
|
+
],
|
|
16796
|
+
provider: {
|
|
16797
|
+
name: 'NetApp-VP',
|
|
16798
|
+
url: 'https://10.78.7.169:9083/version.xml'
|
|
16799
|
+
}
|
|
16800
|
+
}
|
|
16801
|
+
]
|
|
16802
|
+
}
|
|
16803
|
+
},
|
|
16804
|
+
iormConfiguration: {
|
|
16805
|
+
congestionThreshold: 30,
|
|
16806
|
+
enabled: false,
|
|
16807
|
+
statsAggregationDisabled: false,
|
|
16808
|
+
statsCollectionEnabled: false
|
|
16809
|
+
},
|
|
16810
|
+
name: 'Test_again_VVOL',
|
|
16811
|
+
overallStatus: 'green',
|
|
16812
|
+
parent: {
|
|
16813
|
+
ref: 'group-s5'
|
|
16814
|
+
},
|
|
16815
|
+
ref: 'datastore-2033',
|
|
16816
|
+
summary: {
|
|
16817
|
+
accessible: true,
|
|
16818
|
+
capacity: 32212254720,
|
|
16819
|
+
datastore: {
|
|
16820
|
+
ref: 'datastore-2033'
|
|
16821
|
+
},
|
|
16822
|
+
freeSpace: 19949158400,
|
|
16823
|
+
maintenanceMode: 'normal',
|
|
16824
|
+
multipleHostAccess: false,
|
|
16825
|
+
name: 'Test_again_VVOL',
|
|
16826
|
+
type: 'VVOL',
|
|
16827
|
+
url: 'ds:///vmfs/volumes/vvol:9c7ac6397f1b4371-b73a000000989970/'
|
|
16828
|
+
},
|
|
16829
|
+
triggeredAlarmState: [],
|
|
16830
|
+
vm: [
|
|
16831
|
+
{
|
|
16832
|
+
ref: 'vm-2017'
|
|
16833
|
+
}
|
|
16834
|
+
]
|
|
16835
|
+
}
|
|
16836
|
+
]);
|
|
16837
|
+
});
|
|
16838
|
+
});
|
|
16839
|
+
|
|
16723
16840
|
});
|
|
16724
16841
|
|
|
16725
16842
|
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const DynamicData = require('./DynamicData');
|
|
4
|
+
|
|
5
|
+
module.exports = class HostProtocolEndpoint extends DynamicData {
|
|
6
|
+
static mappings() {
|
|
7
|
+
return {
|
|
8
|
+
deviceId: 'xsd:string',
|
|
9
|
+
hostKey: 'ManagedObjectReference',
|
|
10
|
+
nfsDir: 'xsd:string',
|
|
11
|
+
nfsServer: 'xsd:string',
|
|
12
|
+
nfsServerAuthType: 'xsd:string',
|
|
13
|
+
nfsServerMajor: 'xsd:string',
|
|
14
|
+
nfsServerScope: 'xsd:string',
|
|
15
|
+
nfsServerUser: 'xsd:string',
|
|
16
|
+
peType: 'HostProtocolEndpointPEType',
|
|
17
|
+
storageArray: 'xsd:string',
|
|
18
|
+
type: 'HostProtocolEndpointProtocolEndpointType',
|
|
19
|
+
uuid: 'xsd:string'
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const HostFileSystemVolume = require('./HostFileSystemVolume');
|
|
4
|
+
|
|
5
|
+
module.exports = class HostVvolVolume extends HostFileSystemVolume {
|
|
6
|
+
static mappings() {
|
|
7
|
+
return {
|
|
8
|
+
hostPE: 'ArrayOfVVolHostPE',
|
|
9
|
+
scId: 'xsd:string',
|
|
10
|
+
storageArray: 'ArrayOfVASAStorageArray',
|
|
11
|
+
vasaProviderInfo: 'ArrayOfVimVasaProviderInfo'
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const DynamicData = require('./DynamicData');
|
|
4
|
+
|
|
5
|
+
module.exports = class VASAStorageArray extends DynamicData {
|
|
6
|
+
static mappings() {
|
|
7
|
+
return {
|
|
8
|
+
modelId: 'xsd:string',
|
|
9
|
+
name: 'xsd:string',
|
|
10
|
+
uuid: 'xsd:string',
|
|
11
|
+
vendorId: 'xsd:string'
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const DynamicData = require('./DynamicData');
|
|
4
|
+
|
|
5
|
+
module.exports = class VimVasaProvider extends DynamicData {
|
|
6
|
+
static mappings() {
|
|
7
|
+
return {
|
|
8
|
+
name: 'xsd:string',
|
|
9
|
+
selfSignedCertificate: 'xsd:string',
|
|
10
|
+
uid: 'xsd:string',
|
|
11
|
+
url: 'xsd:string'
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const DynamicData = require('./DynamicData');
|
|
4
|
+
|
|
5
|
+
module.exports = class VimVasaProviderInfo extends DynamicData {
|
|
6
|
+
static mappings() {
|
|
7
|
+
return {
|
|
8
|
+
arrayState: 'ArrayOfVimVasaProviderStatePerArray',
|
|
9
|
+
provider: 'VimVasaProvider'
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const DynamicData = require('./DynamicData');
|
|
4
|
+
|
|
5
|
+
module.exports = class VimVasaProviderStatePerArray extends DynamicData {
|
|
6
|
+
static mappings() {
|
|
7
|
+
return {
|
|
8
|
+
active: 'xsd:boolean',
|
|
9
|
+
arrayId: 'xsd:string',
|
|
10
|
+
priority: 'xsd:int'
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
};
|
package/lib/sdk/data/index.js
CHANGED
|
@@ -252,5 +252,14 @@ module.exports = {
|
|
|
252
252
|
RetrieveOptions: require('./RetrieveOptions'),
|
|
253
253
|
HostBlockHba: require('./HostBlockHba'),
|
|
254
254
|
HostFibreChannelHba: require('./HostFibreChannelHba'),
|
|
255
|
-
HostParallelScsiHba: require('./HostParallelScsiHba')
|
|
255
|
+
HostParallelScsiHba: require('./HostParallelScsiHba'),
|
|
256
|
+
HostProtocolEndpoint: require('./HostProtocolEndpoint'),
|
|
257
|
+
HostVvolVolume: require('./HostVvolVolume'),
|
|
258
|
+
VASAStorageArray: require('./VASAStorageArray'),
|
|
259
|
+
VVolHostPE: require('./VVolHostPE'),
|
|
260
|
+
VimVasaProvider: require('./VimVasaProvider'),
|
|
261
|
+
VimVasaProviderInfo: require('./VimVasaProviderInfo'),
|
|
262
|
+
VimVasaProviderStatePerArray: require('./VimVasaProviderStatePerArray'),
|
|
263
|
+
VvolDatastoreInfo: require('./VvolDatastoreInfo'),
|
|
264
|
+
HostSerialAttachedTargetTransport: require('./HostSerialAttachedTargetTransport')
|
|
256
265
|
};
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
+
<!--
|
|
3
|
+
Copyright 2005-2016 VMware, Inc. All rights reserved.
|
|
4
|
+
-->
|
|
5
|
+
<schema
|
|
6
|
+
targetNamespace="urn:vim25"
|
|
7
|
+
xmlns="http://www.w3.org/2001/XMLSchema"
|
|
8
|
+
xmlns:vim25="urn:vim25"
|
|
9
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
10
|
+
elementFormDefault="qualified"
|
|
11
|
+
>
|
|
12
|
+
<complexType name="DynamicArray">
|
|
13
|
+
<sequence>
|
|
14
|
+
<element name="val" type="xsd:anyType" maxOccurs="unbounded" />
|
|
15
|
+
</sequence>
|
|
16
|
+
</complexType>
|
|
17
|
+
<complexType name="DynamicData">
|
|
18
|
+
<sequence>
|
|
19
|
+
</sequence>
|
|
20
|
+
</complexType>
|
|
21
|
+
<complexType name="DynamicProperty">
|
|
22
|
+
<sequence>
|
|
23
|
+
<element name="name" type="xsd:string" />
|
|
24
|
+
<element name="val" type="xsd:anyType" />
|
|
25
|
+
</sequence>
|
|
26
|
+
</complexType>
|
|
27
|
+
<complexType name="ArrayOfDynamicProperty">
|
|
28
|
+
<sequence>
|
|
29
|
+
<element name="DynamicProperty" type="vim25:DynamicProperty" minOccurs="0" maxOccurs="unbounded" />
|
|
30
|
+
</sequence>
|
|
31
|
+
</complexType>
|
|
32
|
+
<complexType name="KeyAnyValue">
|
|
33
|
+
<complexContent>
|
|
34
|
+
<extension base="vim25:DynamicData">
|
|
35
|
+
<sequence>
|
|
36
|
+
<element name="key" type="xsd:string" />
|
|
37
|
+
<element name="value" type="xsd:anyType" />
|
|
38
|
+
</sequence>
|
|
39
|
+
</extension>
|
|
40
|
+
</complexContent>
|
|
41
|
+
</complexType>
|
|
42
|
+
<complexType name="ArrayOfKeyAnyValue">
|
|
43
|
+
<sequence>
|
|
44
|
+
<element name="KeyAnyValue" type="vim25:KeyAnyValue" minOccurs="0" maxOccurs="unbounded" />
|
|
45
|
+
</sequence>
|
|
46
|
+
</complexType>
|
|
47
|
+
<complexType name="LocalizableMessage">
|
|
48
|
+
<complexContent>
|
|
49
|
+
<extension base="vim25:DynamicData">
|
|
50
|
+
<sequence>
|
|
51
|
+
<element name="key" type="xsd:string" />
|
|
52
|
+
<element name="arg" type="vim25:KeyAnyValue" minOccurs="0" maxOccurs="unbounded" />
|
|
53
|
+
<element name="message" type="xsd:string" minOccurs="0" />
|
|
54
|
+
</sequence>
|
|
55
|
+
</extension>
|
|
56
|
+
</complexContent>
|
|
57
|
+
</complexType>
|
|
58
|
+
<complexType name="ArrayOfLocalizableMessage">
|
|
59
|
+
<sequence>
|
|
60
|
+
<element name="LocalizableMessage" type="vim25:LocalizableMessage" minOccurs="0" maxOccurs="unbounded" />
|
|
61
|
+
</sequence>
|
|
62
|
+
</complexType>
|
|
63
|
+
<complexType name="LocalizedMethodFault">
|
|
64
|
+
<complexContent>
|
|
65
|
+
<extension base="vim25:DynamicData">
|
|
66
|
+
<sequence>
|
|
67
|
+
<element name="fault" type="vim25:MethodFault" />
|
|
68
|
+
<element name="localizedMessage" type="xsd:string" minOccurs="0" />
|
|
69
|
+
</sequence>
|
|
70
|
+
</extension>
|
|
71
|
+
</complexContent>
|
|
72
|
+
</complexType>
|
|
73
|
+
<complexType name="MethodFault">
|
|
74
|
+
<sequence>
|
|
75
|
+
<element name="faultCause" type="vim25:LocalizedMethodFault" minOccurs="0" />
|
|
76
|
+
<element name="faultMessage" type="vim25:LocalizableMessage" minOccurs="0" maxOccurs="unbounded" />
|
|
77
|
+
</sequence>
|
|
78
|
+
</complexType>
|
|
79
|
+
<complexType name="ArrayOfMethodFault">
|
|
80
|
+
<sequence>
|
|
81
|
+
<element name="MethodFault" type="vim25:MethodFault" minOccurs="0" maxOccurs="unbounded" />
|
|
82
|
+
</sequence>
|
|
83
|
+
</complexType>
|
|
84
|
+
<complexType name="RuntimeFault">
|
|
85
|
+
<complexContent>
|
|
86
|
+
<extension base="vim25:MethodFault">
|
|
87
|
+
<sequence>
|
|
88
|
+
</sequence>
|
|
89
|
+
</extension>
|
|
90
|
+
</complexContent>
|
|
91
|
+
</complexType>
|
|
92
|
+
<complexType name="HostCommunication">
|
|
93
|
+
<complexContent>
|
|
94
|
+
<extension base="vim25:RuntimeFault">
|
|
95
|
+
<sequence>
|
|
96
|
+
</sequence>
|
|
97
|
+
</extension>
|
|
98
|
+
</complexContent>
|
|
99
|
+
</complexType>
|
|
100
|
+
<complexType name="HostNotConnected">
|
|
101
|
+
<complexContent>
|
|
102
|
+
<extension base="vim25:HostCommunication">
|
|
103
|
+
<sequence>
|
|
104
|
+
</sequence>
|
|
105
|
+
</extension>
|
|
106
|
+
</complexContent>
|
|
107
|
+
</complexType>
|
|
108
|
+
<complexType name="HostNotReachable">
|
|
109
|
+
<complexContent>
|
|
110
|
+
<extension base="vim25:HostCommunication">
|
|
111
|
+
<sequence>
|
|
112
|
+
</sequence>
|
|
113
|
+
</extension>
|
|
114
|
+
</complexContent>
|
|
115
|
+
</complexType>
|
|
116
|
+
<complexType name="InvalidArgument">
|
|
117
|
+
<complexContent>
|
|
118
|
+
<extension base="vim25:RuntimeFault">
|
|
119
|
+
<sequence>
|
|
120
|
+
<element name="invalidProperty" type="xsd:string" minOccurs="0" />
|
|
121
|
+
</sequence>
|
|
122
|
+
</extension>
|
|
123
|
+
</complexContent>
|
|
124
|
+
</complexType>
|
|
125
|
+
<complexType name="InvalidRequest">
|
|
126
|
+
<complexContent>
|
|
127
|
+
<extension base="vim25:RuntimeFault">
|
|
128
|
+
<sequence>
|
|
129
|
+
</sequence>
|
|
130
|
+
</extension>
|
|
131
|
+
</complexContent>
|
|
132
|
+
</complexType>
|
|
133
|
+
<complexType name="InvalidType">
|
|
134
|
+
<complexContent>
|
|
135
|
+
<extension base="vim25:InvalidRequest">
|
|
136
|
+
<sequence>
|
|
137
|
+
<element name="argument" type="xsd:string" minOccurs="0" />
|
|
138
|
+
</sequence>
|
|
139
|
+
</extension>
|
|
140
|
+
</complexContent>
|
|
141
|
+
</complexType>
|
|
142
|
+
<complexType name="ManagedObjectNotFound">
|
|
143
|
+
<complexContent>
|
|
144
|
+
<extension base="vim25:RuntimeFault">
|
|
145
|
+
<sequence>
|
|
146
|
+
<element name="obj" type="vim25:ManagedObjectReference" />
|
|
147
|
+
</sequence>
|
|
148
|
+
</extension>
|
|
149
|
+
</complexContent>
|
|
150
|
+
</complexType>
|
|
151
|
+
<complexType name="MethodNotFound">
|
|
152
|
+
<complexContent>
|
|
153
|
+
<extension base="vim25:InvalidRequest">
|
|
154
|
+
<sequence>
|
|
155
|
+
<element name="receiver" type="vim25:ManagedObjectReference" />
|
|
156
|
+
<element name="method" type="xsd:string" />
|
|
157
|
+
</sequence>
|
|
158
|
+
</extension>
|
|
159
|
+
</complexContent>
|
|
160
|
+
</complexType>
|
|
161
|
+
<complexType name="NotEnoughLicenses">
|
|
162
|
+
<complexContent>
|
|
163
|
+
<extension base="vim25:RuntimeFault">
|
|
164
|
+
<sequence>
|
|
165
|
+
</sequence>
|
|
166
|
+
</extension>
|
|
167
|
+
</complexContent>
|
|
168
|
+
</complexType>
|
|
169
|
+
<complexType name="NotImplemented">
|
|
170
|
+
<complexContent>
|
|
171
|
+
<extension base="vim25:RuntimeFault">
|
|
172
|
+
<sequence>
|
|
173
|
+
</sequence>
|
|
174
|
+
</extension>
|
|
175
|
+
</complexContent>
|
|
176
|
+
</complexType>
|
|
177
|
+
<complexType name="NotSupported">
|
|
178
|
+
<complexContent>
|
|
179
|
+
<extension base="vim25:RuntimeFault">
|
|
180
|
+
<sequence>
|
|
181
|
+
</sequence>
|
|
182
|
+
</extension>
|
|
183
|
+
</complexContent>
|
|
184
|
+
</complexType>
|
|
185
|
+
<complexType name="RequestCanceled">
|
|
186
|
+
<complexContent>
|
|
187
|
+
<extension base="vim25:RuntimeFault">
|
|
188
|
+
<sequence>
|
|
189
|
+
</sequence>
|
|
190
|
+
</extension>
|
|
191
|
+
</complexContent>
|
|
192
|
+
</complexType>
|
|
193
|
+
<complexType name="SecurityError">
|
|
194
|
+
<complexContent>
|
|
195
|
+
<extension base="vim25:RuntimeFault">
|
|
196
|
+
<sequence>
|
|
197
|
+
</sequence>
|
|
198
|
+
</extension>
|
|
199
|
+
</complexContent>
|
|
200
|
+
</complexType>
|
|
201
|
+
<complexType name="SystemError">
|
|
202
|
+
<complexContent>
|
|
203
|
+
<extension base="vim25:RuntimeFault">
|
|
204
|
+
<sequence>
|
|
205
|
+
<element name="reason" type="xsd:string" />
|
|
206
|
+
</sequence>
|
|
207
|
+
</extension>
|
|
208
|
+
</complexContent>
|
|
209
|
+
</complexType>
|
|
210
|
+
<complexType name="UnexpectedFault">
|
|
211
|
+
<complexContent>
|
|
212
|
+
<extension base="vim25:RuntimeFault">
|
|
213
|
+
<sequence>
|
|
214
|
+
<element name="faultName" type="xsd:string" />
|
|
215
|
+
<element name="fault" type="vim25:LocalizedMethodFault" minOccurs="0" />
|
|
216
|
+
</sequence>
|
|
217
|
+
</extension>
|
|
218
|
+
</complexContent>
|
|
219
|
+
</complexType>
|
|
220
|
+
<complexType name="ManagedObjectReference">
|
|
221
|
+
<simpleContent>
|
|
222
|
+
<extension base="xsd:string">
|
|
223
|
+
<attribute name="type" type="xsd:string"/>
|
|
224
|
+
</extension>
|
|
225
|
+
</simpleContent>
|
|
226
|
+
</complexType>
|
|
227
|
+
<complexType name="ArrayOfString">
|
|
228
|
+
<sequence>
|
|
229
|
+
<element name="string" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
|
|
230
|
+
</sequence>
|
|
231
|
+
</complexType>
|
|
232
|
+
<complexType name="ArrayOfAnyType">
|
|
233
|
+
<sequence>
|
|
234
|
+
<element name="anyType" type="xsd:anyType" minOccurs="0" maxOccurs="unbounded" />
|
|
235
|
+
</sequence>
|
|
236
|
+
</complexType>
|
|
237
|
+
<complexType name="ArrayOfAnyURI">
|
|
238
|
+
<sequence>
|
|
239
|
+
<element name="anyURI" type="xsd:anyURI" minOccurs="0" maxOccurs="unbounded" />
|
|
240
|
+
</sequence>
|
|
241
|
+
</complexType>
|
|
242
|
+
<complexType name="ArrayOfManagedObjectReference">
|
|
243
|
+
<sequence>
|
|
244
|
+
<element name="ManagedObjectReference" type="vim25:ManagedObjectReference" minOccurs="0" maxOccurs="unbounded" />
|
|
245
|
+
</sequence>
|
|
246
|
+
</complexType>
|
|
247
|
+
<complexType name="ArrayOfBoolean">
|
|
248
|
+
<sequence>
|
|
249
|
+
<element name="boolean" type="xsd:boolean" minOccurs="0" maxOccurs="unbounded" />
|
|
250
|
+
</sequence>
|
|
251
|
+
</complexType>
|
|
252
|
+
<complexType name="ArrayOfByte">
|
|
253
|
+
<sequence>
|
|
254
|
+
<element name="byte" type="xsd:byte" minOccurs="0" maxOccurs="unbounded" />
|
|
255
|
+
</sequence>
|
|
256
|
+
</complexType>
|
|
257
|
+
<complexType name="ArrayOfDouble">
|
|
258
|
+
<sequence>
|
|
259
|
+
<element name="double" type="xsd:double" minOccurs="0" maxOccurs="unbounded" />
|
|
260
|
+
</sequence>
|
|
261
|
+
</complexType>
|
|
262
|
+
<complexType name="ArrayOfInt">
|
|
263
|
+
<sequence>
|
|
264
|
+
<element name="int" type="xsd:int" minOccurs="0" maxOccurs="unbounded" />
|
|
265
|
+
</sequence>
|
|
266
|
+
</complexType>
|
|
267
|
+
<complexType name="ArrayOfLong">
|
|
268
|
+
<sequence>
|
|
269
|
+
<element name="long" type="xsd:long" minOccurs="0" maxOccurs="unbounded" />
|
|
270
|
+
</sequence>
|
|
271
|
+
</complexType>
|
|
272
|
+
<complexType name="ArrayOfShort">
|
|
273
|
+
<sequence>
|
|
274
|
+
<element name="short" type="xsd:short" minOccurs="0" maxOccurs="unbounded" />
|
|
275
|
+
</sequence>
|
|
276
|
+
</complexType>
|
|
277
|
+
</schema>
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
+
<!--
|
|
3
|
+
Copyright 2005-2016 VMware, Inc. All rights reserved.
|
|
4
|
+
-->
|
|
5
|
+
<schema
|
|
6
|
+
targetNamespace="urn:vim25"
|
|
7
|
+
xmlns="http://www.w3.org/2001/XMLSchema"
|
|
8
|
+
xmlns:vim25="urn:vim25"
|
|
9
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
10
|
+
elementFormDefault="qualified"
|
|
11
|
+
>
|
|
12
|
+
<include schemaLocation="core-types.xsd" />
|
|
13
|
+
<include schemaLocation="query-types.xsd" />
|
|
14
|
+
<complexType name="DestroyPropertyFilterRequestType">
|
|
15
|
+
<sequence>
|
|
16
|
+
<element name="_this" type="vim25:ManagedObjectReference" />
|
|
17
|
+
</sequence>
|
|
18
|
+
</complexType>
|
|
19
|
+
<complexType name="CreateFilterRequestType">
|
|
20
|
+
<sequence>
|
|
21
|
+
<element name="_this" type="vim25:ManagedObjectReference" />
|
|
22
|
+
<element name="spec" type="vim25:PropertyFilterSpec" />
|
|
23
|
+
<element name="partialUpdates" type="xsd:boolean" />
|
|
24
|
+
</sequence>
|
|
25
|
+
</complexType>
|
|
26
|
+
<complexType name="RetrievePropertiesRequestType">
|
|
27
|
+
<sequence>
|
|
28
|
+
<element name="_this" type="vim25:ManagedObjectReference" />
|
|
29
|
+
<element name="specSet" type="vim25:PropertyFilterSpec" maxOccurs="unbounded" />
|
|
30
|
+
</sequence>
|
|
31
|
+
</complexType>
|
|
32
|
+
<complexType name="CheckForUpdatesRequestType">
|
|
33
|
+
<sequence>
|
|
34
|
+
<element name="_this" type="vim25:ManagedObjectReference" />
|
|
35
|
+
<element name="version" type="xsd:string" minOccurs="0" />
|
|
36
|
+
</sequence>
|
|
37
|
+
</complexType>
|
|
38
|
+
<complexType name="WaitForUpdatesRequestType">
|
|
39
|
+
<sequence>
|
|
40
|
+
<element name="_this" type="vim25:ManagedObjectReference" />
|
|
41
|
+
<element name="version" type="xsd:string" minOccurs="0" />
|
|
42
|
+
</sequence>
|
|
43
|
+
</complexType>
|
|
44
|
+
<complexType name="CancelWaitForUpdatesRequestType">
|
|
45
|
+
<sequence>
|
|
46
|
+
<element name="_this" type="vim25:ManagedObjectReference" />
|
|
47
|
+
</sequence>
|
|
48
|
+
</complexType>
|
|
49
|
+
<complexType name="WaitForUpdatesExRequestType">
|
|
50
|
+
<sequence>
|
|
51
|
+
<element name="_this" type="vim25:ManagedObjectReference" />
|
|
52
|
+
<element name="version" type="xsd:string" minOccurs="0" />
|
|
53
|
+
<element name="options" type="vim25:WaitOptions" minOccurs="0" />
|
|
54
|
+
</sequence>
|
|
55
|
+
</complexType>
|
|
56
|
+
<complexType name="RetrievePropertiesExRequestType">
|
|
57
|
+
<sequence>
|
|
58
|
+
<element name="_this" type="vim25:ManagedObjectReference" />
|
|
59
|
+
<element name="specSet" type="vim25:PropertyFilterSpec" maxOccurs="unbounded" />
|
|
60
|
+
<element name="options" type="vim25:RetrieveOptions" />
|
|
61
|
+
</sequence>
|
|
62
|
+
</complexType>
|
|
63
|
+
<complexType name="ContinueRetrievePropertiesExRequestType">
|
|
64
|
+
<sequence>
|
|
65
|
+
<element name="_this" type="vim25:ManagedObjectReference" />
|
|
66
|
+
<element name="token" type="xsd:string" />
|
|
67
|
+
</sequence>
|
|
68
|
+
</complexType>
|
|
69
|
+
<complexType name="CancelRetrievePropertiesExRequestType">
|
|
70
|
+
<sequence>
|
|
71
|
+
<element name="_this" type="vim25:ManagedObjectReference" />
|
|
72
|
+
<element name="token" type="xsd:string" />
|
|
73
|
+
</sequence>
|
|
74
|
+
</complexType>
|
|
75
|
+
<complexType name="CreatePropertyCollectorRequestType">
|
|
76
|
+
<sequence>
|
|
77
|
+
<element name="_this" type="vim25:ManagedObjectReference" />
|
|
78
|
+
</sequence>
|
|
79
|
+
</complexType>
|
|
80
|
+
<complexType name="DestroyPropertyCollectorRequestType">
|
|
81
|
+
<sequence>
|
|
82
|
+
<element name="_this" type="vim25:ManagedObjectReference" />
|
|
83
|
+
</sequence>
|
|
84
|
+
</complexType>
|
|
85
|
+
</schema>
|