@nutanix-scratch/objects-js-client 4.0.1-alpha.2 → 4.0.1

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.
Files changed (197) hide show
  1. package/LICENSE.txt +202 -49
  2. package/README.md +39 -27
  3. package/dist/Ntnx-Objects-js-client-prod.js +1 -1
  4. package/dist/Ntnx-Objects-js-client.js +227 -96
  5. package/dist/es/ApiClient.d.ts +8 -1
  6. package/dist/es/ApiClient.js +249 -189
  7. package/dist/es/Paginable.d.ts +1 -1
  8. package/dist/es/Paginable.js +9 -9
  9. package/dist/es/apis/objectstores-endpoints.d.ts +66 -95
  10. package/dist/es/apis/objectstores-endpoints.js +205 -170
  11. package/dist/es/apis/stats-endpoints.d.ts +69 -0
  12. package/dist/es/apis/stats-endpoints.js +154 -0
  13. package/dist/es/index.d.ts +43 -21
  14. package/dist/es/index.js +135 -47
  15. package/dist/es/models/common/v1/config/FQDN.d.ts +24 -20
  16. package/dist/es/models/common/v1/config/FQDN.js +56 -21
  17. package/dist/es/models/common/v1/config/Flag.d.ts +32 -26
  18. package/dist/es/models/common/v1/config/Flag.js +65 -21
  19. package/dist/es/models/common/v1/config/IPAddress.d.ts +42 -26
  20. package/dist/es/models/common/v1/config/IPAddress.js +53 -21
  21. package/dist/es/models/common/v1/config/IPv4Address.d.ts +40 -26
  22. package/dist/es/models/common/v1/config/IPv4Address.js +64 -23
  23. package/dist/es/models/common/v1/config/IPv6Address.d.ts +40 -26
  24. package/dist/es/models/common/v1/config/IPv6Address.js +64 -23
  25. package/dist/es/models/common/v1/config/KVPair.d.ts +35 -26
  26. package/dist/es/models/common/v1/config/KVPair.js +70 -24
  27. package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
  28. package/dist/es/models/common/v1/config/MapOfStringWrapper.js +275 -0
  29. package/dist/es/models/common/v1/config/Message.d.ts +41 -38
  30. package/dist/es/models/common/v1/config/Message.js +57 -25
  31. package/dist/es/models/common/v1/config/MessageSeverity.js +7 -7
  32. package/dist/es/models/common/v1/config/Metadata.d.ts +46 -44
  33. package/dist/es/models/common/v1/config/Metadata.js +65 -27
  34. package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +22 -20
  35. package/dist/es/models/common/v1/config/TenantAwareModel.js +51 -19
  36. package/dist/es/models/common/v1/response/ApiLink.d.ts +28 -26
  37. package/dist/es/models/common/v1/response/ApiLink.js +53 -21
  38. package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +79 -44
  39. package/dist/es/models/common/v1/response/ApiResponseMetadata.js +71 -27
  40. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +24 -18
  41. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +71 -31
  42. package/dist/es/models/common/v1/stats/DownSamplingOperator.d.ts +19 -0
  43. package/dist/es/models/common/v1/stats/DownSamplingOperator.js +109 -0
  44. package/dist/es/models/common/v1/stats/TimeIntValuePair.d.ts +64 -0
  45. package/dist/es/models/common/v1/stats/TimeIntValuePair.js +313 -0
  46. package/dist/es/models/objects/v4/config/Certificate.d.ts +146 -0
  47. package/dist/es/models/objects/v4/{operations → config}/Certificate.js +184 -43
  48. package/dist/es/models/objects/v4/{operations → config}/CertificateProjection.d.ts +2 -1
  49. package/dist/{lib/models/objects/v4/operations → es/models/objects/v4/config}/CertificateProjection.js +41 -17
  50. package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.d.ts +101 -0
  51. package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.js +343 -0
  52. package/dist/es/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +99 -0
  53. package/dist/{lib/models/objects/v4/operations/TaskReferenceApiResponse.js → es/models/objects/v4/config/CreateObjectstoreApiResponse.js} +86 -54
  54. package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +99 -0
  55. package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.js +343 -0
  56. package/dist/es/models/objects/v4/config/GetCaApiResponse.d.ts +98 -0
  57. package/dist/es/models/objects/v4/{operations/TaskReferenceApiResponse.js → config/GetCaApiResponse.js} +88 -57
  58. package/dist/es/models/objects/v4/config/GetCertificateApiResponse.d.ts +99 -0
  59. package/dist/es/models/objects/v4/{operations/CertificateApiResponse.js → config/GetCertificateApiResponse.js} +88 -56
  60. package/dist/es/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +101 -0
  61. package/dist/{lib/models/objects/v4/operations/ObjectstoreApiResponse.js → es/models/objects/v4/config/GetObjectstoreApiResponse.js} +89 -57
  62. package/dist/es/models/objects/v4/config/ListCertificatesApiResponse.d.ts +100 -0
  63. package/dist/es/models/objects/v4/{operations/CertificateListApiResponse.js → config/ListCertificatesApiResponse.js} +89 -57
  64. package/dist/es/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +100 -0
  65. package/dist/es/models/objects/v4/{operations/ObjectstoreListApiResponse.js → config/ListObjectstoresApiResponse.js} +92 -60
  66. package/dist/es/models/objects/v4/config/ObjectStore.d.ts +313 -0
  67. package/dist/es/models/objects/v4/{operations/Objectstore.js → config/ObjectStore.js} +213 -157
  68. package/dist/es/models/objects/v4/config/ObjectStoreProjection.d.ts +174 -0
  69. package/dist/{lib/models/objects/v4/operations/ObjectstoreProjection.js → es/models/objects/v4/config/ObjectStoreProjection.js} +211 -65
  70. package/dist/es/models/objects/v4/{operations/StateEnum.d.ts → config/State.d.ts} +6 -6
  71. package/dist/es/models/objects/v4/config/State.js +133 -0
  72. package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +99 -0
  73. package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.js +343 -0
  74. package/dist/es/models/objects/v4/error/AppMessage.d.ts +57 -48
  75. package/dist/es/models/objects/v4/error/AppMessage.js +61 -29
  76. package/dist/es/models/objects/v4/error/ErrorResponse.d.ts +23 -19
  77. package/dist/es/models/objects/v4/error/ErrorResponse.js +62 -25
  78. package/dist/es/models/objects/v4/error/SchemaValidationError.d.ts +53 -43
  79. package/dist/es/models/objects/v4/error/SchemaValidationError.js +62 -29
  80. package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +34 -32
  81. package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.js +55 -23
  82. package/dist/es/models/objects/v4/stats/GetObjectstoreStatsApiResponse.d.ts +99 -0
  83. package/dist/es/models/objects/v4/stats/GetObjectstoreStatsApiResponse.js +343 -0
  84. package/dist/es/models/objects/v4/stats/ObjectstoreStats.d.ts +423 -0
  85. package/dist/es/models/objects/v4/stats/ObjectstoreStats.js +1425 -0
  86. package/dist/es/models/objects/v4/stats/TimeFloatValuePair.d.ts +64 -0
  87. package/dist/es/models/objects/v4/stats/TimeFloatValuePair.js +313 -0
  88. package/dist/es/models/prism/v4/config/TaskReference.d.ts +22 -20
  89. package/dist/es/models/prism/v4/config/TaskReference.js +55 -20
  90. package/dist/es/models/validation/ValidationError.js +5 -5
  91. package/dist/es/utils/ValidationUtils.js +5 -5
  92. package/dist/lib/ApiClient.d.ts +8 -1
  93. package/dist/lib/ApiClient.js +249 -189
  94. package/dist/lib/Paginable.d.ts +1 -1
  95. package/dist/lib/Paginable.js +9 -9
  96. package/dist/lib/apis/objectstores-endpoints.d.ts +66 -95
  97. package/dist/lib/apis/objectstores-endpoints.js +205 -170
  98. package/dist/lib/apis/stats-endpoints.d.ts +69 -0
  99. package/dist/lib/apis/stats-endpoints.js +154 -0
  100. package/dist/lib/index.d.ts +43 -21
  101. package/dist/lib/index.js +135 -47
  102. package/dist/lib/models/common/v1/config/FQDN.d.ts +24 -20
  103. package/dist/lib/models/common/v1/config/FQDN.js +56 -21
  104. package/dist/lib/models/common/v1/config/Flag.d.ts +32 -26
  105. package/dist/lib/models/common/v1/config/Flag.js +65 -21
  106. package/dist/lib/models/common/v1/config/IPAddress.d.ts +42 -26
  107. package/dist/lib/models/common/v1/config/IPAddress.js +53 -21
  108. package/dist/lib/models/common/v1/config/IPv4Address.d.ts +40 -26
  109. package/dist/lib/models/common/v1/config/IPv4Address.js +64 -23
  110. package/dist/lib/models/common/v1/config/IPv6Address.d.ts +40 -26
  111. package/dist/lib/models/common/v1/config/IPv6Address.js +64 -23
  112. package/dist/lib/models/common/v1/config/KVPair.d.ts +35 -26
  113. package/dist/lib/models/common/v1/config/KVPair.js +70 -24
  114. package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
  115. package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +275 -0
  116. package/dist/lib/models/common/v1/config/Message.d.ts +41 -38
  117. package/dist/lib/models/common/v1/config/Message.js +57 -25
  118. package/dist/lib/models/common/v1/config/MessageSeverity.js +7 -7
  119. package/dist/lib/models/common/v1/config/Metadata.d.ts +46 -44
  120. package/dist/lib/models/common/v1/config/Metadata.js +65 -27
  121. package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +22 -20
  122. package/dist/lib/models/common/v1/config/TenantAwareModel.js +51 -19
  123. package/dist/lib/models/common/v1/response/ApiLink.d.ts +28 -26
  124. package/dist/lib/models/common/v1/response/ApiLink.js +53 -21
  125. package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +79 -44
  126. package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +71 -27
  127. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +24 -18
  128. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +71 -31
  129. package/dist/lib/models/common/v1/stats/DownSamplingOperator.d.ts +19 -0
  130. package/dist/lib/models/common/v1/stats/DownSamplingOperator.js +109 -0
  131. package/dist/lib/models/common/v1/stats/TimeIntValuePair.d.ts +64 -0
  132. package/dist/lib/models/common/v1/stats/TimeIntValuePair.js +313 -0
  133. package/dist/lib/models/objects/v4/config/Certificate.d.ts +146 -0
  134. package/dist/lib/models/objects/v4/{operations → config}/Certificate.js +184 -43
  135. package/dist/lib/models/objects/v4/{operations → config}/CertificateProjection.d.ts +2 -1
  136. package/dist/{es/models/objects/v4/operations → lib/models/objects/v4/config}/CertificateProjection.js +41 -17
  137. package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.d.ts +101 -0
  138. package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.js +343 -0
  139. package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +99 -0
  140. package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.js +343 -0
  141. package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +99 -0
  142. package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.js +343 -0
  143. package/dist/lib/models/objects/v4/config/GetCaApiResponse.d.ts +98 -0
  144. package/dist/lib/models/objects/v4/{operations/CertificateApiResponse.js → config/GetCaApiResponse.js} +88 -57
  145. package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.d.ts +99 -0
  146. package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.js +343 -0
  147. package/dist/lib/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +101 -0
  148. package/dist/{es/models/objects/v4/operations/ObjectstoreApiResponse.js → lib/models/objects/v4/config/GetObjectstoreApiResponse.js} +89 -57
  149. package/dist/lib/models/objects/v4/config/ListCertificatesApiResponse.d.ts +100 -0
  150. package/dist/lib/models/objects/v4/{operations/CertificateListApiResponse.js → config/ListCertificatesApiResponse.js} +89 -57
  151. package/dist/lib/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +100 -0
  152. package/dist/lib/models/objects/v4/{operations/ObjectstoreListApiResponse.js → config/ListObjectstoresApiResponse.js} +92 -60
  153. package/dist/lib/models/objects/v4/config/ObjectStore.d.ts +313 -0
  154. package/dist/lib/models/objects/v4/{operations/Objectstore.js → config/ObjectStore.js} +213 -157
  155. package/dist/lib/models/objects/v4/config/ObjectStoreProjection.d.ts +174 -0
  156. package/dist/{es/models/objects/v4/operations/ObjectstoreProjection.js → lib/models/objects/v4/config/ObjectStoreProjection.js} +211 -65
  157. package/dist/lib/models/objects/v4/{operations/StateEnum.d.ts → config/State.d.ts} +6 -6
  158. package/dist/lib/models/objects/v4/config/State.js +133 -0
  159. package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +99 -0
  160. package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.js +343 -0
  161. package/dist/lib/models/objects/v4/error/AppMessage.d.ts +57 -48
  162. package/dist/lib/models/objects/v4/error/AppMessage.js +61 -29
  163. package/dist/lib/models/objects/v4/error/ErrorResponse.d.ts +23 -19
  164. package/dist/lib/models/objects/v4/error/ErrorResponse.js +62 -25
  165. package/dist/lib/models/objects/v4/error/SchemaValidationError.d.ts +53 -43
  166. package/dist/lib/models/objects/v4/error/SchemaValidationError.js +62 -29
  167. package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +34 -32
  168. package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.js +55 -23
  169. package/dist/lib/models/objects/v4/stats/GetObjectstoreStatsApiResponse.d.ts +99 -0
  170. package/dist/lib/models/objects/v4/stats/GetObjectstoreStatsApiResponse.js +343 -0
  171. package/dist/lib/models/objects/v4/stats/ObjectstoreStats.d.ts +423 -0
  172. package/dist/lib/models/objects/v4/stats/ObjectstoreStats.js +1425 -0
  173. package/dist/lib/models/objects/v4/stats/TimeFloatValuePair.d.ts +64 -0
  174. package/dist/lib/models/objects/v4/stats/TimeFloatValuePair.js +313 -0
  175. package/dist/lib/models/prism/v4/config/TaskReference.d.ts +22 -20
  176. package/dist/lib/models/prism/v4/config/TaskReference.js +55 -20
  177. package/dist/lib/models/validation/ValidationError.js +5 -5
  178. package/dist/lib/utils/ValidationUtils.js +5 -5
  179. package/package.json +1 -1
  180. package/dist/es/models/objects/v4/operations/Certificate.d.ts +0 -78
  181. package/dist/es/models/objects/v4/operations/CertificateApiResponse.d.ts +0 -59
  182. package/dist/es/models/objects/v4/operations/CertificateListApiResponse.d.ts +0 -59
  183. package/dist/es/models/objects/v4/operations/Objectstore.d.ts +0 -242
  184. package/dist/es/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +0 -59
  185. package/dist/es/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +0 -59
  186. package/dist/es/models/objects/v4/operations/ObjectstoreProjection.d.ts +0 -50
  187. package/dist/es/models/objects/v4/operations/StateEnum.js +0 -145
  188. package/dist/es/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +0 -59
  189. package/dist/lib/models/objects/v4/operations/Certificate.d.ts +0 -78
  190. package/dist/lib/models/objects/v4/operations/CertificateApiResponse.d.ts +0 -59
  191. package/dist/lib/models/objects/v4/operations/CertificateListApiResponse.d.ts +0 -59
  192. package/dist/lib/models/objects/v4/operations/Objectstore.d.ts +0 -242
  193. package/dist/lib/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +0 -59
  194. package/dist/lib/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +0 -59
  195. package/dist/lib/models/objects/v4/operations/ObjectstoreProjection.d.ts +0 -50
  196. package/dist/lib/models/objects/v4/operations/StateEnum.js +0 -145
  197. package/dist/lib/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +0 -59
