@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
@@ -1,145 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
8
- var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
9
- var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- /*
12
- * Nutanix Objects Storage Management APIs
13
- *
14
- * OpenAPI spec version: 4.0.1-alpha-2
15
- *
16
- * NOTE: This class is auto generated by the Open API Dev Platform.
17
- *
18
- * Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
19
- *
20
- * Do not edit the class manually.
21
- *
22
- */
23
-
24
- /**
25
- * Enum class StateEnum.
26
- * @enum {string}
27
- * @readonly
28
- */
29
- var StateEnum = {
30
- /**
31
- * value: "$UNKNOWN"
32
- * @const
33
- */
34
- $UNKNOWN: "$UNKNOWN",
35
- /**
36
- * value: "$REDACTED"
37
- * @const
38
- */
39
- $REDACTED: "$REDACTED",
40
- /**
41
- * The Object store deployment has failed.
42
- * @const
43
- */
44
- OBJECT_STORE_DEPLOYMENT_ERROR: "OBJECT_STORE_DEPLOYMENT_ERROR",
45
- /**
46
- * Creating the Object store certificate has failed.
47
- * @const
48
- */
49
- OBJECT_STORE_CREATE_CERT_ERROR: "OBJECT_STORE_CREATE_CERT_ERROR",
50
- /**
51
- * There was an error deleting the Object store.
52
- * @const
53
- */
54
- OBJECT_STORE_DELETE_ERROR: "OBJECT_STORE_DELETE_ERROR",
55
- /**
56
- * There was an error deleting the undeployed Object store.
57
- * @const
58
- */
59
- OBJECT_STORE_DELETE_INPUT_ERROR: "OBJECT_STORE_DELETE_INPUT_ERROR",
60
- /**
61
- * The Object store is not deployed.
62
- * @const
63
- */
64
- OBJECT_STORE_INPUT: "OBJECT_STORE_INPUT",
65
- /**
66
- * The Object store is being deployed.
67
- * @const
68
- */
69
- OBJECT_STORE_DEPLOYING: "OBJECT_STORE_DEPLOYING",
70
- /**
71
- * A certificate is being created for the Object store.
72
- * @const
73
- */
74
- OBJECT_STORE_CREATING_CERT: "OBJECT_STORE_CREATING_CERT",
75
- /**
76
- * A deployed Object store is being deleted.
77
- * @const
78
- */
79
- OBJECT_STORE_DELETING: "OBJECT_STORE_DELETING",
80
- /**
81
- * An undeployed Object store is being deleted.
82
- * @const
83
- */
84
- OBJECT_STORE_DELETING_INPUT: "OBJECT_STORE_DELETING_INPUT",
85
- /**
86
- * There are no ongoing operations on the deployed Object store.
87
- * @const
88
- */
89
- OBJECT_STORE_AVAILABLE: "OBJECT_STORE_AVAILABLE",
90
- /**
91
- * There is an ongoing operation on the Object store.
92
- * @const
93
- */
94
- OBJECT_STORE_OPERATION_PENDING: "OBJECT_STORE_OPERATION_PENDING",
95
- /**
96
- * There was an error while performing an operation on the Object store.
97
- * @const
98
- */
99
- OBJECT_STORE_OPERATION_ERROR: "OBJECT_STORE_OPERATION_ERROR"
100
- };
101
-
102
- /**
103
- * Returns a <code>StateEnum</code> enum value from a JavaScript object name.
104
- * @param {Object} obj The plain JavaScript object containing the name of the enum value.
105
- * @return {StateEnum} The enum <code>StateEnum</code> value.
106
- */
107
- StateEnum.constructFromObject = function (obj) {
108
- if (typeof obj === 'string' || obj instanceof String) {
109
- var enumVal = Object.keys(StateEnum).find(function (key) {
110
- return StateEnum[key] === obj;
111
- });
112
- return enumVal === undefined || enumVal === null ? StateEnum.$UNKNOWN : StateEnum[enumVal];
113
- } else {
114
- throw new Error("Received object name is not an instance of String");
115
- }
116
- };
117
-
118
- /**
119
- * Validates <code>StateEnum</code> enum value.
120
- * @param {Object} obj The plain JavaScript object containing the name of the enum value.
121
- * @return {null} Throws error for invalid value.
122
- */
123
- StateEnum.validate = function (obj) {
124
- switch (obj) {
125
- case StateEnum.$UNKNOWN:
126
- case StateEnum.$REDACTED:
127
- case StateEnum.OBJECT_STORE_DEPLOYMENT_ERROR:
128
- case StateEnum.OBJECT_STORE_CREATE_CERT_ERROR:
129
- case StateEnum.OBJECT_STORE_DELETE_ERROR:
130
- case StateEnum.OBJECT_STORE_DELETE_INPUT_ERROR:
131
- case StateEnum.OBJECT_STORE_INPUT:
132
- case StateEnum.OBJECT_STORE_DEPLOYING:
133
- case StateEnum.OBJECT_STORE_CREATING_CERT:
134
- case StateEnum.OBJECT_STORE_DELETING:
135
- case StateEnum.OBJECT_STORE_DELETING_INPUT:
136
- case StateEnum.OBJECT_STORE_AVAILABLE:
137
- case StateEnum.OBJECT_STORE_OPERATION_PENDING:
138
- case StateEnum.OBJECT_STORE_OPERATION_ERROR:
139
- return;
140
- default:
141
- throw new Error("Invalid : must be StateEnum.{ $UNKNOWN|$REDACTED|OBJECT_STORE_DEPLOYMENT_ERROR|OBJECT_STORE_CREATE_CERT_ERROR|OBJECT_STORE_DELETE_ERROR|OBJECT_STORE_DELETE_INPUT_ERROR|OBJECT_STORE_INPUT|OBJECT_STORE_DEPLOYING|OBJECT_STORE_CREATING_CERT|OBJECT_STORE_DELETING|OBJECT_STORE_DELETING_INPUT|OBJECT_STORE_AVAILABLE|OBJECT_STORE_OPERATION_PENDING|OBJECT_STORE_OPERATION_ERROR }");
142
- }
143
- };
144
- Object.freeze(StateEnum);
145
- var _default = exports["default"] = StateEnum;
@@ -1,59 +0,0 @@
1
- /**
2
- * The TaskReferenceApiResponse model module.
3
- * @module Ntnx/TaskReferenceApiResponse
4
- * @version 4.0.1-alpha-2
5
- * @class TaskReferenceApiResponse
6
- */
7
- export default class TaskReferenceApiResponse extends Paginable {
8
- /**
9
- * Constructs a <code>TaskReferenceApiResponse</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/TaskReferenceApiResponse} obj Optional instance to populate.
13
- * @param callFromChild {Boolean} Flag to recognise calling instance
14
- * @return {module:Ntnx/TaskReferenceApiResponse} The populated <code>TaskReferenceApiResponse</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,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";