@stordata/vsphere-soapify 0.0.26 → 0.0.28
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/.gitlab-ci.yml +1 -1
- package/.nvmrc +1 -1
- package/lib/client.js +2 -2
- package/lib/client.spec.js +384 -352
- package/lib/parser.js +8 -1
- package/lib/sdk/Instance.js +1 -1
- package/lib/sdk/data/ClusterConfigInfoEx.js +4 -2
- package/lib/sdk/data/HostBlockHba.js +5 -0
- package/lib/sdk/data/HostFibreChannelHba.js +17 -0
- package/lib/sdk/data/HostFibreChannelTargetTransport.js +2 -2
- package/lib/sdk/data/HostParallelScsiHba.js +5 -0
- package/lib/sdk/data/VirtualMachineConfigInfo.js +2 -2
- package/lib/sdk/data/VsanClusterConfigInfo.js +14 -0
- package/lib/sdk/data/VsanClusterConfigInfoHostDefaultInfo.js +13 -0
- package/lib/sdk/data/index.js +4 -1
- package/lib/wsdl/5.5/vim-types.xsd +4 -4
- package/package.json +16 -16
- package/samples/inventory/clusters.js +5 -0
package/.gitlab-ci.yml
CHANGED
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
16.13.0
|
package/lib/client.js
CHANGED
|
@@ -14,7 +14,7 @@ module.exports = class Client {
|
|
|
14
14
|
*
|
|
15
15
|
* @param {String} url The URL to the vSphere endpoint.
|
|
16
16
|
* Use the base URL only, the library manages the actual SDK endpoints automatically
|
|
17
|
-
* @param {Object} [requestOptions
|
|
17
|
+
* @param {Object} [requestOptions] Options given to request. See https://github.com/request/request#requestoptions-callback
|
|
18
18
|
* @param {Object} [features] An optional list of feature flags to control advanced settings of the created Client
|
|
19
19
|
* @param {boolean} [features.alwaysUseMaxSampleInQuerySpec=false] Whether to force the use of `maxSample` in QuerySpec objects,
|
|
20
20
|
* even though this might form invalid calls. Use with caution !
|
|
@@ -22,7 +22,7 @@ module.exports = class Client {
|
|
|
22
22
|
*
|
|
23
23
|
* @constructor
|
|
24
24
|
*/
|
|
25
|
-
constructor(url, requestOptions
|
|
25
|
+
constructor(url, requestOptions, features) {
|
|
26
26
|
this.url = url;
|
|
27
27
|
this.requestOptions = requestOptions;
|
|
28
28
|
this.features = _.defaults(features, DEFAULT_FEATURES);
|