@@ -5,19 +5,19 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  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); }
8
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
9
- 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); } }
10
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
8
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
9
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
10
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
11
11
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
12
12
  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); }
13
13
  /*
14
14
  * Nutanix Objects Storage Management APIs
15
15
  *
16
- * OpenAPI spec version: 4.0.1-alpha-2
16
+ * OpenAPI spec version: 4.0.1
17
17
  *
18
18
  * NOTE: This class is auto generated by the Open API Dev Platform.
19
19
  *
20
- * Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
20
+ * Open API Dev Platform Codegen version: 16.9.1.8738-RELEASE
21
21
  *
22
22
  * Do not edit the class manually.
23
23
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutanix-scratch/objects-js-client",
3
- "version": "4.0.1-alpha.2",
3
+ "version": "4.0.1",
4
4
  "description": "The Javascript client for Nutanix Objects Storage Management APIs is designed for Javascript client application developers offering them simple and flexible access to APIs that manage Petabytes of Unstructured and Machine-generated data using a software-defined Object Store Service.",
5
5
  "license": "SEE LICENSE AT LICENSE.md",
6
6
  "main": "dist/lib/index.js",
@@ -1,78 +0,0 @@
1
- /**
2
- * The Certificate model module.
3
- * @module Ntnx/Certificate
4
- * @version 4.0.1-alpha-2
5
- * @class Certificate
6
- */
7
- export default class Certificate extends ExternalizableAbstractModel {
8
- /**
9
- * @return {}
10
- */
11
- getMetadata(): any;
12
- /**
13
- * @param {} metadata
14
- */
15
- setMetadata(metadata: any): void;
16
- metadata: any;
17
- /**
18
- * Returns The public certificate to upload.
19
- * @return {}
20
- */
21
- getPublicCert(): any;
22
- /**
23
- * Sets The public certificate to upload.
24
- * @param {} publicCert The public certificate to upload.
25
- */
26
- setPublicCert(publicCert: any): void;
27
- publicCert: any;
28
- /**
29
- * Returns The private key to upload.
30
- * @return {}
31
- */
32
- getPrivateKey(): any;
33
- /**
34
- * Sets The private key to upload.
35
- * @param {} privateKey The private key to upload.
36
- */
37
- setPrivateKey(privateKey: any): void;
38
- privateKey: any;
39
- /**
40
- * Returns CA file to upload.
41
- * @return {}
42
- */
43
- getCa(): any;
44
- /**
45
- * Sets CA file to upload.
46
- * @param {} ca CA file to upload.
47
- */
48
- setCa(ca: any): void;
49
- ca: any;
50
- /**
51
- * Returns The list of alternate FQDNs for accessing the Object store. The FQDNs must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens or underscores but must begin and end with a letter. Each part can be up to 63 characters long. For e.g 'objects-0.pc_nutanix.com'.
52
- * @return {}
53
- */
54
- getAlternateFqdns(): any;
55
- /**
56
- * Sets The list of alternate FQDNs for accessing the Object store. The FQDNs must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens or underscores but must begin and end with a letter. Each part can be up to 63 characters long. For e.g 'objects-0.pc_nutanix.com'.
57
- * @param {} alternateFqdns The list of alternate FQDNs for accessing the Object store. The FQDNs must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens or underscores but must begin and end with a letter. Each part can be up to 63 characters long. For e.g 'objects-0.pc_nutanix.com'.
58
- */
59
- setAlternateFqdns(alternateFqdns: any): void;
60
- alternateFqdns: any;
61
- toJson(forMutation: any): {
62
- $reserved: {
63
- $fv: string;
64
- };
65
- $objectType: string;
66
- $unknownFields: {};
67
- tenantId?: any;
68
- links?: any;
69
- extId?: any;
70
- alternateFqdns?: any;
71
- ca?: any;
72
- privateKey?: any;
73
- publicCert?: any;
74
- metadata?: any;
75
- };
76
- #private;
77
- }
78
- import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel";
@@ -1,59 +0,0 @@
1
- /**
2
- * The CertificateApiResponse model module.
3
- * @module Ntnx/CertificateApiResponse
4
- * @version 4.0.1-alpha-2
5
- * @class CertificateApiResponse
6
- */
7
- export default class CertificateApiResponse extends Paginable {
8
- /**
9
- * Constructs a <code>CertificateApiResponse</code> from a plain JavaScript object, optionally creating a new instance.
10
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
11
- * @param {Object} data The plain JavaScript object bearing properties of interest.
12
- * @param {module:Ntnx/CertificateApiResponse} obj Optional instance to populate.
13
- * @param callFromChild {Boolean} Flag to recognise calling instance
14
- * @return {module:Ntnx/CertificateApiResponse} The populated <code>CertificateApiResponse</code> instance.
15
- */
16
- static constructFromObject(data: any, obj: any, callFromChild?: boolean): any;
17
- $objectType: string;
18
- $reserved: {
19
- $fv: string;
20
- };
21
- $unknownFields: {};
22
- /**
23
- * @return {}
24
- */
25
- getMetadata(): any;
26
- /**
27
- * @param {} metadata
28
- */
29
- setMetadata(metadata: any): void;
30
- metadata: any;
31
- /**
32
- * @return {}
33
- */
34
- getData(): any;
35
- /**
36
- * @param {} data
37
- */
38
- setData(data: any): void;
39
- data: any;
40
- get$Reserved(): {
41
- $fv: string;
42
- };
43
- get$ObjectType(): string;
44
- get$UnknownFields(): {};
45
- toJson(forMutation: any): {
46
- $reserved: {
47
- $fv: string;
48
- };
49
- $objectType: string;
50
- $unknownFields: {};
51
- data?: any;
52
- metadata?: any;
53
- };
54
- validate(scope: any, properties: any, ...args: any[]): Promise<any>;
55
- validateProperty(scope: any, property: any): ValidationError;
56
- #private;
57
- }
58
- import Paginable from "../../../../Paginable";
59
- import ValidationError from "../../../validation/ValidationError";
@@ -1,59 +0,0 @@
1
- /**
2
- * The CertificateListApiResponse model module.
3
- * @module Ntnx/CertificateListApiResponse
4
- * @version 4.0.1-alpha-2
5
- * @class CertificateListApiResponse
6
- */
7
- export default class CertificateListApiResponse extends Paginable {
8
- /**
9
- * Constructs a <code>CertificateListApiResponse</code> from a plain JavaScript object, optionally creating a new instance.
10
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
11
- * @param {Object} data The plain JavaScript object bearing properties of interest.
12
- * @param {module:Ntnx/CertificateListApiResponse} obj Optional instance to populate.
13
- * @param callFromChild {Boolean} Flag to recognise calling instance
14
- * @return {module:Ntnx/CertificateListApiResponse} The populated <code>CertificateListApiResponse</code> instance.
15
- */
16
- static constructFromObject(data: any, obj: any, callFromChild?: boolean): any;
17
- $objectType: string;
18
- $reserved: {
19
- $fv: string;
20
- };
21
- $unknownFields: {};
22
- /**
23
- * @return {}
24
- */
25
- getMetadata(): any;
26
- /**
27
- * @param {} metadata
28
- */
29
- setMetadata(metadata: any): void;
30
- metadata: any;
31
- /**
32
- * @return {}
33
- */
34
- getData(): any;
35
- /**
36
- * @param {} data
37
- */
38
- setData(data: any): void;
39
- data: any;
40
- get$Reserved(): {
41
- $fv: string;
42
- };
43
- get$ObjectType(): string;
44
- get$UnknownFields(): {};
45
- toJson(forMutation: any): {
46
- $reserved: {
47
- $fv: string;
48
- };
49
- $objectType: string;
50
- $unknownFields: {};
51
- data?: any;
52
- metadata?: any;
53
- };
54
- validate(scope: any, properties: any, ...args: any[]): Promise<any>;
55
- validateProperty(scope: any, property: any): ValidationError;
56
- #private;
57
- }
58
- import Paginable from "../../../../Paginable";
59
- import ValidationError from "../../../validation/ValidationError";
@@ -1,242 +0,0 @@
1
- /**
2
- * The Objectstore model module.
3
- * @module Ntnx/Objectstore
4
- * @version 4.0.1-alpha-2
5
- * @class Objectstore
6
- *
7
- * @param { String } name The name of the Object store.
8
- */
9
- export default class Objectstore extends ExternalizableAbstractModel {
10
- /**
11
- * Constructs a new <code>Objectstore</code>.
12
- * @alias module:Ntnx/Objectstore
13
- * @extends module:Ntnx/ExternalizableAbstractModel
14
- *
15
- * @param { String } name The name of the Object store.
16
- */
17
- constructor(name: string);
18
- name: string;
19
- /**
20
- * @return {}
21
- */
22
- getMetadata(): any;
23
- /**
24
- * @param {} metadata
25
- */
26
- setMetadata(metadata: any): void;
27
- metadata: any;
28
- /**
29
- * Returns The name of the Object store.
30
- * @return {}
31
- */
32
- getName(): any;
33
- /**
34
- * Sets The name of the Object store.
35
- * @param {} name The name of the Object store.
36
- */
37
- setName(name: any): void;
38
- /**
39
- * Returns The time when the Object store was created.
40
- * @return {}
41
- */
42
- getCreationTime(): any;
43
- /**
44
- * Sets The time when the Object store was created.
45
- * @param {} creationTime The time when the Object store was created.
46
- */
47
- setCreationTime(creationTime: any): void;
48
- creationTime: any;
49
- /**
50
- * Returns The time when the Object store was last updated.
51
- * @return {}
52
- */
53
- getLastUpdateTime(): any;
54
- /**
55
- * Sets The time when the Object store was last updated.
56
- * @param {} lastUpdateTime The time when the Object store was last updated.
57
- */
58
- setLastUpdateTime(lastUpdateTime: any): void;
59
- lastUpdateTime: any;
60
- /**
61
- * Returns A brief description of the Object store.
62
- * @return {}
63
- */
64
- getDescription(): any;
65
- /**
66
- * Sets A brief description of the Object store.
67
- * @param {} description A brief description of the Object store.
68
- */
69
- setDescription(description: any): void;
70
- description: any;
71
- /**
72
- * Returns Object store deployment version.
73
- * @return {}
74
- */
75
- getDeploymentVersion(): any;
76
- /**
77
- * Sets Object store deployment version.
78
- * @param {} deploymentVersion Object store deployment version.
79
- */
80
- setDeploymentVersion(deploymentVersion: any): void;
81
- deploymentVersion: any;
82
- /**
83
- * 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'.
84
- * @return {}
85
- */
86
- getDomain(): any;
87
- /**
88
- * 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'.
89
- * @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'.
90
- */
91
- setDomain(domain: any): void;
92
- domain: any;
93
- /**
94
- * Returns The region in which the Object store is deployed.
95
- * @return {}
96
- */
97
- getRegion(): any;
98
- /**
99
- * Sets The region in which the Object store is deployed.
100
- * @param {} region The region in which the Object store is deployed.
101
- */
102
- setRegion(region: any): void;
103
- region: any;
104
- /**
105
- * 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.
106
- * minimum: 1
107
- * maximum: 1000
108
- * @return {}
109
- */
110
- getNumWorkerNodes(): any;
111
- /**
112
- * 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.
113
- * @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.
114
- */
115
- setNumWorkerNodes(numWorkerNodes: any): void;
116
- numWorkerNodes: any;
117
- /**
118
- * Returns UUID of the AHV or ESXi cluster.
119
- * @return {}
120
- */
121
- getClusterReference(): any;
122
- /**
123
- * Sets UUID of the AHV or ESXi cluster.
124
- * @param {} clusterReference UUID of the AHV or ESXi cluster.
125
- */
126
- setClusterReference(clusterReference: any): void;
127
- clusterReference: any;
128
- /**
129
- * 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.
130
- * @return {}
131
- */
132
- getStorageNetworkReference(): any;
133
- /**
134
- * 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.
135
- * @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.
136
- */
137
- setStorageNetworkReference(storageNetworkReference: any): void;
138
- storageNetworkReference: any;
139
- /**
140
- * @return {}
141
- */
142
- getStorageNetworkVip(): any;
143
- /**
144
- * @param {} storageNetworkVip
145
- */
146
- setStorageNetworkVip(storageNetworkVip: any): void;
147
- storageNetworkVip: any;
148
- /**
149
- * @return {}
150
- */
151
- getStorageNetworkDnsIp(): any;
152
- /**
153
- * @param {} storageNetworkDnsIp
154
- */
155
- setStorageNetworkDnsIp(storageNetworkDnsIp: any): void;
156
- storageNetworkDnsIp: any;
157
- /**
158
- * 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.
159
- * @return {}
160
- */
161
- getPublicNetworkReference(): any;
162
- /**
163
- * 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.
164
- * @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.
165
- */
166
- setPublicNetworkReference(publicNetworkReference: any): void;
167
- publicNetworkReference: any;
168
- /**
169
- * Returns A list of static IP addresses used as public IPs to access the Object store.
170
- * @return {}
171
- */
172
- getPublicNetworkIps(): any;
173
- /**
174
- * Sets A list of static IP addresses used as public IPs to access the Object store.
175
- * @param {} publicNetworkIps A list of static IP addresses used as public IPs to access the Object store.
176
- */
177
- setPublicNetworkIps(publicNetworkIps: any): void;
178
- publicNetworkIps: any;
179
- /**
180
- * Returns Size of the Object store in GiB.
181
- * minimum: 1
182
- * maximum: 178814713856
183
- * @return {}
184
- */
185
- getTotalCapacityGiB(): any;
186
- /**
187
- * Sets Size of the Object store in GiB.
188
- * @param {} totalCapacityGiB Size of the Object store in GiB.
189
- */
190
- setTotalCapacityGiB(totalCapacityGiB: any): void;
191
- totalCapacityGiB: any;
192
- /**
193
- * @return {}
194
- */
195
- getState(): any;
196
- /**
197
- * @param {} state
198
- */
199
- setState(state: any): void;
200
- state: any;
201
- /**
202
- * Returns UUID reference to the Object store certificate.
203
- * @return {}
204
- */
205
- getCertificateReference(): any;
206
- /**
207
- * Sets UUID reference to the Object store certificate.
208
- * @param {} certificateReference UUID reference to the Object store certificate.
209
- */
210
- setCertificateReference(certificateReference: any): void;
211
- certificateReference: any;
212
- toJson(forMutation: any): {
213
- $reserved: {
214
- $fv: string;
215
- };
216
- $objectType: string;
217
- $unknownFields: {};
218
- tenantId?: any;
219
- links?: any;
220
- extId?: any;
221
- certificateReference?: any;
222
- state?: any;
223
- totalCapacityGiB?: any;
224
- publicNetworkIps?: any;
225
- publicNetworkReference?: any;
226
- storageNetworkDnsIp?: any;
227
- storageNetworkVip?: any;
228
- storageNetworkReference?: any;
229
- clusterReference?: any;
230
- numWorkerNodes?: any;
231
- region?: any;
232
- domain?: any;
233
- deploymentVersion?: any;
234
- description?: any;
235
- lastUpdateTime?: any;
236
- creationTime?: any;
237
- name?: any;
238
- metadata?: any;
239
- };
240
- #private;
241
- }
242
- import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel";
@@ -1,59 +0,0 @@
1
- /**
2
- * The ObjectstoreApiResponse model module.
3
- * @module Ntnx/ObjectstoreApiResponse
4
- * @version 4.0.1-alpha-2
5
- * @class ObjectstoreApiResponse
6
- */
7
- export default class ObjectstoreApiResponse extends Paginable {
8
- /**
9
- * Constructs a <code>ObjectstoreApiResponse</code> from a plain JavaScript object, optionally creating a new instance.
10
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
11
- * @param {Object} data The plain JavaScript object bearing properties of interest.
12
- * @param {module:Ntnx/ObjectstoreApiResponse} obj Optional instance to populate.
13
- * @param callFromChild {Boolean} Flag to recognise calling instance
14
- * @return {module:Ntnx/ObjectstoreApiResponse} The populated <code>ObjectstoreApiResponse</code> instance.
15
- */
16
- static constructFromObject(data: any, obj: any, callFromChild?: boolean): any;
17
- $objectType: string;
18
- $reserved: {
19
- $fv: string;
20
- };
21
- $unknownFields: {};
22
- /**
23
- * @return {}
24
- */
25
- getMetadata(): any;
26
- /**
27
- * @param {} metadata
28
- */
29
- setMetadata(metadata: any): void;
30
- metadata: any;
31
- /**
32
- * @return {}
33
- */
34
- getData(): any;
35
- /**
36
- * @param {} data
37
- */
38
- setData(data: any): void;
39
- data: any;
40
- get$Reserved(): {
41
- $fv: string;
42
- };
43
- get$ObjectType(): string;
44
- get$UnknownFields(): {};
45
- toJson(forMutation: any): {
46
- $reserved: {
47
- $fv: string;
48
- };
49
- $objectType: string;
50
- $unknownFields: {};
51
- data?: any;
52
- metadata?: any;
53
- };
54
- validate(scope: any, properties: any, ...args: any[]): Promise<any>;
55
- validateProperty(scope: any, property: any): ValidationError;
56
- #private;
57
- }
58
- import Paginable from "../../../../Paginable";
59
- import ValidationError from "../../../validation/ValidationError";
@@ -1,59 +0,0 @@
1
- /**
2
- * The ObjectstoreListApiResponse model module.
3
- * @module Ntnx/ObjectstoreListApiResponse
4
- * @version 4.0.1-alpha-2
5
- * @class ObjectstoreListApiResponse
6
- */
7
- export default class ObjectstoreListApiResponse extends Paginable {
8
- /**
9
- * Constructs a <code>ObjectstoreListApiResponse</code> from a plain JavaScript object, optionally creating a new instance.
10
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
11
- * @param {Object} data The plain JavaScript object bearing properties of interest.
12
- * @param {module:Ntnx/ObjectstoreListApiResponse} obj Optional instance to populate.
13
- * @param callFromChild {Boolean} Flag to recognise calling instance
14
- * @return {module:Ntnx/ObjectstoreListApiResponse} The populated <code>ObjectstoreListApiResponse</code> instance.
15
- */
16
- static constructFromObject(data: any, obj: any, callFromChild?: boolean): any;
17
- $objectType: string;
18
- $reserved: {
19
- $fv: string;
20
- };
21
- $unknownFields: {};
22
- /**
23
- * @return {}
24
- */
25
- getMetadata(): any;
26
- /**
27
- * @param {} metadata
28
- */
29
- setMetadata(metadata: any): void;
30
- metadata: any;
31
- /**
32
- * @return {}
33
- */
34
- getData(): any;
35
- /**
36
- * @param {} data
37
- */
38
- setData(data: any): void;
39
- data: any;
40
- get$Reserved(): {
41
- $fv: string;
42
- };
43
- get$ObjectType(): string;
44
- get$UnknownFields(): {};
45
- toJson(forMutation: any): {
46
- $reserved: {
47
- $fv: string;
48
- };
49
- $objectType: string;
50
- $unknownFields: {};
51
- data?: any;
52
- metadata?: any;
53
- };
54
- validate(scope: any, properties: any, ...args: any[]): Promise<any>;
55
- validateProperty(scope: any, property: any): ValidationError;
56
- #private;
57
- }
58
- import Paginable from "../../../../Paginable";
59
- import ValidationError from "../../../validation/ValidationError";
@@ -1,50 +0,0 @@
1
- /**
2
- * The ObjectstoreProjection model module.
3
- * @module Ntnx/ObjectstoreProjection
4
- * @version 4.0.1-alpha-2
5
- * @class ObjectstoreProjection
6
- *
7
- * @param { String } name The name of the Object store.
8
- */
9
- export default class ObjectstoreProjection extends Objectstore {
10
- /**
11
- * @return {}
12
- */
13
- getCertificateProjection(): any;
14
- /**
15
- * @param {} certificateProjection
16
- */
17
- setCertificateProjection(certificateProjection: any): void;
18
- certificateProjection: any;
19
- toJson(forMutation: any): {
20
- $reserved: {
21
- $fv: string;
22
- };
23
- $objectType: string;
24
- $unknownFields: {};
25
- tenantId?: any;
26
- links?: any;
27
- extId?: any;
28
- certificateReference?: any;
29
- state?: any;
30
- totalCapacityGiB?: any;
31
- publicNetworkIps?: any;
32
- publicNetworkReference?: any;
33
- storageNetworkDnsIp?: any;
34
- storageNetworkVip?: any;
35
- storageNetworkReference?: any;
36
- clusterReference?: any;
37
- numWorkerNodes?: any;
38
- region?: any;
39
- domain?: any;
40
- deploymentVersion?: any;
41
- description?: any;
42
- lastUpdateTime?: any;
43
- creationTime?: any;
44
- name?: any;
45
- metadata?: any;
46
- certificateProjection?: any;
47
- };
48
- #private;
49
- }
50
- import Objectstore from "./Objectstore";