@nutanix-scratch/objects-js-client 4.0.1-alpha.2
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/LICENSE.txt +49 -0
- package/README.md +200 -0
- package/dist/Ntnx-Objects-js-client-prod.js +1 -0
- package/dist/Ntnx-Objects-js-client.js +729 -0
- package/dist/es/ApiClient.d.ts +159 -0
- package/dist/es/ApiClient.js +1211 -0
- package/dist/es/Paginable.d.ts +95 -0
- package/dist/es/Paginable.js +287 -0
- package/dist/es/apis/objectstores-endpoints.d.ts +231 -0
- package/dist/es/apis/objectstores-endpoints.js +522 -0
- package/dist/es/index.d.ts +64 -0
- package/dist/es/index.js +252 -0
- package/dist/es/models/common/v1/config/FQDN.d.ts +48 -0
- package/dist/es/models/common/v1/config/FQDN.js +242 -0
- package/dist/es/models/common/v1/config/Flag.d.ts +58 -0
- package/dist/es/models/common/v1/config/Flag.js +275 -0
- package/dist/es/models/common/v1/config/IPAddress.d.ts +61 -0
- package/dist/es/models/common/v1/config/IPAddress.js +291 -0
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +62 -0
- package/dist/es/models/common/v1/config/IPv4Address.js +288 -0
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +62 -0
- package/dist/es/models/common/v1/config/IPv6Address.js +288 -0
- package/dist/es/models/common/v1/config/KVPair.d.ts +62 -0
- package/dist/es/models/common/v1/config/KVPair.js +332 -0
- package/dist/es/models/common/v1/config/Message.d.ts +84 -0
- package/dist/es/models/common/v1/config/Message.js +354 -0
- package/dist/es/models/common/v1/config/MessageSeverity.d.ts +19 -0
- package/dist/es/models/common/v1/config/MessageSeverity.js +91 -0
- package/dist/es/models/common/v1/config/Metadata.d.ts +98 -0
- package/dist/es/models/common/v1/config/Metadata.js +411 -0
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +50 -0
- package/dist/es/models/common/v1/config/TenantAwareModel.js +243 -0
- package/dist/es/models/common/v1/response/ApiLink.d.ts +62 -0
- package/dist/es/models/common/v1/response/ApiLink.js +280 -0
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +98 -0
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +438 -0
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +42 -0
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +270 -0
- package/dist/es/models/objects/v4/error/AppMessage.d.ts +108 -0
- package/dist/es/models/objects/v4/error/AppMessage.js +432 -0
- package/dist/es/models/objects/v4/error/ErrorResponse.d.ts +48 -0
- package/dist/es/models/objects/v4/error/ErrorResponse.js +288 -0
- package/dist/es/models/objects/v4/error/SchemaValidationError.d.ts +98 -0
- package/dist/es/models/objects/v4/error/SchemaValidationError.js +407 -0
- package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +74 -0
- package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.js +318 -0
- package/dist/es/models/objects/v4/operations/Certificate.d.ts +78 -0
- package/dist/es/models/objects/v4/operations/Certificate.js +411 -0
- package/dist/es/models/objects/v4/operations/CertificateApiResponse.d.ts +59 -0
- package/dist/es/models/objects/v4/operations/CertificateApiResponse.js +311 -0
- package/dist/es/models/objects/v4/operations/CertificateListApiResponse.d.ts +59 -0
- package/dist/es/models/objects/v4/operations/CertificateListApiResponse.js +338 -0
- package/dist/es/models/objects/v4/operations/CertificateProjection.d.ts +9 -0
- package/dist/es/models/objects/v4/operations/CertificateProjection.js +131 -0
- package/dist/es/models/objects/v4/operations/Objectstore.d.ts +242 -0
- package/dist/es/models/objects/v4/operations/Objectstore.js +945 -0
- package/dist/es/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +59 -0
- package/dist/es/models/objects/v4/operations/ObjectstoreApiResponse.js +311 -0
- package/dist/es/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +59 -0
- package/dist/es/models/objects/v4/operations/ObjectstoreListApiResponse.js +338 -0
- package/dist/es/models/objects/v4/operations/ObjectstoreProjection.d.ts +50 -0
- package/dist/es/models/objects/v4/operations/ObjectstoreProjection.js +298 -0
- package/dist/es/models/objects/v4/operations/StateEnum.d.ts +19 -0
- package/dist/es/models/objects/v4/operations/StateEnum.js +145 -0
- package/dist/es/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +59 -0
- package/dist/es/models/objects/v4/operations/TaskReferenceApiResponse.js +311 -0
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +50 -0
- package/dist/es/models/prism/v4/config/TaskReference.js +247 -0
- package/dist/es/models/validation/ValidationError.d.ts +13 -0
- package/dist/es/models/validation/ValidationError.js +60 -0
- package/dist/es/models/validation/ValidationScopes.d.ts +9 -0
- package/dist/es/models/validation/ValidationScopes.js +38 -0
- package/dist/es/utils/ValidationUtils.d.ts +13 -0
- package/dist/es/utils/ValidationUtils.js +85 -0
- package/dist/lib/ApiClient.d.ts +159 -0
- package/dist/lib/ApiClient.js +1211 -0
- package/dist/lib/Paginable.d.ts +95 -0
- package/dist/lib/Paginable.js +287 -0
- package/dist/lib/apis/objectstores-endpoints.d.ts +231 -0
- package/dist/lib/apis/objectstores-endpoints.js +522 -0
- package/dist/lib/index.d.ts +64 -0
- package/dist/lib/index.js +252 -0
- package/dist/lib/models/common/v1/config/FQDN.d.ts +48 -0
- package/dist/lib/models/common/v1/config/FQDN.js +242 -0
- package/dist/lib/models/common/v1/config/Flag.d.ts +58 -0
- package/dist/lib/models/common/v1/config/Flag.js +275 -0
- package/dist/lib/models/common/v1/config/IPAddress.d.ts +61 -0
- package/dist/lib/models/common/v1/config/IPAddress.js +291 -0
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +62 -0
- package/dist/lib/models/common/v1/config/IPv4Address.js +288 -0
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +62 -0
- package/dist/lib/models/common/v1/config/IPv6Address.js +288 -0
- package/dist/lib/models/common/v1/config/KVPair.d.ts +62 -0
- package/dist/lib/models/common/v1/config/KVPair.js +332 -0
- package/dist/lib/models/common/v1/config/Message.d.ts +84 -0
- package/dist/lib/models/common/v1/config/Message.js +354 -0
- package/dist/lib/models/common/v1/config/MessageSeverity.d.ts +19 -0
- package/dist/lib/models/common/v1/config/MessageSeverity.js +91 -0
- package/dist/lib/models/common/v1/config/Metadata.d.ts +98 -0
- package/dist/lib/models/common/v1/config/Metadata.js +411 -0
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +50 -0
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +243 -0
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +62 -0
- package/dist/lib/models/common/v1/response/ApiLink.js +280 -0
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +98 -0
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +438 -0
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +42 -0
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +270 -0
- package/dist/lib/models/objects/v4/error/AppMessage.d.ts +108 -0
- package/dist/lib/models/objects/v4/error/AppMessage.js +432 -0
- package/dist/lib/models/objects/v4/error/ErrorResponse.d.ts +48 -0
- package/dist/lib/models/objects/v4/error/ErrorResponse.js +288 -0
- package/dist/lib/models/objects/v4/error/SchemaValidationError.d.ts +98 -0
- package/dist/lib/models/objects/v4/error/SchemaValidationError.js +407 -0
- package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +74 -0
- package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.js +318 -0
- package/dist/lib/models/objects/v4/operations/Certificate.d.ts +78 -0
- package/dist/lib/models/objects/v4/operations/Certificate.js +411 -0
- package/dist/lib/models/objects/v4/operations/CertificateApiResponse.d.ts +59 -0
- package/dist/lib/models/objects/v4/operations/CertificateApiResponse.js +311 -0
- package/dist/lib/models/objects/v4/operations/CertificateListApiResponse.d.ts +59 -0
- package/dist/lib/models/objects/v4/operations/CertificateListApiResponse.js +338 -0
- package/dist/lib/models/objects/v4/operations/CertificateProjection.d.ts +9 -0
- package/dist/lib/models/objects/v4/operations/CertificateProjection.js +131 -0
- package/dist/lib/models/objects/v4/operations/Objectstore.d.ts +242 -0
- package/dist/lib/models/objects/v4/operations/Objectstore.js +945 -0
- package/dist/lib/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +59 -0
- package/dist/lib/models/objects/v4/operations/ObjectstoreApiResponse.js +311 -0
- package/dist/lib/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +59 -0
- package/dist/lib/models/objects/v4/operations/ObjectstoreListApiResponse.js +338 -0
- package/dist/lib/models/objects/v4/operations/ObjectstoreProjection.d.ts +50 -0
- package/dist/lib/models/objects/v4/operations/ObjectstoreProjection.js +298 -0
- package/dist/lib/models/objects/v4/operations/StateEnum.d.ts +19 -0
- package/dist/lib/models/objects/v4/operations/StateEnum.js +145 -0
- package/dist/lib/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +59 -0
- package/dist/lib/models/objects/v4/operations/TaskReferenceApiResponse.js +311 -0
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +50 -0
- package/dist/lib/models/prism/v4/config/TaskReference.js +247 -0
- package/dist/lib/models/validation/ValidationError.d.ts +13 -0
- package/dist/lib/models/validation/ValidationError.js +60 -0
- package/dist/lib/models/validation/ValidationScopes.d.ts +9 -0
- package/dist/lib/models/validation/ValidationScopes.js +38 -0
- package/dist/lib/utils/ValidationUtils.d.ts +13 -0
- package/dist/lib/utils/ValidationUtils.js +85 -0
- package/package.json +53 -0
|
@@ -0,0 +1,945 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _IPAddress = _interopRequireDefault(require("../../../common/v1/config/IPAddress"));
|
|
8
|
+
var _Metadata = _interopRequireDefault(require("../../../common/v1/config/Metadata"));
|
|
9
|
+
var _ApiLink = _interopRequireDefault(require("../../../common/v1/response/ApiLink"));
|
|
10
|
+
var _ExternalizableAbstractModel = _interopRequireDefault(require("../../../common/v1/response/ExternalizableAbstractModel"));
|
|
11
|
+
var _StateEnum = _interopRequireDefault(require("./StateEnum"));
|
|
12
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
13
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
14
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
16
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
17
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
18
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
19
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
20
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
21
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
22
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
23
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
24
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
25
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
26
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
27
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
28
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
30
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
31
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
32
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
33
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
34
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
35
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
36
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
37
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
38
|
+
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
39
|
+
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } } /*
|
|
40
|
+
* Nutanix Objects Storage Management APIs
|
|
41
|
+
*
|
|
42
|
+
* OpenAPI spec version: 4.0.1-alpha-2
|
|
43
|
+
*
|
|
44
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
45
|
+
*
|
|
46
|
+
* Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
|
|
47
|
+
*
|
|
48
|
+
* Do not edit the class manually.
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* The Objectstore model module.
|
|
53
|
+
* @module Ntnx/Objectstore
|
|
54
|
+
* @version 4.0.1-alpha-2
|
|
55
|
+
* @class Objectstore
|
|
56
|
+
*
|
|
57
|
+
* @param { String } name The name of the Object store.
|
|
58
|
+
*/
|
|
59
|
+
var _Objectstore_brand = /*#__PURE__*/new WeakSet();
|
|
60
|
+
var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbstra) {
|
|
61
|
+
/**
|
|
62
|
+
* Constructs a new <code>Objectstore</code>.
|
|
63
|
+
* @alias module:Ntnx/Objectstore
|
|
64
|
+
* @extends module:Ntnx/ExternalizableAbstractModel
|
|
65
|
+
*
|
|
66
|
+
* @param { String } name The name of the Object store.
|
|
67
|
+
*/
|
|
68
|
+
function Objectstore(name) {
|
|
69
|
+
var _this;
|
|
70
|
+
_classCallCheck(this, Objectstore);
|
|
71
|
+
_this = _callSuper(this, Objectstore);
|
|
72
|
+
/*
|
|
73
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
74
|
+
* @param {Object} obj
|
|
75
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
76
|
+
* Otherwise, just returns the input object.
|
|
77
|
+
*/
|
|
78
|
+
_classPrivateMethodInitSpec(_this, _Objectstore_brand);
|
|
79
|
+
_this.name = name;
|
|
80
|
+
_this.$objectType = "objects.v4.operations.Objectstore";
|
|
81
|
+
_this.$reserved = {
|
|
82
|
+
'$fv': "v4.r0.a2"
|
|
83
|
+
};
|
|
84
|
+
_this.$unknownFields = {};
|
|
85
|
+
return _this;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Constructs a <code>Objectstore</code> from a plain JavaScript object, optionally creating a new instance.
|
|
90
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
91
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
92
|
+
* @param {module:Ntnx/Objectstore} obj Optional instance to populate.
|
|
93
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
94
|
+
* @return {module:Ntnx/Objectstore} The populated <code>Objectstore</code> instance.
|
|
95
|
+
*/
|
|
96
|
+
_inherits(Objectstore, _ExternalizableAbstra);
|
|
97
|
+
return _createClass(Objectstore, [{
|
|
98
|
+
key: "getMetadata",
|
|
99
|
+
value:
|
|
100
|
+
/**
|
|
101
|
+
* @return {}
|
|
102
|
+
*/
|
|
103
|
+
function getMetadata() {
|
|
104
|
+
return this.metadata;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @param {} metadata
|
|
109
|
+
*/
|
|
110
|
+
}, {
|
|
111
|
+
key: "setMetadata",
|
|
112
|
+
value: function setMetadata(metadata) {
|
|
113
|
+
this.metadata = metadata;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Returns The name of the Object store.
|
|
118
|
+
* @return {}
|
|
119
|
+
*/
|
|
120
|
+
}, {
|
|
121
|
+
key: "getName",
|
|
122
|
+
value: function getName() {
|
|
123
|
+
return this.name;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Sets The name of the Object store.
|
|
128
|
+
* @param {} name The name of the Object store.
|
|
129
|
+
*/
|
|
130
|
+
}, {
|
|
131
|
+
key: "setName",
|
|
132
|
+
value: function setName(name) {
|
|
133
|
+
this.name = name;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Returns The time when the Object store was created.
|
|
138
|
+
* @return {}
|
|
139
|
+
*/
|
|
140
|
+
}, {
|
|
141
|
+
key: "getCreationTime",
|
|
142
|
+
value: function getCreationTime() {
|
|
143
|
+
return this.creationTime;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Sets The time when the Object store was created.
|
|
148
|
+
* @param {} creationTime The time when the Object store was created.
|
|
149
|
+
*/
|
|
150
|
+
}, {
|
|
151
|
+
key: "setCreationTime",
|
|
152
|
+
value: function setCreationTime(creationTime) {
|
|
153
|
+
this.creationTime = creationTime;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Returns The time when the Object store was last updated.
|
|
158
|
+
* @return {}
|
|
159
|
+
*/
|
|
160
|
+
}, {
|
|
161
|
+
key: "getLastUpdateTime",
|
|
162
|
+
value: function getLastUpdateTime() {
|
|
163
|
+
return this.lastUpdateTime;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Sets The time when the Object store was last updated.
|
|
168
|
+
* @param {} lastUpdateTime The time when the Object store was last updated.
|
|
169
|
+
*/
|
|
170
|
+
}, {
|
|
171
|
+
key: "setLastUpdateTime",
|
|
172
|
+
value: function setLastUpdateTime(lastUpdateTime) {
|
|
173
|
+
this.lastUpdateTime = lastUpdateTime;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Returns A brief description of the Object store.
|
|
178
|
+
* @return {}
|
|
179
|
+
*/
|
|
180
|
+
}, {
|
|
181
|
+
key: "getDescription",
|
|
182
|
+
value: function getDescription() {
|
|
183
|
+
return this.description;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Sets A brief description of the Object store.
|
|
188
|
+
* @param {} description A brief description of the Object store.
|
|
189
|
+
*/
|
|
190
|
+
}, {
|
|
191
|
+
key: "setDescription",
|
|
192
|
+
value: function setDescription(description) {
|
|
193
|
+
this.description = description;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Returns Object store deployment version.
|
|
198
|
+
* @return {}
|
|
199
|
+
*/
|
|
200
|
+
}, {
|
|
201
|
+
key: "getDeploymentVersion",
|
|
202
|
+
value: function getDeploymentVersion() {
|
|
203
|
+
return this.deploymentVersion;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Sets Object store deployment version.
|
|
208
|
+
* @param {} deploymentVersion Object store deployment version.
|
|
209
|
+
*/
|
|
210
|
+
}, {
|
|
211
|
+
key: "setDeploymentVersion",
|
|
212
|
+
value: function setDeploymentVersion(deploymentVersion) {
|
|
213
|
+
this.deploymentVersion = deploymentVersion;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Returns The DNS domain/subdomain the Object store belongs to. All the Object stores under one Prism Central must have the same domain name. The domain name must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens, or underscores. Each part can be up to 63 characters long. The domain must begin and end with an alphanumeric character. For example - 'objects-0.pc_nutanix.com'.
|
|
218
|
+
* @return {}
|
|
219
|
+
*/
|
|
220
|
+
}, {
|
|
221
|
+
key: "getDomain",
|
|
222
|
+
value: function getDomain() {
|
|
223
|
+
return this.domain;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Sets The DNS domain/subdomain the Object store belongs to. All the Object stores under one Prism Central must have the same domain name. The domain name must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens, or underscores. Each part can be up to 63 characters long. The domain must begin and end with an alphanumeric character. For example - 'objects-0.pc_nutanix.com'.
|
|
228
|
+
* @param {} domain The DNS domain/subdomain the Object store belongs to. All the Object stores under one Prism Central must have the same domain name. The domain name must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens, or underscores. Each part can be up to 63 characters long. The domain must begin and end with an alphanumeric character. For example - 'objects-0.pc_nutanix.com'.
|
|
229
|
+
*/
|
|
230
|
+
}, {
|
|
231
|
+
key: "setDomain",
|
|
232
|
+
value: function setDomain(domain) {
|
|
233
|
+
this.domain = domain;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Returns The region in which the Object store is deployed.
|
|
238
|
+
* @return {}
|
|
239
|
+
*/
|
|
240
|
+
}, {
|
|
241
|
+
key: "getRegion",
|
|
242
|
+
value: function getRegion() {
|
|
243
|
+
return this.region;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Sets The region in which the Object store is deployed.
|
|
248
|
+
* @param {} region The region in which the Object store is deployed.
|
|
249
|
+
*/
|
|
250
|
+
}, {
|
|
251
|
+
key: "setRegion",
|
|
252
|
+
value: function setRegion(region) {
|
|
253
|
+
this.region = region;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Returns The number of worker nodes (VMs) to be created for the Object store. Each worker node requires 10 vCPUs and 32 GiB of memory.
|
|
258
|
+
* minimum: 1
|
|
259
|
+
* maximum: 1000
|
|
260
|
+
* @return {}
|
|
261
|
+
*/
|
|
262
|
+
}, {
|
|
263
|
+
key: "getNumWorkerNodes",
|
|
264
|
+
value: function getNumWorkerNodes() {
|
|
265
|
+
return this.numWorkerNodes;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Sets The number of worker nodes (VMs) to be created for the Object store. Each worker node requires 10 vCPUs and 32 GiB of memory.
|
|
270
|
+
* @param {} numWorkerNodes The number of worker nodes (VMs) to be created for the Object store. Each worker node requires 10 vCPUs and 32 GiB of memory.
|
|
271
|
+
*/
|
|
272
|
+
}, {
|
|
273
|
+
key: "setNumWorkerNodes",
|
|
274
|
+
value: function setNumWorkerNodes(numWorkerNodes) {
|
|
275
|
+
this.numWorkerNodes = numWorkerNodes;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Returns UUID of the AHV or ESXi cluster.
|
|
280
|
+
* @return {}
|
|
281
|
+
*/
|
|
282
|
+
}, {
|
|
283
|
+
key: "getClusterReference",
|
|
284
|
+
value: function getClusterReference() {
|
|
285
|
+
return this.clusterReference;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Sets UUID of the AHV or ESXi cluster.
|
|
290
|
+
* @param {} clusterReference UUID of the AHV or ESXi cluster.
|
|
291
|
+
*/
|
|
292
|
+
}, {
|
|
293
|
+
key: "setClusterReference",
|
|
294
|
+
value: function setClusterReference(clusterReference) {
|
|
295
|
+
this.clusterReference = clusterReference;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Returns Reference to the Storage Network of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
|
|
300
|
+
* @return {}
|
|
301
|
+
*/
|
|
302
|
+
}, {
|
|
303
|
+
key: "getStorageNetworkReference",
|
|
304
|
+
value: function getStorageNetworkReference() {
|
|
305
|
+
return this.storageNetworkReference;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Sets Reference to the Storage Network of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
|
|
310
|
+
* @param {} storageNetworkReference Reference to the Storage Network of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
|
|
311
|
+
*/
|
|
312
|
+
}, {
|
|
313
|
+
key: "setStorageNetworkReference",
|
|
314
|
+
value: function setStorageNetworkReference(storageNetworkReference) {
|
|
315
|
+
this.storageNetworkReference = storageNetworkReference;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* @return {}
|
|
320
|
+
*/
|
|
321
|
+
}, {
|
|
322
|
+
key: "getStorageNetworkVip",
|
|
323
|
+
value: function getStorageNetworkVip() {
|
|
324
|
+
return this.storageNetworkVip;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* @param {} storageNetworkVip
|
|
329
|
+
*/
|
|
330
|
+
}, {
|
|
331
|
+
key: "setStorageNetworkVip",
|
|
332
|
+
value: function setStorageNetworkVip(storageNetworkVip) {
|
|
333
|
+
this.storageNetworkVip = storageNetworkVip;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* @return {}
|
|
338
|
+
*/
|
|
339
|
+
}, {
|
|
340
|
+
key: "getStorageNetworkDnsIp",
|
|
341
|
+
value: function getStorageNetworkDnsIp() {
|
|
342
|
+
return this.storageNetworkDnsIp;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* @param {} storageNetworkDnsIp
|
|
347
|
+
*/
|
|
348
|
+
}, {
|
|
349
|
+
key: "setStorageNetworkDnsIp",
|
|
350
|
+
value: function setStorageNetworkDnsIp(storageNetworkDnsIp) {
|
|
351
|
+
this.storageNetworkDnsIp = storageNetworkDnsIp;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Returns Public network reference of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
|
|
356
|
+
* @return {}
|
|
357
|
+
*/
|
|
358
|
+
}, {
|
|
359
|
+
key: "getPublicNetworkReference",
|
|
360
|
+
value: function getPublicNetworkReference() {
|
|
361
|
+
return this.publicNetworkReference;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Sets Public network reference of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
|
|
366
|
+
* @param {} publicNetworkReference Public network reference of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
|
|
367
|
+
*/
|
|
368
|
+
}, {
|
|
369
|
+
key: "setPublicNetworkReference",
|
|
370
|
+
value: function setPublicNetworkReference(publicNetworkReference) {
|
|
371
|
+
this.publicNetworkReference = publicNetworkReference;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Returns A list of static IP addresses used as public IPs to access the Object store.
|
|
376
|
+
* @return {}
|
|
377
|
+
*/
|
|
378
|
+
}, {
|
|
379
|
+
key: "getPublicNetworkIps",
|
|
380
|
+
value: function getPublicNetworkIps() {
|
|
381
|
+
return this.publicNetworkIps;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Sets A list of static IP addresses used as public IPs to access the Object store.
|
|
386
|
+
* @param {} publicNetworkIps A list of static IP addresses used as public IPs to access the Object store.
|
|
387
|
+
*/
|
|
388
|
+
}, {
|
|
389
|
+
key: "setPublicNetworkIps",
|
|
390
|
+
value: function setPublicNetworkIps(publicNetworkIps) {
|
|
391
|
+
this.publicNetworkIps = publicNetworkIps;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Returns Size of the Object store in GiB.
|
|
396
|
+
* minimum: 1
|
|
397
|
+
* maximum: 178814713856
|
|
398
|
+
* @return {}
|
|
399
|
+
*/
|
|
400
|
+
}, {
|
|
401
|
+
key: "getTotalCapacityGiB",
|
|
402
|
+
value: function getTotalCapacityGiB() {
|
|
403
|
+
return this.totalCapacityGiB;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Sets Size of the Object store in GiB.
|
|
408
|
+
* @param {} totalCapacityGiB Size of the Object store in GiB.
|
|
409
|
+
*/
|
|
410
|
+
}, {
|
|
411
|
+
key: "setTotalCapacityGiB",
|
|
412
|
+
value: function setTotalCapacityGiB(totalCapacityGiB) {
|
|
413
|
+
this.totalCapacityGiB = totalCapacityGiB;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* @return {}
|
|
418
|
+
*/
|
|
419
|
+
}, {
|
|
420
|
+
key: "getState",
|
|
421
|
+
value: function getState() {
|
|
422
|
+
return this.state;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* @param {} state
|
|
427
|
+
*/
|
|
428
|
+
}, {
|
|
429
|
+
key: "setState",
|
|
430
|
+
value: function setState(state) {
|
|
431
|
+
this.state = state;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Returns UUID reference to the Object store certificate.
|
|
436
|
+
* @return {}
|
|
437
|
+
*/
|
|
438
|
+
}, {
|
|
439
|
+
key: "getCertificateReference",
|
|
440
|
+
value: function getCertificateReference() {
|
|
441
|
+
return this.certificateReference;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Sets UUID reference to the Object store certificate.
|
|
446
|
+
* @param {} certificateReference UUID reference to the Object store certificate.
|
|
447
|
+
*/
|
|
448
|
+
}, {
|
|
449
|
+
key: "setCertificateReference",
|
|
450
|
+
value: function setCertificateReference(certificateReference) {
|
|
451
|
+
this.certificateReference = certificateReference;
|
|
452
|
+
}
|
|
453
|
+
}, {
|
|
454
|
+
key: "toJson",
|
|
455
|
+
value: function toJson(forMutation) {
|
|
456
|
+
if (forMutation === false) {
|
|
457
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getMetadata() !== 'undefined' && this.getMetadata() !== null ? {
|
|
458
|
+
'metadata': this.getMetadata().toJson(false)
|
|
459
|
+
} : {}), typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
460
|
+
'name': this.getName()
|
|
461
|
+
} : {}), typeof this.getCreationTime() !== 'undefined' && this.getCreationTime() !== null ? {
|
|
462
|
+
'creationTime': this.getCreationTime()
|
|
463
|
+
} : {}), typeof this.getLastUpdateTime() !== 'undefined' && this.getLastUpdateTime() !== null ? {
|
|
464
|
+
'lastUpdateTime': this.getLastUpdateTime()
|
|
465
|
+
} : {}), typeof this.getDescription() !== 'undefined' && this.getDescription() !== null ? {
|
|
466
|
+
'description': this.getDescription()
|
|
467
|
+
} : {}), typeof this.getDeploymentVersion() !== 'undefined' && this.getDeploymentVersion() !== null ? {
|
|
468
|
+
'deploymentVersion': this.getDeploymentVersion()
|
|
469
|
+
} : {}), typeof this.getDomain() !== 'undefined' && this.getDomain() !== null ? {
|
|
470
|
+
'domain': this.getDomain()
|
|
471
|
+
} : {}), typeof this.getRegion() !== 'undefined' && this.getRegion() !== null ? {
|
|
472
|
+
'region': this.getRegion()
|
|
473
|
+
} : {}), typeof this.getNumWorkerNodes() !== 'undefined' && this.getNumWorkerNodes() !== null ? {
|
|
474
|
+
'numWorkerNodes': this.getNumWorkerNodes()
|
|
475
|
+
} : {}), typeof this.getClusterReference() !== 'undefined' && this.getClusterReference() !== null ? {
|
|
476
|
+
'clusterReference': this.getClusterReference()
|
|
477
|
+
} : {}), typeof this.getStorageNetworkReference() !== 'undefined' && this.getStorageNetworkReference() !== null ? {
|
|
478
|
+
'storageNetworkReference': this.getStorageNetworkReference()
|
|
479
|
+
} : {}), typeof this.getStorageNetworkVip() !== 'undefined' && this.getStorageNetworkVip() !== null ? {
|
|
480
|
+
'storageNetworkVip': this.getStorageNetworkVip().toJson(false)
|
|
481
|
+
} : {}), typeof this.getStorageNetworkDnsIp() !== 'undefined' && this.getStorageNetworkDnsIp() !== null ? {
|
|
482
|
+
'storageNetworkDnsIp': this.getStorageNetworkDnsIp().toJson(false)
|
|
483
|
+
} : {}), typeof this.getPublicNetworkReference() !== 'undefined' && this.getPublicNetworkReference() !== null ? {
|
|
484
|
+
'publicNetworkReference': this.getPublicNetworkReference()
|
|
485
|
+
} : {}), typeof this.getPublicNetworkIps() !== 'undefined' && this.getPublicNetworkIps() !== null ? {
|
|
486
|
+
'publicNetworkIps': this.getPublicNetworkIps().map(function (item) {
|
|
487
|
+
return item.toJson(false);
|
|
488
|
+
})
|
|
489
|
+
} : {}), typeof this.getTotalCapacityGiB() !== 'undefined' && this.getTotalCapacityGiB() !== null ? {
|
|
490
|
+
'totalCapacityGiB': this.getTotalCapacityGiB()
|
|
491
|
+
} : {}), typeof this.getState() !== 'undefined' && this.getState() !== null ? {
|
|
492
|
+
'state': this.getState()
|
|
493
|
+
} : {}), typeof this.getCertificateReference() !== 'undefined' && this.getCertificateReference() !== null ? {
|
|
494
|
+
'certificateReference': this.getCertificateReference()
|
|
495
|
+
} : {}), typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
496
|
+
'extId': this.getExtId()
|
|
497
|
+
} : {}), typeof this.getLinks() !== 'undefined' && this.getLinks() !== null ? {
|
|
498
|
+
'links': this.getLinks().map(function (item) {
|
|
499
|
+
return item.toJson(false);
|
|
500
|
+
})
|
|
501
|
+
} : {}), typeof this.getTenantId() !== 'undefined' && this.getTenantId() !== null ? {
|
|
502
|
+
'tenantId': this.getTenantId()
|
|
503
|
+
} : {}), {}, {
|
|
504
|
+
'$reserved': this.get$Reserved(),
|
|
505
|
+
'$objectType': this.get$ObjectType(),
|
|
506
|
+
'$unknownFields': this.get$UnknownFields()
|
|
507
|
+
});
|
|
508
|
+
}
|
|
509
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getMetadata() !== 'undefined' && this.getMetadata() !== null ? {
|
|
510
|
+
'metadata': this.getMetadata().toJson(false)
|
|
511
|
+
} : {}), typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
512
|
+
'name': this.getName()
|
|
513
|
+
} : {}), typeof this.getDescription() !== 'undefined' && this.getDescription() !== null ? {
|
|
514
|
+
'description': this.getDescription()
|
|
515
|
+
} : {}), typeof this.getDeploymentVersion() !== 'undefined' && this.getDeploymentVersion() !== null ? {
|
|
516
|
+
'deploymentVersion': this.getDeploymentVersion()
|
|
517
|
+
} : {}), typeof this.getDomain() !== 'undefined' && this.getDomain() !== null ? {
|
|
518
|
+
'domain': this.getDomain()
|
|
519
|
+
} : {}), typeof this.getRegion() !== 'undefined' && this.getRegion() !== null ? {
|
|
520
|
+
'region': this.getRegion()
|
|
521
|
+
} : {}), typeof this.getNumWorkerNodes() !== 'undefined' && this.getNumWorkerNodes() !== null ? {
|
|
522
|
+
'numWorkerNodes': this.getNumWorkerNodes()
|
|
523
|
+
} : {}), typeof this.getClusterReference() !== 'undefined' && this.getClusterReference() !== null ? {
|
|
524
|
+
'clusterReference': this.getClusterReference()
|
|
525
|
+
} : {}), typeof this.getStorageNetworkReference() !== 'undefined' && this.getStorageNetworkReference() !== null ? {
|
|
526
|
+
'storageNetworkReference': this.getStorageNetworkReference()
|
|
527
|
+
} : {}), typeof this.getStorageNetworkVip() !== 'undefined' && this.getStorageNetworkVip() !== null ? {
|
|
528
|
+
'storageNetworkVip': this.getStorageNetworkVip().toJson(false)
|
|
529
|
+
} : {}), typeof this.getStorageNetworkDnsIp() !== 'undefined' && this.getStorageNetworkDnsIp() !== null ? {
|
|
530
|
+
'storageNetworkDnsIp': this.getStorageNetworkDnsIp().toJson(false)
|
|
531
|
+
} : {}), typeof this.getPublicNetworkReference() !== 'undefined' && this.getPublicNetworkReference() !== null ? {
|
|
532
|
+
'publicNetworkReference': this.getPublicNetworkReference()
|
|
533
|
+
} : {}), typeof this.getPublicNetworkIps() !== 'undefined' && this.getPublicNetworkIps() !== null ? {
|
|
534
|
+
'publicNetworkIps': this.getPublicNetworkIps().map(function (item) {
|
|
535
|
+
return item.toJson(false);
|
|
536
|
+
})
|
|
537
|
+
} : {}), typeof this.getTotalCapacityGiB() !== 'undefined' && this.getTotalCapacityGiB() !== null ? {
|
|
538
|
+
'totalCapacityGiB': this.getTotalCapacityGiB()
|
|
539
|
+
} : {}), typeof this.getState() !== 'undefined' && this.getState() !== null ? {
|
|
540
|
+
'state': this.getState()
|
|
541
|
+
} : {}), typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
542
|
+
'extId': this.getExtId()
|
|
543
|
+
} : {}), {}, {
|
|
544
|
+
'$reserved': this.get$Reserved(),
|
|
545
|
+
'$objectType': this.get$ObjectType(),
|
|
546
|
+
'$unknownFields': this.get$UnknownFields()
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
}, {
|
|
550
|
+
key: "validate",
|
|
551
|
+
value: function validate(scope, properties) {
|
|
552
|
+
var _this2 = this;
|
|
553
|
+
var propList = [];
|
|
554
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
|
|
555
|
+
//cases validate() and validate(scope)
|
|
556
|
+
propList = ["name"];
|
|
557
|
+
} else if (arguments.length === 1) {
|
|
558
|
+
//case validate(properties)
|
|
559
|
+
propList = arguments[0];
|
|
560
|
+
scope = null;
|
|
561
|
+
} else {
|
|
562
|
+
//case validate(scope, properties)
|
|
563
|
+
propList = arguments[1];
|
|
564
|
+
}
|
|
565
|
+
var res = [];
|
|
566
|
+
var err = null;
|
|
567
|
+
propList.forEach(function (property) {
|
|
568
|
+
err = _this2.validateProperty(property, scope);
|
|
569
|
+
if (err) {
|
|
570
|
+
res.push(err);
|
|
571
|
+
}
|
|
572
|
+
});
|
|
573
|
+
return new Promise(function (resolve, reject) {
|
|
574
|
+
if (res.length !== 0) {
|
|
575
|
+
reject(err);
|
|
576
|
+
} else {
|
|
577
|
+
resolve();
|
|
578
|
+
}
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
}, {
|
|
582
|
+
key: "validateProperty",
|
|
583
|
+
value: function validateProperty(scope, property) {
|
|
584
|
+
if (property === "metadata") {
|
|
585
|
+
if (typeof this.metadata === 'undefined' || this.metadata === null) {
|
|
586
|
+
return new _ValidationError["default"]("metadata", "undefined or null");
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
if (property === "name") {
|
|
590
|
+
if (typeof this.name === 'undefined' || this.name === null) {
|
|
591
|
+
return new _ValidationError["default"]("name", "undefined or null");
|
|
592
|
+
}
|
|
593
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.name, 50)) {
|
|
594
|
+
return new _ValidationError["default"]("name", "does not satisfy required maxLength constraint: 50");
|
|
595
|
+
}
|
|
596
|
+
if (!_ValidationUtils["default"].validateMinLength(this.name, 1)) {
|
|
597
|
+
return new _ValidationError["default"]("name", "does not satisfy required minLength constraint: 1");
|
|
598
|
+
}
|
|
599
|
+
if (!_ValidationUtils["default"].validatePattern(this.name, /^(([a-zA-Z]|[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]))*([A-Za-z]|[A-Za-z][A-Za-z0-9-]*[A-Za-z0-9])$/)) {
|
|
600
|
+
return new _ValidationError["default"]("name", "does not satisfy required pattern: /^(([a-zA-Z]|[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]))*([A-Za-z]|[A-Za-z][A-Za-z0-9-]*[A-Za-z0-9])$/");
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
if (property === "creationTime") {
|
|
604
|
+
if (typeof this.creationTime === 'undefined' || this.creationTime === null) {
|
|
605
|
+
return new _ValidationError["default"]("creationTime", "undefined or null");
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
if (property === "lastUpdateTime") {
|
|
609
|
+
if (typeof this.lastUpdateTime === 'undefined' || this.lastUpdateTime === null) {
|
|
610
|
+
return new _ValidationError["default"]("lastUpdateTime", "undefined or null");
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
if (property === "description") {
|
|
614
|
+
if (typeof this.description === 'undefined' || this.description === null) {
|
|
615
|
+
return new _ValidationError["default"]("description", "undefined or null");
|
|
616
|
+
}
|
|
617
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.description, 1000)) {
|
|
618
|
+
return new _ValidationError["default"]("description", "does not satisfy required maxLength constraint: 1000");
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
if (property === "deploymentVersion") {
|
|
622
|
+
if (typeof this.deploymentVersion === 'undefined' || this.deploymentVersion === null) {
|
|
623
|
+
return new _ValidationError["default"]("deploymentVersion", "undefined or null");
|
|
624
|
+
}
|
|
625
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.deploymentVersion, 50)) {
|
|
626
|
+
return new _ValidationError["default"]("deploymentVersion", "does not satisfy required maxLength constraint: 50");
|
|
627
|
+
}
|
|
628
|
+
if (!_ValidationUtils["default"].validateMinLength(this.deploymentVersion, 1)) {
|
|
629
|
+
return new _ValidationError["default"]("deploymentVersion", "does not satisfy required minLength constraint: 1");
|
|
630
|
+
}
|
|
631
|
+
if (!_ValidationUtils["default"].validatePattern(this.deploymentVersion, /^[a-zA-z0-9][a-zA-z0-9\\.]*[a-zA-Z0-9]?$/)) {
|
|
632
|
+
return new _ValidationError["default"]("deploymentVersion", "does not satisfy required pattern: /^[a-zA-z0-9][a-zA-z0-9\\.]*[a-zA-Z0-9]?$/");
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
if (property === "domain") {
|
|
636
|
+
if (typeof this.domain === 'undefined' || this.domain === null) {
|
|
637
|
+
return new _ValidationError["default"]("domain", "undefined or null");
|
|
638
|
+
}
|
|
639
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.domain, 1000)) {
|
|
640
|
+
return new _ValidationError["default"]("domain", "does not satisfy required maxLength constraint: 1000");
|
|
641
|
+
}
|
|
642
|
+
if (!_ValidationUtils["default"].validateMinLength(this.domain, 1)) {
|
|
643
|
+
return new _ValidationError["default"]("domain", "does not satisfy required minLength constraint: 1");
|
|
644
|
+
}
|
|
645
|
+
if (!_ValidationUtils["default"].validatePattern(this.domain, /^(([a-zA-Z0-9_\\-]{1,63})\\.)+([a-zA-Z0-9_\\-]{1,63})$/)) {
|
|
646
|
+
return new _ValidationError["default"]("domain", "does not satisfy required pattern: /^(([a-zA-Z0-9_\\-]{1,63})\\.)+([a-zA-Z0-9_\\-]{1,63})$/");
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
if (property === "region") {
|
|
650
|
+
if (typeof this.region === 'undefined' || this.region === null) {
|
|
651
|
+
return new _ValidationError["default"]("region", "undefined or null");
|
|
652
|
+
}
|
|
653
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.region, 50)) {
|
|
654
|
+
return new _ValidationError["default"]("region", "does not satisfy required maxLength constraint: 50");
|
|
655
|
+
}
|
|
656
|
+
if (!_ValidationUtils["default"].validateMinLength(this.region, 1)) {
|
|
657
|
+
return new _ValidationError["default"]("region", "does not satisfy required minLength constraint: 1");
|
|
658
|
+
}
|
|
659
|
+
if (!_ValidationUtils["default"].validatePattern(this.region, /^[a-z]+\\-[a-z]+\\-[0-9]$/)) {
|
|
660
|
+
return new _ValidationError["default"]("region", "does not satisfy required pattern: /^[a-z]+\\-[a-z]+\\-[0-9]$/");
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
if (property === "numWorkerNodes") {
|
|
664
|
+
if (typeof this.numWorkerNodes === 'undefined' || this.numWorkerNodes === null) {
|
|
665
|
+
return new _ValidationError["default"]("numWorkerNodes", "undefined or null");
|
|
666
|
+
}
|
|
667
|
+
if (!_ValidationUtils["default"].validateMaximum(this.numWorkerNodes, 1000)) {
|
|
668
|
+
return new _ValidationError["default"]("numWorkerNodes", "does not satisfy required maximum constraint: 1000");
|
|
669
|
+
}
|
|
670
|
+
if (!_ValidationUtils["default"].validateMinimum(this.numWorkerNodes, 1)) {
|
|
671
|
+
return new _ValidationError["default"]("numWorkerNodes", "does not satisfy required minimum constraint: 1");
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
if (property === "clusterReference") {
|
|
675
|
+
if (typeof this.clusterReference === 'undefined' || this.clusterReference === null) {
|
|
676
|
+
return new _ValidationError["default"]("clusterReference", "undefined or null");
|
|
677
|
+
}
|
|
678
|
+
if (!_ValidationUtils["default"].validatePattern(this.clusterReference, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
679
|
+
return new _ValidationError["default"]("clusterReference", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
if (property === "storageNetworkReference") {
|
|
683
|
+
if (typeof this.storageNetworkReference === 'undefined' || this.storageNetworkReference === null) {
|
|
684
|
+
return new _ValidationError["default"]("storageNetworkReference", "undefined or null");
|
|
685
|
+
}
|
|
686
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.storageNetworkReference, 1000)) {
|
|
687
|
+
return new _ValidationError["default"]("storageNetworkReference", "does not satisfy required maxLength constraint: 1000");
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
if (property === "storageNetworkVip") {
|
|
691
|
+
if (typeof this.storageNetworkVip === 'undefined' || this.storageNetworkVip === null) {
|
|
692
|
+
return new _ValidationError["default"]("storageNetworkVip", "undefined or null");
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
if (property === "storageNetworkDnsIp") {
|
|
696
|
+
if (typeof this.storageNetworkDnsIp === 'undefined' || this.storageNetworkDnsIp === null) {
|
|
697
|
+
return new _ValidationError["default"]("storageNetworkDnsIp", "undefined or null");
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
if (property === "publicNetworkReference") {
|
|
701
|
+
if (typeof this.publicNetworkReference === 'undefined' || this.publicNetworkReference === null) {
|
|
702
|
+
return new _ValidationError["default"]("publicNetworkReference", "undefined or null");
|
|
703
|
+
}
|
|
704
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.publicNetworkReference, 1000)) {
|
|
705
|
+
return new _ValidationError["default"]("publicNetworkReference", "does not satisfy required maxLength constraint: 1000");
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
if (property === "publicNetworkIps") {
|
|
709
|
+
if (typeof this.publicNetworkIps === 'undefined' || this.publicNetworkIps === null) {
|
|
710
|
+
return new _ValidationError["default"]("publicNetworkIps", "undefined or null");
|
|
711
|
+
}
|
|
712
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.publicNetworkIps, 1000)) {
|
|
713
|
+
return new _ValidationError["default"]("publicNetworkIps", "does not satisfy required maxItems constraint: 1000");
|
|
714
|
+
}
|
|
715
|
+
if (!_ValidationUtils["default"].validateMinItems(this.publicNetworkIps, 1)) {
|
|
716
|
+
return new _ValidationError["default"]("publicNetworkIps", "does not satisfy required minItems constraint: 1");
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
if (property === "totalCapacityGiB") {
|
|
720
|
+
if (typeof this.totalCapacityGiB === 'undefined' || this.totalCapacityGiB === null) {
|
|
721
|
+
return new _ValidationError["default"]("totalCapacityGiB", "undefined or null");
|
|
722
|
+
}
|
|
723
|
+
if (!_ValidationUtils["default"].validateMaximum(this.totalCapacityGiB, 178814713856)) {
|
|
724
|
+
return new _ValidationError["default"]("totalCapacityGiB", "does not satisfy required maximum constraint: 178814713856");
|
|
725
|
+
}
|
|
726
|
+
if (!_ValidationUtils["default"].validateMinimum(this.totalCapacityGiB, 1)) {
|
|
727
|
+
return new _ValidationError["default"]("totalCapacityGiB", "does not satisfy required minimum constraint: 1");
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
if (property === "state") {
|
|
731
|
+
if (typeof this.state === 'undefined' || this.state === null) {
|
|
732
|
+
return new _ValidationError["default"]("state", "undefined or null");
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
if (property === "certificateReference") {
|
|
736
|
+
if (typeof this.certificateReference === 'undefined' || this.certificateReference === null) {
|
|
737
|
+
return new _ValidationError["default"]("certificateReference", "undefined or null");
|
|
738
|
+
}
|
|
739
|
+
if (!_ValidationUtils["default"].validatePattern(this.certificateReference, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
740
|
+
return new _ValidationError["default"]("certificateReference", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
return new _ValidationError["default"](property, "no such property exists");
|
|
744
|
+
}
|
|
745
|
+
}], [{
|
|
746
|
+
key: "constructFromObject",
|
|
747
|
+
value: function constructFromObject(data, obj) {
|
|
748
|
+
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
749
|
+
var items, item, i, itemArr, discriminator;
|
|
750
|
+
if (data) {
|
|
751
|
+
obj = obj || new Objectstore();
|
|
752
|
+
_ExternalizableAbstractModel["default"].constructFromObject(data, obj, true);
|
|
753
|
+
if (data.hasOwnProperty('metadata') && data.metadata !== null && data.metadata !== undefined) {
|
|
754
|
+
obj.setMetadata(_Metadata["default"].constructFromObject(data['metadata']));
|
|
755
|
+
}
|
|
756
|
+
if (data.hasOwnProperty('name') && data.name !== null && data.name !== undefined) {
|
|
757
|
+
obj.setName(data['name']);
|
|
758
|
+
}
|
|
759
|
+
if (data.hasOwnProperty('creationTime') && data.creationTime !== null && data.creationTime !== undefined) {
|
|
760
|
+
obj.setCreationTime(data['creationTime']);
|
|
761
|
+
}
|
|
762
|
+
if (data.hasOwnProperty('lastUpdateTime') && data.lastUpdateTime !== null && data.lastUpdateTime !== undefined) {
|
|
763
|
+
obj.setLastUpdateTime(data['lastUpdateTime']);
|
|
764
|
+
}
|
|
765
|
+
if (data.hasOwnProperty('description') && data.description !== null && data.description !== undefined) {
|
|
766
|
+
obj.setDescription(data['description']);
|
|
767
|
+
}
|
|
768
|
+
if (data.hasOwnProperty('deploymentVersion') && data.deploymentVersion !== null && data.deploymentVersion !== undefined) {
|
|
769
|
+
obj.setDeploymentVersion(data['deploymentVersion']);
|
|
770
|
+
}
|
|
771
|
+
if (data.hasOwnProperty('domain') && data.domain !== null && data.domain !== undefined) {
|
|
772
|
+
obj.setDomain(data['domain']);
|
|
773
|
+
}
|
|
774
|
+
if (data.hasOwnProperty('region') && data.region !== null && data.region !== undefined) {
|
|
775
|
+
obj.setRegion(data['region']);
|
|
776
|
+
}
|
|
777
|
+
if (data.hasOwnProperty('numWorkerNodes') && data.numWorkerNodes !== null && data.numWorkerNodes !== undefined) {
|
|
778
|
+
obj.setNumWorkerNodes(data['numWorkerNodes']);
|
|
779
|
+
}
|
|
780
|
+
if (data.hasOwnProperty('clusterReference') && data.clusterReference !== null && data.clusterReference !== undefined) {
|
|
781
|
+
obj.setClusterReference(data['clusterReference']);
|
|
782
|
+
}
|
|
783
|
+
if (data.hasOwnProperty('storageNetworkReference') && data.storageNetworkReference !== null && data.storageNetworkReference !== undefined) {
|
|
784
|
+
obj.setStorageNetworkReference(data['storageNetworkReference']);
|
|
785
|
+
}
|
|
786
|
+
if (data.hasOwnProperty('storageNetworkVip') && data.storageNetworkVip !== null && data.storageNetworkVip !== undefined) {
|
|
787
|
+
obj.setStorageNetworkVip(_IPAddress["default"].constructFromObject(data['storageNetworkVip']));
|
|
788
|
+
}
|
|
789
|
+
if (data.hasOwnProperty('storageNetworkDnsIp') && data.storageNetworkDnsIp !== null && data.storageNetworkDnsIp !== undefined) {
|
|
790
|
+
obj.setStorageNetworkDnsIp(_IPAddress["default"].constructFromObject(data['storageNetworkDnsIp']));
|
|
791
|
+
}
|
|
792
|
+
if (data.hasOwnProperty('publicNetworkReference') && data.publicNetworkReference !== null && data.publicNetworkReference !== undefined) {
|
|
793
|
+
obj.setPublicNetworkReference(data['publicNetworkReference']);
|
|
794
|
+
}
|
|
795
|
+
if (data.hasOwnProperty('publicNetworkIps') && data.publicNetworkIps !== null && data.publicNetworkIps !== undefined) {
|
|
796
|
+
itemArr = [];
|
|
797
|
+
items = data.publicNetworkIps;
|
|
798
|
+
for (i = 0; i < items.length; i++) {
|
|
799
|
+
item = _IPAddress["default"].constructFromObject(items[i], undefined);
|
|
800
|
+
itemArr.push(item);
|
|
801
|
+
}
|
|
802
|
+
obj.setPublicNetworkIps(itemArr);
|
|
803
|
+
}
|
|
804
|
+
if (data.hasOwnProperty('totalCapacityGiB') && data.totalCapacityGiB !== null && data.totalCapacityGiB !== undefined) {
|
|
805
|
+
obj.setTotalCapacityGiB(data['totalCapacityGiB']);
|
|
806
|
+
}
|
|
807
|
+
if (data.hasOwnProperty('state') && data.state !== null && data.state !== undefined) {
|
|
808
|
+
obj.setState(_StateEnum["default"].constructFromObject(data['state']));
|
|
809
|
+
}
|
|
810
|
+
if (data.hasOwnProperty('certificateReference') && data.certificateReference !== null && data.certificateReference !== undefined) {
|
|
811
|
+
obj.setCertificateReference(data['certificateReference']);
|
|
812
|
+
}
|
|
813
|
+
if (!callFromChild) {
|
|
814
|
+
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
815
|
+
for (var property in data) {
|
|
816
|
+
if (!Object.keys(obj).includes(property) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
817
|
+
obj.$unknownFields[property] = data[property];
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
return obj;
|
|
823
|
+
}
|
|
824
|
+
}]);
|
|
825
|
+
}(_ExternalizableAbstractModel["default"]);
|
|
826
|
+
/**
|
|
827
|
+
* @memberof Objectstore
|
|
828
|
+
*/
|
|
829
|
+
function _toJsonMapType(obj, forMutation) {
|
|
830
|
+
if (obj instanceof Map) {
|
|
831
|
+
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
832
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
833
|
+
k = _ref2[0],
|
|
834
|
+
v = _ref2[1];
|
|
835
|
+
return [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v];
|
|
836
|
+
}));
|
|
837
|
+
} else if (_typeof(obj) === 'object' && obj != null && obj.constructor === Object) {
|
|
838
|
+
return Object.fromEntries(Array.from(Object.entries(obj), function (entry) {
|
|
839
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
840
|
+
}));
|
|
841
|
+
}
|
|
842
|
+
return obj;
|
|
843
|
+
}
|
|
844
|
+
Objectstore.prototype.metadata = undefined;
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* The name of the Object store.
|
|
848
|
+
* @memberof Objectstore
|
|
849
|
+
*/
|
|
850
|
+
Objectstore.prototype.name = undefined;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* The time when the Object store was created.
|
|
854
|
+
* @memberof Objectstore
|
|
855
|
+
*/
|
|
856
|
+
Objectstore.prototype.creationTime = undefined;
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* The time when the Object store was last updated.
|
|
860
|
+
* @memberof Objectstore
|
|
861
|
+
*/
|
|
862
|
+
Objectstore.prototype.lastUpdateTime = undefined;
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* A brief description of the Object store.
|
|
866
|
+
* @memberof Objectstore
|
|
867
|
+
*/
|
|
868
|
+
Objectstore.prototype.description = undefined;
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* Object store deployment version.
|
|
872
|
+
* @memberof Objectstore
|
|
873
|
+
*/
|
|
874
|
+
Objectstore.prototype.deploymentVersion = undefined;
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* The DNS domain/subdomain the Object store belongs to. All the Object stores under one Prism Central must have the same domain name. The domain name must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens, or underscores. Each part can be up to 63 characters long. The domain must begin and end with an alphanumeric character. For example - 'objects-0.pc_nutanix.com'.
|
|
878
|
+
* @memberof Objectstore
|
|
879
|
+
*/
|
|
880
|
+
Objectstore.prototype.domain = undefined;
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* The region in which the Object store is deployed.
|
|
884
|
+
* @memberof Objectstore
|
|
885
|
+
*/
|
|
886
|
+
Objectstore.prototype.region = undefined;
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* The number of worker nodes (VMs) to be created for the Object store. Each worker node requires 10 vCPUs and 32 GiB of memory.
|
|
890
|
+
* @memberof Objectstore
|
|
891
|
+
*/
|
|
892
|
+
Objectstore.prototype.numWorkerNodes = undefined;
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* UUID of the AHV or ESXi cluster.
|
|
896
|
+
* @memberof Objectstore
|
|
897
|
+
*/
|
|
898
|
+
Objectstore.prototype.clusterReference = undefined;
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* Reference to the Storage Network of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
|
|
902
|
+
* @memberof Objectstore
|
|
903
|
+
*/
|
|
904
|
+
Objectstore.prototype.storageNetworkReference = undefined;
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* @memberof Objectstore
|
|
908
|
+
*/
|
|
909
|
+
Objectstore.prototype.storageNetworkVip = undefined;
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* @memberof Objectstore
|
|
913
|
+
*/
|
|
914
|
+
Objectstore.prototype.storageNetworkDnsIp = undefined;
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* Public network reference of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
|
|
918
|
+
* @memberof Objectstore
|
|
919
|
+
*/
|
|
920
|
+
Objectstore.prototype.publicNetworkReference = undefined;
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* A list of static IP addresses used as public IPs to access the Object store.
|
|
924
|
+
* @memberof Objectstore
|
|
925
|
+
*/
|
|
926
|
+
Objectstore.prototype.publicNetworkIps = undefined;
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Size of the Object store in GiB.
|
|
930
|
+
* @memberof Objectstore
|
|
931
|
+
*/
|
|
932
|
+
Objectstore.prototype.totalCapacityGiB = undefined;
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* @memberof Objectstore
|
|
936
|
+
*/
|
|
937
|
+
Objectstore.prototype.state = undefined;
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* UUID reference to the Object store certificate.
|
|
941
|
+
* @memberof Objectstore
|
|
942
|
+
*/
|
|
943
|
+
Objectstore.prototype.certificateReference = undefined;
|
|
944
|
+
|
|
945
|
+
// Implement OneOfobjects.v4.operations.ObjectstoreApiResponsedata interface:
|