@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.
Files changed (145) hide show
  1. package/LICENSE.txt +49 -0
  2. package/README.md +200 -0
  3. package/dist/Ntnx-Objects-js-client-prod.js +1 -0
  4. package/dist/Ntnx-Objects-js-client.js +729 -0
  5. package/dist/es/ApiClient.d.ts +159 -0
  6. package/dist/es/ApiClient.js +1211 -0
  7. package/dist/es/Paginable.d.ts +95 -0
  8. package/dist/es/Paginable.js +287 -0
  9. package/dist/es/apis/objectstores-endpoints.d.ts +231 -0
  10. package/dist/es/apis/objectstores-endpoints.js +522 -0
  11. package/dist/es/index.d.ts +64 -0
  12. package/dist/es/index.js +252 -0
  13. package/dist/es/models/common/v1/config/FQDN.d.ts +48 -0
  14. package/dist/es/models/common/v1/config/FQDN.js +242 -0
  15. package/dist/es/models/common/v1/config/Flag.d.ts +58 -0
  16. package/dist/es/models/common/v1/config/Flag.js +275 -0
  17. package/dist/es/models/common/v1/config/IPAddress.d.ts +61 -0
  18. package/dist/es/models/common/v1/config/IPAddress.js +291 -0
  19. package/dist/es/models/common/v1/config/IPv4Address.d.ts +62 -0
  20. package/dist/es/models/common/v1/config/IPv4Address.js +288 -0
  21. package/dist/es/models/common/v1/config/IPv6Address.d.ts +62 -0
  22. package/dist/es/models/common/v1/config/IPv6Address.js +288 -0
  23. package/dist/es/models/common/v1/config/KVPair.d.ts +62 -0
  24. package/dist/es/models/common/v1/config/KVPair.js +332 -0
  25. package/dist/es/models/common/v1/config/Message.d.ts +84 -0
  26. package/dist/es/models/common/v1/config/Message.js +354 -0
  27. package/dist/es/models/common/v1/config/MessageSeverity.d.ts +19 -0
  28. package/dist/es/models/common/v1/config/MessageSeverity.js +91 -0
  29. package/dist/es/models/common/v1/config/Metadata.d.ts +98 -0
  30. package/dist/es/models/common/v1/config/Metadata.js +411 -0
  31. package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +50 -0
  32. package/dist/es/models/common/v1/config/TenantAwareModel.js +243 -0
  33. package/dist/es/models/common/v1/response/ApiLink.d.ts +62 -0
  34. package/dist/es/models/common/v1/response/ApiLink.js +280 -0
  35. package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +98 -0
  36. package/dist/es/models/common/v1/response/ApiResponseMetadata.js +438 -0
  37. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +42 -0
  38. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +270 -0
  39. package/dist/es/models/objects/v4/error/AppMessage.d.ts +108 -0
  40. package/dist/es/models/objects/v4/error/AppMessage.js +432 -0
  41. package/dist/es/models/objects/v4/error/ErrorResponse.d.ts +48 -0
  42. package/dist/es/models/objects/v4/error/ErrorResponse.js +288 -0
  43. package/dist/es/models/objects/v4/error/SchemaValidationError.d.ts +98 -0
  44. package/dist/es/models/objects/v4/error/SchemaValidationError.js +407 -0
  45. package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +74 -0
  46. package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.js +318 -0
  47. package/dist/es/models/objects/v4/operations/Certificate.d.ts +78 -0
  48. package/dist/es/models/objects/v4/operations/Certificate.js +411 -0
  49. package/dist/es/models/objects/v4/operations/CertificateApiResponse.d.ts +59 -0
  50. package/dist/es/models/objects/v4/operations/CertificateApiResponse.js +311 -0
  51. package/dist/es/models/objects/v4/operations/CertificateListApiResponse.d.ts +59 -0
  52. package/dist/es/models/objects/v4/operations/CertificateListApiResponse.js +338 -0
  53. package/dist/es/models/objects/v4/operations/CertificateProjection.d.ts +9 -0
  54. package/dist/es/models/objects/v4/operations/CertificateProjection.js +131 -0
  55. package/dist/es/models/objects/v4/operations/Objectstore.d.ts +242 -0
  56. package/dist/es/models/objects/v4/operations/Objectstore.js +945 -0
  57. package/dist/es/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +59 -0
  58. package/dist/es/models/objects/v4/operations/ObjectstoreApiResponse.js +311 -0
  59. package/dist/es/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +59 -0
  60. package/dist/es/models/objects/v4/operations/ObjectstoreListApiResponse.js +338 -0
  61. package/dist/es/models/objects/v4/operations/ObjectstoreProjection.d.ts +50 -0
  62. package/dist/es/models/objects/v4/operations/ObjectstoreProjection.js +298 -0
  63. package/dist/es/models/objects/v4/operations/StateEnum.d.ts +19 -0
  64. package/dist/es/models/objects/v4/operations/StateEnum.js +145 -0
  65. package/dist/es/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +59 -0
  66. package/dist/es/models/objects/v4/operations/TaskReferenceApiResponse.js +311 -0
  67. package/dist/es/models/prism/v4/config/TaskReference.d.ts +50 -0
  68. package/dist/es/models/prism/v4/config/TaskReference.js +247 -0
  69. package/dist/es/models/validation/ValidationError.d.ts +13 -0
  70. package/dist/es/models/validation/ValidationError.js +60 -0
  71. package/dist/es/models/validation/ValidationScopes.d.ts +9 -0
  72. package/dist/es/models/validation/ValidationScopes.js +38 -0
  73. package/dist/es/utils/ValidationUtils.d.ts +13 -0
  74. package/dist/es/utils/ValidationUtils.js +85 -0
  75. package/dist/lib/ApiClient.d.ts +159 -0
  76. package/dist/lib/ApiClient.js +1211 -0
  77. package/dist/lib/Paginable.d.ts +95 -0
  78. package/dist/lib/Paginable.js +287 -0
  79. package/dist/lib/apis/objectstores-endpoints.d.ts +231 -0
  80. package/dist/lib/apis/objectstores-endpoints.js +522 -0
  81. package/dist/lib/index.d.ts +64 -0
  82. package/dist/lib/index.js +252 -0
  83. package/dist/lib/models/common/v1/config/FQDN.d.ts +48 -0
  84. package/dist/lib/models/common/v1/config/FQDN.js +242 -0
  85. package/dist/lib/models/common/v1/config/Flag.d.ts +58 -0
  86. package/dist/lib/models/common/v1/config/Flag.js +275 -0
  87. package/dist/lib/models/common/v1/config/IPAddress.d.ts +61 -0
  88. package/dist/lib/models/common/v1/config/IPAddress.js +291 -0
  89. package/dist/lib/models/common/v1/config/IPv4Address.d.ts +62 -0
  90. package/dist/lib/models/common/v1/config/IPv4Address.js +288 -0
  91. package/dist/lib/models/common/v1/config/IPv6Address.d.ts +62 -0
  92. package/dist/lib/models/common/v1/config/IPv6Address.js +288 -0
  93. package/dist/lib/models/common/v1/config/KVPair.d.ts +62 -0
  94. package/dist/lib/models/common/v1/config/KVPair.js +332 -0
  95. package/dist/lib/models/common/v1/config/Message.d.ts +84 -0
  96. package/dist/lib/models/common/v1/config/Message.js +354 -0
  97. package/dist/lib/models/common/v1/config/MessageSeverity.d.ts +19 -0
  98. package/dist/lib/models/common/v1/config/MessageSeverity.js +91 -0
  99. package/dist/lib/models/common/v1/config/Metadata.d.ts +98 -0
  100. package/dist/lib/models/common/v1/config/Metadata.js +411 -0
  101. package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +50 -0
  102. package/dist/lib/models/common/v1/config/TenantAwareModel.js +243 -0
  103. package/dist/lib/models/common/v1/response/ApiLink.d.ts +62 -0
  104. package/dist/lib/models/common/v1/response/ApiLink.js +280 -0
  105. package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +98 -0
  106. package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +438 -0
  107. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +42 -0
  108. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +270 -0
  109. package/dist/lib/models/objects/v4/error/AppMessage.d.ts +108 -0
  110. package/dist/lib/models/objects/v4/error/AppMessage.js +432 -0
  111. package/dist/lib/models/objects/v4/error/ErrorResponse.d.ts +48 -0
  112. package/dist/lib/models/objects/v4/error/ErrorResponse.js +288 -0
  113. package/dist/lib/models/objects/v4/error/SchemaValidationError.d.ts +98 -0
  114. package/dist/lib/models/objects/v4/error/SchemaValidationError.js +407 -0
  115. package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +74 -0
  116. package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.js +318 -0
  117. package/dist/lib/models/objects/v4/operations/Certificate.d.ts +78 -0
  118. package/dist/lib/models/objects/v4/operations/Certificate.js +411 -0
  119. package/dist/lib/models/objects/v4/operations/CertificateApiResponse.d.ts +59 -0
  120. package/dist/lib/models/objects/v4/operations/CertificateApiResponse.js +311 -0
  121. package/dist/lib/models/objects/v4/operations/CertificateListApiResponse.d.ts +59 -0
  122. package/dist/lib/models/objects/v4/operations/CertificateListApiResponse.js +338 -0
  123. package/dist/lib/models/objects/v4/operations/CertificateProjection.d.ts +9 -0
  124. package/dist/lib/models/objects/v4/operations/CertificateProjection.js +131 -0
  125. package/dist/lib/models/objects/v4/operations/Objectstore.d.ts +242 -0
  126. package/dist/lib/models/objects/v4/operations/Objectstore.js +945 -0
  127. package/dist/lib/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +59 -0
  128. package/dist/lib/models/objects/v4/operations/ObjectstoreApiResponse.js +311 -0
  129. package/dist/lib/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +59 -0
  130. package/dist/lib/models/objects/v4/operations/ObjectstoreListApiResponse.js +338 -0
  131. package/dist/lib/models/objects/v4/operations/ObjectstoreProjection.d.ts +50 -0
  132. package/dist/lib/models/objects/v4/operations/ObjectstoreProjection.js +298 -0
  133. package/dist/lib/models/objects/v4/operations/StateEnum.d.ts +19 -0
  134. package/dist/lib/models/objects/v4/operations/StateEnum.js +145 -0
  135. package/dist/lib/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +59 -0
  136. package/dist/lib/models/objects/v4/operations/TaskReferenceApiResponse.js +311 -0
  137. package/dist/lib/models/prism/v4/config/TaskReference.d.ts +50 -0
  138. package/dist/lib/models/prism/v4/config/TaskReference.js +247 -0
  139. package/dist/lib/models/validation/ValidationError.d.ts +13 -0
  140. package/dist/lib/models/validation/ValidationError.js +60 -0
  141. package/dist/lib/models/validation/ValidationScopes.d.ts +9 -0
  142. package/dist/lib/models/validation/ValidationScopes.js +38 -0
  143. package/dist/lib/utils/ValidationUtils.d.ts +13 -0
  144. package/dist/lib/utils/ValidationUtils.js +85 -0
  145. package/package.json +53 -0
@@ -0,0 +1,242 @@
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";