@nutanix-scratch/volumes-js-client 4.1.1 → 4.2.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 (402) hide show
  1. package/README.md +17 -5
  2. package/dist/Ntnx-Volumes-js-client-prod.js +1 -1
  3. package/dist/Ntnx-Volumes-js-client.js +528 -522
  4. package/dist/es/ApiClient.d.ts +29 -7
  5. package/dist/es/ApiClient.js +854 -667
  6. package/dist/es/Paginable.d.ts +1 -1
  7. package/dist/es/Paginable.js +144 -183
  8. package/dist/es/apis/iscsiclients-endpoints.d.ts +2 -2
  9. package/dist/es/apis/iscsiclients-endpoints.js +143 -154
  10. package/dist/es/apis/nvmfclients-endpoints.d.ts +2 -2
  11. package/dist/es/apis/nvmfclients-endpoints.js +100 -110
  12. package/dist/es/apis/volumegroups-endpoints.d.ts +14 -35
  13. package/dist/es/apis/volumegroups-endpoints.js +1151 -1203
  14. package/dist/es/index.d.ts +3 -3
  15. package/dist/es/index.js +300 -300
  16. package/dist/es/models/common/v1/config/EntityReference.d.ts +2 -10
  17. package/dist/es/models/common/v1/config/EntityReference.js +225 -270
  18. package/dist/es/models/common/v1/config/EntityType.js +9 -11
  19. package/dist/es/models/common/v1/config/FQDN.d.ts +2 -7
  20. package/dist/es/models/common/v1/config/FQDN.js +141 -180
  21. package/dist/es/models/common/v1/config/Flag.d.ts +2 -8
  22. package/dist/es/models/common/v1/config/Flag.js +170 -211
  23. package/dist/es/models/common/v1/config/IPAddressOrFQDN.d.ts +2 -26
  24. package/dist/es/models/common/v1/config/IPAddressOrFQDN.js +196 -247
  25. package/dist/es/models/common/v1/config/IPv4Address.d.ts +2 -8
  26. package/dist/es/models/common/v1/config/IPv4Address.js +174 -215
  27. package/dist/es/models/common/v1/config/IPv6Address.d.ts +2 -8
  28. package/dist/es/models/common/v1/config/IPv6Address.js +174 -215
  29. package/dist/es/models/common/v1/config/KVPair.d.ts +2 -8
  30. package/dist/es/models/common/v1/config/KVPair.js +225 -270
  31. package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
  32. package/dist/es/models/common/v1/config/MapOfStringWrapper.js +139 -178
  33. package/dist/es/models/common/v1/config/Message.d.ts +2 -10
  34. package/dist/es/models/common/v1/config/Message.js +213 -258
  35. package/dist/es/models/common/v1/config/MessageSeverity.js +7 -9
  36. package/dist/es/models/common/v1/config/Metadata.d.ts +2 -11
  37. package/dist/es/models/common/v1/config/Metadata.js +261 -308
  38. package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +2 -7
  39. package/dist/es/models/common/v1/config/TenantAwareModel.js +137 -177
  40. package/dist/es/models/common/v1/response/ApiLink.d.ts +2 -8
  41. package/dist/es/models/common/v1/response/ApiLink.js +165 -206
  42. package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
  43. package/dist/es/models/common/v1/response/ApiResponseMetadata.js +281 -344
  44. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
  45. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +154 -202
  46. package/dist/es/models/common/v1/stats/DownSamplingOperator.js +7 -9
  47. package/dist/es/models/prism/v4/config/TaskReference.d.ts +2 -7
  48. package/dist/es/models/prism/v4/config/TaskReference.js +142 -181
  49. package/dist/es/models/validation/ValidationError.js +26 -42
  50. package/dist/es/models/validation/ValidationScopes.js +3 -3
  51. package/dist/es/models/volumes/v4/config/AccessToken.d.ts +2 -7
  52. package/dist/es/models/volumes/v4/config/AccessToken.js +140 -179
  53. package/dist/es/models/volumes/v4/config/AssociateCategoryApiResponse.d.ts +2 -43
  54. package/dist/es/models/volumes/v4/config/AssociateCategoryApiResponse.js +187 -242
  55. package/dist/es/models/volumes/v4/config/AttachIscsiClientApiResponse.d.ts +2 -43
  56. package/dist/es/models/volumes/v4/config/AttachIscsiClientApiResponse.js +187 -242
  57. package/dist/es/models/volumes/v4/config/AttachNvmfClientApiResponse.d.ts +2 -43
  58. package/dist/es/models/volumes/v4/config/AttachNvmfClientApiResponse.js +187 -242
  59. package/dist/es/models/volumes/v4/config/AttachVmApiResponse.d.ts +2 -43
  60. package/dist/es/models/volumes/v4/config/AttachVmApiResponse.js +187 -242
  61. package/dist/es/models/volumes/v4/config/AttachmentType.js +7 -9
  62. package/dist/es/models/volumes/v4/config/AuthenticationType.js +7 -9
  63. package/dist/es/models/volumes/v4/config/CategoryDetails.d.ts +1 -1
  64. package/dist/es/models/volumes/v4/config/CategoryDetails.js +74 -103
  65. package/dist/es/models/volumes/v4/config/CategoryEntityReferences.d.ts +2 -15
  66. package/dist/es/models/volumes/v4/config/CategoryEntityReferences.js +152 -195
  67. package/dist/es/models/volumes/v4/config/ClientAccess.js +7 -9
  68. package/dist/es/models/volumes/v4/config/Cluster.d.ts +2 -8
  69. package/dist/es/models/volumes/v4/config/Cluster.js +164 -207
  70. package/dist/es/models/volumes/v4/config/ClusterProjection.d.ts +1 -1
  71. package/dist/es/models/volumes/v4/config/ClusterProjection.js +74 -103
  72. package/dist/es/models/volumes/v4/config/ClusterScope.d.ts +2 -7
  73. package/dist/es/models/volumes/v4/config/ClusterScope.js +142 -181
  74. package/dist/es/models/volumes/v4/config/ClusterScopeProjection.d.ts +1 -1
  75. package/dist/es/models/volumes/v4/config/ClusterScopeProjection.js +74 -103
  76. package/dist/es/models/volumes/v4/config/CreateVolumeDiskApiResponse.d.ts +2 -43
  77. package/dist/es/models/volumes/v4/config/CreateVolumeDiskApiResponse.js +187 -242
  78. package/dist/es/models/volumes/v4/config/CreateVolumeGroupApiResponse.d.ts +2 -43
  79. package/dist/es/models/volumes/v4/config/CreateVolumeGroupApiResponse.js +187 -242
  80. package/dist/es/models/volumes/v4/config/DeleteVolumeDiskApiResponse.d.ts +2 -43
  81. package/dist/es/models/volumes/v4/config/DeleteVolumeDiskApiResponse.js +187 -242
  82. package/dist/es/models/volumes/v4/config/DeleteVolumeGroupApiResponse.d.ts +2 -43
  83. package/dist/es/models/volumes/v4/config/DeleteVolumeGroupApiResponse.js +187 -242
  84. package/dist/es/models/volumes/v4/config/DetachIscsiClientApiResponse.d.ts +2 -43
  85. package/dist/es/models/volumes/v4/config/DetachIscsiClientApiResponse.js +187 -242
  86. package/dist/es/models/volumes/v4/config/DetachNvmfClientApiResponse.d.ts +2 -43
  87. package/dist/es/models/volumes/v4/config/DetachNvmfClientApiResponse.js +187 -242
  88. package/dist/es/models/volumes/v4/config/DetachVmApiResponse.d.ts +2 -43
  89. package/dist/es/models/volumes/v4/config/DetachVmApiResponse.js +187 -242
  90. package/dist/es/models/volumes/v4/config/DisassociateCategoryApiResponse.d.ts +2 -43
  91. package/dist/es/models/volumes/v4/config/DisassociateCategoryApiResponse.js +187 -242
  92. package/dist/es/models/volumes/v4/config/DiskStorageFeatures.d.ts +2 -12
  93. package/dist/es/models/volumes/v4/config/DiskStorageFeatures.js +138 -177
  94. package/dist/es/models/volumes/v4/config/FlashMode.d.ts +2 -7
  95. package/dist/es/models/volumes/v4/config/FlashMode.js +140 -179
  96. package/dist/es/models/volumes/v4/config/GetIscsiClientApiResponse.d.ts +2 -45
  97. package/dist/es/models/volumes/v4/config/GetIscsiClientApiResponse.js +187 -242
  98. package/dist/es/models/volumes/v4/config/GetNvmfClientApiResponse.d.ts +2 -43
  99. package/dist/es/models/volumes/v4/config/GetNvmfClientApiResponse.js +187 -242
  100. package/dist/es/models/volumes/v4/config/GetVolumeDiskApiResponse.d.ts +2 -43
  101. package/dist/es/models/volumes/v4/config/GetVolumeDiskApiResponse.js +187 -242
  102. package/dist/es/models/volumes/v4/config/GetVolumeGroupApiResponse.d.ts +2 -45
  103. package/dist/es/models/volumes/v4/config/GetVolumeGroupApiResponse.js +187 -242
  104. package/dist/es/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.d.ts +2 -43
  105. package/dist/es/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.js +187 -242
  106. package/dist/es/models/volumes/v4/config/HydrationStatus.d.ts +19 -0
  107. package/dist/es/models/volumes/v4/config/HydrationStatus.js +89 -0
  108. package/dist/es/models/volumes/v4/config/IscsiClient.d.ts +1 -53
  109. package/dist/es/models/volumes/v4/config/IscsiClient.js +304 -364
  110. package/dist/es/models/volumes/v4/config/IscsiClientAttachment.d.ts +2 -8
  111. package/dist/es/models/volumes/v4/config/IscsiClientAttachment.js +168 -210
  112. package/dist/es/models/volumes/v4/config/IscsiClientAttachmentProjection.d.ts +1 -67
  113. package/dist/es/models/volumes/v4/config/IscsiClientAttachmentProjection.js +124 -164
  114. package/dist/es/models/volumes/v4/config/IscsiClientProjection.d.ts +1 -60
  115. package/dist/es/models/volumes/v4/config/IscsiClientProjection.js +164 -194
  116. package/dist/es/models/volumes/v4/config/IscsiFeatures.d.ts +2 -8
  117. package/dist/es/models/volumes/v4/config/IscsiFeatures.js +164 -205
  118. package/dist/es/models/volumes/v4/config/ListCategoryAssociationsApiResponse.d.ts +2 -43
  119. package/dist/es/models/volumes/v4/config/ListCategoryAssociationsApiResponse.js +209 -264
  120. package/dist/es/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.d.ts +2 -43
  121. package/dist/es/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.js +213 -268
  122. package/dist/es/models/volumes/v4/config/ListIscsiClientsApiResponse.d.ts +2 -43
  123. package/dist/es/models/volumes/v4/config/ListIscsiClientsApiResponse.js +213 -268
  124. package/dist/es/models/volumes/v4/config/ListNvmfClientsApiResponse.d.ts +2 -43
  125. package/dist/es/models/volumes/v4/config/ListNvmfClientsApiResponse.js +213 -268
  126. package/dist/es/models/volumes/v4/config/ListVmAttachmentsApiResponse.d.ts +2 -43
  127. package/dist/es/models/volumes/v4/config/ListVmAttachmentsApiResponse.js +213 -268
  128. package/dist/es/models/volumes/v4/config/ListVolumeDisksApiResponse.d.ts +2 -43
  129. package/dist/es/models/volumes/v4/config/ListVolumeDisksApiResponse.js +213 -268
  130. package/dist/es/models/volumes/v4/config/ListVolumeGroupsApiResponse.d.ts +2 -43
  131. package/dist/es/models/volumes/v4/config/ListVolumeGroupsApiResponse.js +213 -268
  132. package/dist/es/models/volumes/v4/config/NvmfClient.d.ts +1 -18
  133. package/dist/es/models/volumes/v4/config/NvmfClient.js +185 -233
  134. package/dist/es/models/volumes/v4/config/NvmfClientAttachment.d.ts +1 -16
  135. package/dist/es/models/volumes/v4/config/NvmfClientAttachment.js +125 -168
  136. package/dist/es/models/volumes/v4/config/NvmfClientAttachmentProjection.d.ts +1 -40
  137. package/dist/es/models/volumes/v4/config/NvmfClientAttachmentProjection.js +129 -170
  138. package/dist/es/models/volumes/v4/config/NvmfClientProjection.d.ts +1 -25
  139. package/dist/es/models/volumes/v4/config/NvmfClientProjection.js +138 -176
  140. package/dist/es/models/volumes/v4/config/Protocol.js +7 -9
  141. package/dist/es/models/volumes/v4/config/RevertSpec.d.ts +2 -7
  142. package/dist/es/models/volumes/v4/config/RevertSpec.js +142 -181
  143. package/dist/es/models/volumes/v4/config/RevertVolumeGroupApiResponse.d.ts +2 -43
  144. package/dist/es/models/volumes/v4/config/RevertVolumeGroupApiResponse.js +187 -242
  145. package/dist/es/models/volumes/v4/config/SharingStatus.js +7 -9
  146. package/dist/es/models/volumes/v4/config/StorageFeatures.d.ts +2 -12
  147. package/dist/es/models/volumes/v4/config/StorageFeatures.js +138 -177
  148. package/dist/es/models/volumes/v4/config/TargetParam.d.ts +2 -8
  149. package/dist/es/models/volumes/v4/config/TargetParam.js +169 -212
  150. package/dist/es/models/volumes/v4/config/UpdateIscsiClientApiResponse.d.ts +2 -43
  151. package/dist/es/models/volumes/v4/config/UpdateIscsiClientApiResponse.js +187 -242
  152. package/dist/es/models/volumes/v4/config/UpdateVolumeDiskApiResponse.d.ts +2 -43
  153. package/dist/es/models/volumes/v4/config/UpdateVolumeDiskApiResponse.js +187 -242
  154. package/dist/es/models/volumes/v4/config/UpdateVolumeGroupApiResponse.d.ts +2 -43
  155. package/dist/es/models/volumes/v4/config/UpdateVolumeGroupApiResponse.js +187 -242
  156. package/dist/es/models/volumes/v4/config/UsageType.js +7 -9
  157. package/dist/es/models/volumes/v4/config/VGAttachment.d.ts +2 -7
  158. package/dist/es/models/volumes/v4/config/VGAttachment.js +156 -199
  159. package/dist/es/models/volumes/v4/config/VmAttachment.d.ts +2 -8
  160. package/dist/es/models/volumes/v4/config/VmAttachment.js +168 -209
  161. package/dist/es/models/volumes/v4/config/VmAttachmentProjection.d.ts +1 -1
  162. package/dist/es/models/volumes/v4/config/VmAttachmentProjection.js +74 -103
  163. package/dist/es/models/volumes/v4/config/VolumeDisk.d.ts +1 -39
  164. package/dist/es/models/volumes/v4/config/VolumeDisk.js +266 -319
  165. package/dist/es/models/volumes/v4/config/VolumeDiskProjection.d.ts +1 -1
  166. package/dist/es/models/volumes/v4/config/VolumeDiskProjection.js +74 -103
  167. package/dist/es/models/volumes/v4/config/VolumeGroup.d.ts +11 -90
  168. package/dist/es/models/volumes/v4/config/VolumeGroup.js +593 -640
  169. package/dist/es/models/volumes/v4/config/VolumeGroupAttachmentSite.js +7 -9
  170. package/dist/es/models/volumes/v4/config/VolumeGroupDelegateAccessSpec.d.ts +2 -13
  171. package/dist/es/models/volumes/v4/config/VolumeGroupDelegateAccessSpec.js +162 -203
  172. package/dist/es/models/volumes/v4/config/VolumeGroupMetadata.d.ts +2 -8
  173. package/dist/es/models/volumes/v4/config/VolumeGroupMetadata.js +166 -209
  174. package/dist/es/models/volumes/v4/config/VolumeGroupMetadataProjection.d.ts +1 -1
  175. package/dist/es/models/volumes/v4/config/VolumeGroupMetadataProjection.js +74 -103
  176. package/dist/es/models/volumes/v4/config/VolumeGroupProjection.d.ts +1 -106
  177. package/dist/es/models/volumes/v4/config/VolumeGroupProjection.js +246 -252
  178. package/dist/es/models/volumes/v4/error/AppMessage.d.ts +2 -12
  179. package/dist/es/models/volumes/v4/error/AppMessage.js +264 -313
  180. package/dist/es/models/volumes/v4/error/ErrorResponse.d.ts +2 -7
  181. package/dist/es/models/volumes/v4/error/ErrorResponse.js +175 -219
  182. package/dist/es/models/volumes/v4/error/SchemaValidationError.d.ts +2 -18
  183. package/dist/es/models/volumes/v4/error/SchemaValidationError.js +249 -300
  184. package/dist/es/models/volumes/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
  185. package/dist/es/models/volumes/v4/error/SchemaValidationErrorMessage.js +191 -234
  186. package/dist/es/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.d.ts +2 -45
  187. package/dist/es/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.js +187 -242
  188. package/dist/es/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.d.ts +2 -43
  189. package/dist/es/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.js +187 -242
  190. package/dist/es/models/volumes/v4/stats/TimeValuePair.d.ts +2 -8
  191. package/dist/es/models/volumes/v4/stats/TimeValuePair.js +166 -207
  192. package/dist/es/models/volumes/v4/stats/VolumeDiskStats.d.ts +1 -86
  193. package/dist/es/models/volumes/v4/stats/VolumeDiskStats.js +458 -550
  194. package/dist/es/models/volumes/v4/stats/VolumeDiskStatsProjection.d.ts +1 -1
  195. package/dist/es/models/volumes/v4/stats/VolumeDiskStatsProjection.js +74 -103
  196. package/dist/es/models/volumes/v4/stats/VolumeGroupStats.d.ts +12 -86
  197. package/dist/es/models/volumes/v4/stats/VolumeGroupStats.js +500 -550
  198. package/dist/es/models/volumes/v4/stats/VolumeGroupStatsProjection.d.ts +1 -1
  199. package/dist/es/models/volumes/v4/stats/VolumeGroupStatsProjection.js +74 -103
  200. package/dist/es/utils/ValidationUtils.js +39 -69
  201. package/dist/lib/ApiClient.d.ts +29 -7
  202. package/dist/lib/ApiClient.js +854 -667
  203. package/dist/lib/Paginable.d.ts +1 -1
  204. package/dist/lib/Paginable.js +144 -183
  205. package/dist/lib/apis/iscsiclients-endpoints.d.ts +2 -2
  206. package/dist/lib/apis/iscsiclients-endpoints.js +143 -154
  207. package/dist/lib/apis/nvmfclients-endpoints.d.ts +2 -2
  208. package/dist/lib/apis/nvmfclients-endpoints.js +100 -110
  209. package/dist/lib/apis/volumegroups-endpoints.d.ts +14 -35
  210. package/dist/lib/apis/volumegroups-endpoints.js +1151 -1203
  211. package/dist/lib/index.d.ts +3 -3
  212. package/dist/lib/index.js +300 -300
  213. package/dist/lib/models/common/v1/config/EntityReference.d.ts +2 -10
  214. package/dist/lib/models/common/v1/config/EntityReference.js +225 -270
  215. package/dist/lib/models/common/v1/config/EntityType.js +9 -11
  216. package/dist/lib/models/common/v1/config/FQDN.d.ts +2 -7
  217. package/dist/lib/models/common/v1/config/FQDN.js +141 -180
  218. package/dist/lib/models/common/v1/config/Flag.d.ts +2 -8
  219. package/dist/lib/models/common/v1/config/Flag.js +170 -211
  220. package/dist/lib/models/common/v1/config/IPAddressOrFQDN.d.ts +2 -26
  221. package/dist/lib/models/common/v1/config/IPAddressOrFQDN.js +196 -247
  222. package/dist/lib/models/common/v1/config/IPv4Address.d.ts +2 -8
  223. package/dist/lib/models/common/v1/config/IPv4Address.js +174 -215
  224. package/dist/lib/models/common/v1/config/IPv6Address.d.ts +2 -8
  225. package/dist/lib/models/common/v1/config/IPv6Address.js +174 -215
  226. package/dist/lib/models/common/v1/config/KVPair.d.ts +2 -8
  227. package/dist/lib/models/common/v1/config/KVPair.js +225 -270
  228. package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
  229. package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +139 -178
  230. package/dist/lib/models/common/v1/config/Message.d.ts +2 -10
  231. package/dist/lib/models/common/v1/config/Message.js +213 -258
  232. package/dist/lib/models/common/v1/config/MessageSeverity.js +7 -9
  233. package/dist/lib/models/common/v1/config/Metadata.d.ts +2 -11
  234. package/dist/lib/models/common/v1/config/Metadata.js +261 -308
  235. package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +2 -7
  236. package/dist/lib/models/common/v1/config/TenantAwareModel.js +137 -177
  237. package/dist/lib/models/common/v1/response/ApiLink.d.ts +2 -8
  238. package/dist/lib/models/common/v1/response/ApiLink.js +165 -206
  239. package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
  240. package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +281 -344
  241. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
  242. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +154 -202
  243. package/dist/lib/models/common/v1/stats/DownSamplingOperator.js +7 -9
  244. package/dist/lib/models/prism/v4/config/TaskReference.d.ts +2 -7
  245. package/dist/lib/models/prism/v4/config/TaskReference.js +142 -181
  246. package/dist/lib/models/validation/ValidationError.js +26 -42
  247. package/dist/lib/models/validation/ValidationScopes.js +3 -3
  248. package/dist/lib/models/volumes/v4/config/AccessToken.d.ts +2 -7
  249. package/dist/lib/models/volumes/v4/config/AccessToken.js +140 -179
  250. package/dist/lib/models/volumes/v4/config/AssociateCategoryApiResponse.d.ts +2 -43
  251. package/dist/lib/models/volumes/v4/config/AssociateCategoryApiResponse.js +187 -242
  252. package/dist/lib/models/volumes/v4/config/AttachIscsiClientApiResponse.d.ts +2 -43
  253. package/dist/lib/models/volumes/v4/config/AttachIscsiClientApiResponse.js +187 -242
  254. package/dist/lib/models/volumes/v4/config/AttachNvmfClientApiResponse.d.ts +2 -43
  255. package/dist/lib/models/volumes/v4/config/AttachNvmfClientApiResponse.js +187 -242
  256. package/dist/lib/models/volumes/v4/config/AttachVmApiResponse.d.ts +2 -43
  257. package/dist/lib/models/volumes/v4/config/AttachVmApiResponse.js +187 -242
  258. package/dist/lib/models/volumes/v4/config/AttachmentType.js +7 -9
  259. package/dist/lib/models/volumes/v4/config/AuthenticationType.js +7 -9
  260. package/dist/lib/models/volumes/v4/config/CategoryDetails.d.ts +1 -1
  261. package/dist/lib/models/volumes/v4/config/CategoryDetails.js +74 -103
  262. package/dist/lib/models/volumes/v4/config/CategoryEntityReferences.d.ts +2 -15
  263. package/dist/lib/models/volumes/v4/config/CategoryEntityReferences.js +152 -195
  264. package/dist/lib/models/volumes/v4/config/ClientAccess.js +7 -9
  265. package/dist/lib/models/volumes/v4/config/Cluster.d.ts +2 -8
  266. package/dist/lib/models/volumes/v4/config/Cluster.js +164 -207
  267. package/dist/lib/models/volumes/v4/config/ClusterProjection.d.ts +1 -1
  268. package/dist/lib/models/volumes/v4/config/ClusterProjection.js +74 -103
  269. package/dist/lib/models/volumes/v4/config/ClusterScope.d.ts +2 -7
  270. package/dist/lib/models/volumes/v4/config/ClusterScope.js +142 -181
  271. package/dist/lib/models/volumes/v4/config/ClusterScopeProjection.d.ts +1 -1
  272. package/dist/lib/models/volumes/v4/config/ClusterScopeProjection.js +74 -103
  273. package/dist/lib/models/volumes/v4/config/CreateVolumeDiskApiResponse.d.ts +2 -43
  274. package/dist/lib/models/volumes/v4/config/CreateVolumeDiskApiResponse.js +187 -242
  275. package/dist/lib/models/volumes/v4/config/CreateVolumeGroupApiResponse.d.ts +2 -43
  276. package/dist/lib/models/volumes/v4/config/CreateVolumeGroupApiResponse.js +187 -242
  277. package/dist/lib/models/volumes/v4/config/DeleteVolumeDiskApiResponse.d.ts +2 -43
  278. package/dist/lib/models/volumes/v4/config/DeleteVolumeDiskApiResponse.js +187 -242
  279. package/dist/lib/models/volumes/v4/config/DeleteVolumeGroupApiResponse.d.ts +2 -43
  280. package/dist/lib/models/volumes/v4/config/DeleteVolumeGroupApiResponse.js +187 -242
  281. package/dist/lib/models/volumes/v4/config/DetachIscsiClientApiResponse.d.ts +2 -43
  282. package/dist/lib/models/volumes/v4/config/DetachIscsiClientApiResponse.js +187 -242
  283. package/dist/lib/models/volumes/v4/config/DetachNvmfClientApiResponse.d.ts +2 -43
  284. package/dist/lib/models/volumes/v4/config/DetachNvmfClientApiResponse.js +187 -242
  285. package/dist/lib/models/volumes/v4/config/DetachVmApiResponse.d.ts +2 -43
  286. package/dist/lib/models/volumes/v4/config/DetachVmApiResponse.js +187 -242
  287. package/dist/lib/models/volumes/v4/config/DisassociateCategoryApiResponse.d.ts +2 -43
  288. package/dist/lib/models/volumes/v4/config/DisassociateCategoryApiResponse.js +187 -242
  289. package/dist/lib/models/volumes/v4/config/DiskStorageFeatures.d.ts +2 -12
  290. package/dist/lib/models/volumes/v4/config/DiskStorageFeatures.js +138 -177
  291. package/dist/lib/models/volumes/v4/config/FlashMode.d.ts +2 -7
  292. package/dist/lib/models/volumes/v4/config/FlashMode.js +140 -179
  293. package/dist/lib/models/volumes/v4/config/GetIscsiClientApiResponse.d.ts +2 -45
  294. package/dist/lib/models/volumes/v4/config/GetIscsiClientApiResponse.js +187 -242
  295. package/dist/lib/models/volumes/v4/config/GetNvmfClientApiResponse.d.ts +2 -43
  296. package/dist/lib/models/volumes/v4/config/GetNvmfClientApiResponse.js +187 -242
  297. package/dist/lib/models/volumes/v4/config/GetVolumeDiskApiResponse.d.ts +2 -43
  298. package/dist/lib/models/volumes/v4/config/GetVolumeDiskApiResponse.js +187 -242
  299. package/dist/lib/models/volumes/v4/config/GetVolumeGroupApiResponse.d.ts +2 -45
  300. package/dist/lib/models/volumes/v4/config/GetVolumeGroupApiResponse.js +187 -242
  301. package/dist/lib/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.d.ts +2 -43
  302. package/dist/lib/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.js +187 -242
  303. package/dist/lib/models/volumes/v4/config/HydrationStatus.d.ts +19 -0
  304. package/dist/lib/models/volumes/v4/config/HydrationStatus.js +89 -0
  305. package/dist/lib/models/volumes/v4/config/IscsiClient.d.ts +1 -53
  306. package/dist/lib/models/volumes/v4/config/IscsiClient.js +304 -364
  307. package/dist/lib/models/volumes/v4/config/IscsiClientAttachment.d.ts +2 -8
  308. package/dist/lib/models/volumes/v4/config/IscsiClientAttachment.js +168 -210
  309. package/dist/lib/models/volumes/v4/config/IscsiClientAttachmentProjection.d.ts +1 -67
  310. package/dist/lib/models/volumes/v4/config/IscsiClientAttachmentProjection.js +124 -164
  311. package/dist/lib/models/volumes/v4/config/IscsiClientProjection.d.ts +1 -60
  312. package/dist/lib/models/volumes/v4/config/IscsiClientProjection.js +164 -194
  313. package/dist/lib/models/volumes/v4/config/IscsiFeatures.d.ts +2 -8
  314. package/dist/lib/models/volumes/v4/config/IscsiFeatures.js +164 -205
  315. package/dist/lib/models/volumes/v4/config/ListCategoryAssociationsApiResponse.d.ts +2 -43
  316. package/dist/lib/models/volumes/v4/config/ListCategoryAssociationsApiResponse.js +209 -264
  317. package/dist/lib/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.d.ts +2 -43
  318. package/dist/lib/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.js +213 -268
  319. package/dist/lib/models/volumes/v4/config/ListIscsiClientsApiResponse.d.ts +2 -43
  320. package/dist/lib/models/volumes/v4/config/ListIscsiClientsApiResponse.js +213 -268
  321. package/dist/lib/models/volumes/v4/config/ListNvmfClientsApiResponse.d.ts +2 -43
  322. package/dist/lib/models/volumes/v4/config/ListNvmfClientsApiResponse.js +213 -268
  323. package/dist/lib/models/volumes/v4/config/ListVmAttachmentsApiResponse.d.ts +2 -43
  324. package/dist/lib/models/volumes/v4/config/ListVmAttachmentsApiResponse.js +213 -268
  325. package/dist/lib/models/volumes/v4/config/ListVolumeDisksApiResponse.d.ts +2 -43
  326. package/dist/lib/models/volumes/v4/config/ListVolumeDisksApiResponse.js +213 -268
  327. package/dist/lib/models/volumes/v4/config/ListVolumeGroupsApiResponse.d.ts +2 -43
  328. package/dist/lib/models/volumes/v4/config/ListVolumeGroupsApiResponse.js +213 -268
  329. package/dist/lib/models/volumes/v4/config/NvmfClient.d.ts +1 -18
  330. package/dist/lib/models/volumes/v4/config/NvmfClient.js +185 -233
  331. package/dist/lib/models/volumes/v4/config/NvmfClientAttachment.d.ts +1 -16
  332. package/dist/lib/models/volumes/v4/config/NvmfClientAttachment.js +125 -168
  333. package/dist/lib/models/volumes/v4/config/NvmfClientAttachmentProjection.d.ts +1 -40
  334. package/dist/lib/models/volumes/v4/config/NvmfClientAttachmentProjection.js +129 -170
  335. package/dist/lib/models/volumes/v4/config/NvmfClientProjection.d.ts +1 -25
  336. package/dist/lib/models/volumes/v4/config/NvmfClientProjection.js +138 -176
  337. package/dist/lib/models/volumes/v4/config/Protocol.js +7 -9
  338. package/dist/lib/models/volumes/v4/config/RevertSpec.d.ts +2 -7
  339. package/dist/lib/models/volumes/v4/config/RevertSpec.js +142 -181
  340. package/dist/lib/models/volumes/v4/config/RevertVolumeGroupApiResponse.d.ts +2 -43
  341. package/dist/lib/models/volumes/v4/config/RevertVolumeGroupApiResponse.js +187 -242
  342. package/dist/lib/models/volumes/v4/config/SharingStatus.js +7 -9
  343. package/dist/lib/models/volumes/v4/config/StorageFeatures.d.ts +2 -12
  344. package/dist/lib/models/volumes/v4/config/StorageFeatures.js +138 -177
  345. package/dist/lib/models/volumes/v4/config/TargetParam.d.ts +2 -8
  346. package/dist/lib/models/volumes/v4/config/TargetParam.js +169 -212
  347. package/dist/lib/models/volumes/v4/config/UpdateIscsiClientApiResponse.d.ts +2 -43
  348. package/dist/lib/models/volumes/v4/config/UpdateIscsiClientApiResponse.js +187 -242
  349. package/dist/lib/models/volumes/v4/config/UpdateVolumeDiskApiResponse.d.ts +2 -43
  350. package/dist/lib/models/volumes/v4/config/UpdateVolumeDiskApiResponse.js +187 -242
  351. package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupApiResponse.d.ts +2 -43
  352. package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupApiResponse.js +187 -242
  353. package/dist/lib/models/volumes/v4/config/UsageType.js +7 -9
  354. package/dist/lib/models/volumes/v4/config/VGAttachment.d.ts +2 -7
  355. package/dist/lib/models/volumes/v4/config/VGAttachment.js +156 -199
  356. package/dist/lib/models/volumes/v4/config/VmAttachment.d.ts +2 -8
  357. package/dist/lib/models/volumes/v4/config/VmAttachment.js +168 -209
  358. package/dist/lib/models/volumes/v4/config/VmAttachmentProjection.d.ts +1 -1
  359. package/dist/lib/models/volumes/v4/config/VmAttachmentProjection.js +74 -103
  360. package/dist/lib/models/volumes/v4/config/VolumeDisk.d.ts +1 -39
  361. package/dist/lib/models/volumes/v4/config/VolumeDisk.js +266 -319
  362. package/dist/lib/models/volumes/v4/config/VolumeDiskProjection.d.ts +1 -1
  363. package/dist/lib/models/volumes/v4/config/VolumeDiskProjection.js +74 -103
  364. package/dist/lib/models/volumes/v4/config/VolumeGroup.d.ts +11 -90
  365. package/dist/lib/models/volumes/v4/config/VolumeGroup.js +593 -640
  366. package/dist/lib/models/volumes/v4/config/VolumeGroupAttachmentSite.js +7 -9
  367. package/dist/lib/models/volumes/v4/config/VolumeGroupDelegateAccessSpec.d.ts +2 -13
  368. package/dist/lib/models/volumes/v4/config/VolumeGroupDelegateAccessSpec.js +162 -203
  369. package/dist/lib/models/volumes/v4/config/VolumeGroupMetadata.d.ts +2 -8
  370. package/dist/lib/models/volumes/v4/config/VolumeGroupMetadata.js +166 -209
  371. package/dist/lib/models/volumes/v4/config/VolumeGroupMetadataProjection.d.ts +1 -1
  372. package/dist/lib/models/volumes/v4/config/VolumeGroupMetadataProjection.js +74 -103
  373. package/dist/lib/models/volumes/v4/config/VolumeGroupProjection.d.ts +1 -106
  374. package/dist/lib/models/volumes/v4/config/VolumeGroupProjection.js +246 -252
  375. package/dist/lib/models/volumes/v4/error/AppMessage.d.ts +2 -12
  376. package/dist/lib/models/volumes/v4/error/AppMessage.js +264 -313
  377. package/dist/lib/models/volumes/v4/error/ErrorResponse.d.ts +2 -7
  378. package/dist/lib/models/volumes/v4/error/ErrorResponse.js +175 -219
  379. package/dist/lib/models/volumes/v4/error/SchemaValidationError.d.ts +2 -18
  380. package/dist/lib/models/volumes/v4/error/SchemaValidationError.js +249 -300
  381. package/dist/lib/models/volumes/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
  382. package/dist/lib/models/volumes/v4/error/SchemaValidationErrorMessage.js +191 -234
  383. package/dist/lib/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.d.ts +2 -45
  384. package/dist/lib/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.js +187 -242
  385. package/dist/lib/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.d.ts +2 -43
  386. package/dist/lib/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.js +187 -242
  387. package/dist/lib/models/volumes/v4/stats/TimeValuePair.d.ts +2 -8
  388. package/dist/lib/models/volumes/v4/stats/TimeValuePair.js +166 -207
  389. package/dist/lib/models/volumes/v4/stats/VolumeDiskStats.d.ts +1 -86
  390. package/dist/lib/models/volumes/v4/stats/VolumeDiskStats.js +458 -550
  391. package/dist/lib/models/volumes/v4/stats/VolumeDiskStatsProjection.d.ts +1 -1
  392. package/dist/lib/models/volumes/v4/stats/VolumeDiskStatsProjection.js +74 -103
  393. package/dist/lib/models/volumes/v4/stats/VolumeGroupStats.d.ts +12 -86
  394. package/dist/lib/models/volumes/v4/stats/VolumeGroupStats.js +500 -550
  395. package/dist/lib/models/volumes/v4/stats/VolumeGroupStatsProjection.d.ts +1 -1
  396. package/dist/lib/models/volumes/v4/stats/VolumeGroupStatsProjection.js +74 -103
  397. package/dist/lib/utils/ValidationUtils.js +39 -69
  398. package/package.json +1 -1
  399. package/dist/es/models/volumes/v4/config/ListExternalNvmfAttachmentsApiResponse.d.ts +0 -100
  400. package/dist/es/models/volumes/v4/config/ListExternalNvmfAttachmentsApiResponse.js +0 -370
  401. package/dist/lib/models/volumes/v4/config/ListExternalNvmfAttachmentsApiResponse.d.ts +0 -100
  402. package/dist/lib/models/volumes/v4/config/ListExternalNvmfAttachmentsApiResponse.js +0 -370
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
- 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); }
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
@@ -8,38 +7,36 @@ exports.NvmfClientsApi = void 0;
8
7
  var _ApiClient = require("../ApiClient");
9
8
  var _ListNvmfClientsApiResponse = _interopRequireDefault(require("../models/volumes/v4/config/ListNvmfClientsApiResponse"));
10
9
  var _GetNvmfClientApiResponse = _interopRequireDefault(require("../models/volumes/v4/config/GetNvmfClientApiResponse"));
11
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
15
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
16
- 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); } }
17
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
18
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
- 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); }
20
- function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
21
- function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
22
- function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
23
- function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
24
- function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
+ /*
25
12
  * Nutanix Volumes APIs
26
13
  *
27
- * OpenAPI spec version: 4.1.1
14
+ * OpenAPI spec version: 4.2.2
28
15
  *
29
16
  * NOTE: This class is auto generated by the Open API Dev Platform.
30
17
  *
31
- * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
18
+ * Open API Dev Platform Codegen version: 17.5.1.10573-RELEASE
32
19
  *
33
20
  * Do not edit the class manually.
34
21
  *
35
22
  */
23
+
36
24
  /**
37
25
  * NvmfClients service.
38
- * @version 4.1.1
26
+ * @version 4.2.2
39
27
  * @class NvmfClientsApi
40
28
  */
41
- var _headersToSkip = /*#__PURE__*/new WeakMap();
42
- var NvmfClientsApi = exports.NvmfClientsApi = /*#__PURE__*/function () {
29
+ class NvmfClientsApi {
30
+ #headersToSkip;
31
+
32
+ /**
33
+ * Make the default {@link ApiClient} class available for developers to be able to extend it and bring
34
+ * their own fetch methods into the SDK
35
+ */
36
+ static get ApiClient() {
37
+ return _ApiClient.ApiClient;
38
+ }
39
+
43
40
  /**
44
41
  * Constructs a new NvmfClientsApi.
45
42
  * @alias module:api/NvmfClientsApi
@@ -47,15 +44,13 @@ var NvmfClientsApi = exports.NvmfClientsApi = /*#__PURE__*/function () {
47
44
  * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
48
45
  * default to {@link module:ApiClient#instance} if unspecified.
49
46
  */
50
- function NvmfClientsApi(apiClient) {
51
- _classCallCheck(this, NvmfClientsApi);
52
- _classPrivateFieldInitSpec(this, _headersToSkip, void 0);
47
+ constructor(apiClient) {
53
48
  this.apiClient = apiClient || _ApiClient.ApiClient.instance;
54
- _classPrivateFieldSet(_headersToSkip, this, new Set());
55
- _classPrivateFieldGet(_headersToSkip, this).add('authorization');
56
- _classPrivateFieldGet(_headersToSkip, this).add('cookie');
57
- _classPrivateFieldGet(_headersToSkip, this).add('host');
58
- _classPrivateFieldGet(_headersToSkip, this).add('user-agent');
49
+ this.#headersToSkip = new Set();
50
+ this.#headersToSkip.add('authorization');
51
+ this.#headersToSkip.add('cookie');
52
+ this.#headersToSkip.add('host');
53
+ this.#headersToSkip.add('user-agent');
59
54
  }
60
55
 
61
56
  /**
@@ -65,93 +60,88 @@ var NvmfClientsApi = exports.NvmfClientsApi = /*#__PURE__*/function () {
65
60
  * @param {Object} args Additional Arguments
66
61
  * @return {Promise<GetNvmfClientApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetNvmfClientApiResponse } and HTTP response
67
62
  */
68
- return _createClass(NvmfClientsApi, [{
69
- key: "getNvmfClientById",
70
- value: function getNvmfClientById(extId) {
71
- var _this = this;
72
- var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
73
- var postBody = null;
74
- // verify the required parameter 'extId' is set
75
- if (typeof extId === 'undefined' || extId === null) {
76
- throw new Error("Missing the required parameter 'extId' when calling getNvmfClientById");
77
- }
78
- var pathParams = {
79
- 'extId': extId
80
- };
81
- var queryParams = {};
82
- var headersToInclude = {};
83
- Object.keys(argMap).forEach(function (header) {
84
- if (!_classPrivateFieldGet(_headersToSkip, _this).has(header.toLowerCase())) {
85
- headersToInclude[header] = argMap[header];
86
- }
87
- });
88
- var headerParams = _objectSpread({}, headersToInclude);
89
- var formParams = {};
90
- var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
91
- var contentTypes = [];
92
- var accepts = ['application/json'];
93
- var returnType = _GetNvmfClientApiResponse["default"];
94
- return this.apiClient.callApi('/api/volumes/v4.1/config/nvmf-clients/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
63
+ getNvmfClientById(extId, ...args) {
64
+ let argMap = args.length > 0 ? args[0] : {};
65
+ const postBody = null;
66
+ // verify the required parameter 'extId' is set
67
+ if (typeof extId === 'undefined' || extId === null) {
68
+ throw new Error("Missing the required parameter 'extId' when calling getNvmfClientById");
95
69
  }
70
+ const pathParams = {
71
+ 'extId': extId
72
+ };
73
+ const queryParams = {};
74
+ let headersToInclude = {};
75
+ Object.keys(argMap).forEach(header => {
76
+ if (!this.#headersToSkip.has(header.toLowerCase())) {
77
+ headersToInclude[header] = argMap[header];
78
+ }
79
+ });
80
+ const headerParams = {
81
+ ...headersToInclude
82
+ };
83
+ const formParams = {};
84
+ const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
85
+ const contentTypes = [];
86
+ const accepts = ['application/json'];
87
+ const returnType = _GetNvmfClientApiResponse.default;
88
+ return this.apiClient.callApi('/api/volumes/v4.2/config/nvmf-clients/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
89
+ }
96
90
 
97
- /**
98
- * List all NVMe-TCP clients
99
- * Fetches a list of all the NVMe-TCP clients.
100
- * @param {Object} opts Optional parameters defined for the operation
101
- * @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
102
- * @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
103
- * @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
104
- * For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.
105
- * @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.
106
- * @param { String } opts.$expand A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby.
107
- * @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
108
- * @param {Object} args Additional Arguments
109
- * @return {Promise<ListNvmfClientsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListNvmfClientsApiResponse } and HTTP response
110
- */
111
- }, {
112
- key: "listNvmfClients",
113
- value: function listNvmfClients(opts) {
114
- var _this2 = this;
115
- var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
116
- opts = opts || {};
117
- var postBody = null;
118
- var pathParams = {};
119
- var queryParams = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, opts.hasOwnProperty('$page') ? {
91
+ /**
92
+ * List all NVMe-TCP clients
93
+ * Fetches a list of all the NVMe-TCP clients.
94
+ * @param {Object} opts Optional parameters defined for the operation
95
+ * @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
96
+ * @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
97
+ * @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
98
+ * For example, filter **$filter=name eq 'karbon-ntnx-1.0'** would filter the result on cluster name 'karbon-ntnx1.0', filter **$filter=startswith(name, 'C')** would filter on cluster name starting with 'C'.
99
+ * @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.
100
+ * @param { String } opts.$expand A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby.
101
+ * @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
102
+ * @param {Object} args Additional Arguments
103
+ * @return {Promise<ListNvmfClientsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListNvmfClientsApiResponse } and HTTP response
104
+ */
105
+ listNvmfClients(opts, ...args) {
106
+ let argMap = args.length > 0 ? args[0] : {};
107
+ opts = opts || {};
108
+ const postBody = null;
109
+ const pathParams = {};
110
+ const queryParams = {
111
+ ...(opts.hasOwnProperty('$page') ? {
120
112
  '$page': opts['$page']
121
- } : {}), opts.hasOwnProperty('$limit') ? {
113
+ } : {}),
114
+ ...(opts.hasOwnProperty('$limit') ? {
122
115
  '$limit': opts['$limit']
123
- } : {}), opts.hasOwnProperty('$filter') ? {
116
+ } : {}),
117
+ ...(opts.hasOwnProperty('$filter') ? {
124
118
  '$filter': opts['$filter']
125
- } : {}), opts.hasOwnProperty('$orderby') ? {
119
+ } : {}),
120
+ ...(opts.hasOwnProperty('$orderby') ? {
126
121
  '$orderby': opts['$orderby']
127
- } : {}), opts.hasOwnProperty('$expand') ? {
122
+ } : {}),
123
+ ...(opts.hasOwnProperty('$expand') ? {
128
124
  '$expand': opts['$expand']
129
- } : {}), opts.hasOwnProperty('$select') ? {
125
+ } : {}),
126
+ ...(opts.hasOwnProperty('$select') ? {
130
127
  '$select': opts['$select']
131
- } : {});
132
- var headersToInclude = {};
133
- Object.keys(argMap).forEach(function (header) {
134
- if (!_classPrivateFieldGet(_headersToSkip, _this2).has(header.toLowerCase())) {
135
- headersToInclude[header] = argMap[header];
136
- }
137
- });
138
- var headerParams = _objectSpread({}, headersToInclude);
139
- var formParams = {};
140
- var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
141
- var contentTypes = [];
142
- var accepts = ['application/json'];
143
- var returnType = _ListNvmfClientsApiResponse["default"];
144
- return this.apiClient.callApi('/api/volumes/v4.1/config/nvmf-clients', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
145
- }
146
- }], [{
147
- key: "ApiClient",
148
- get:
149
- /**
150
- * Make the default {@link ApiClient} class available for developers to be able to extend it and bring
151
- * their own fetch methods into the SDK
152
- */
153
- function get() {
154
- return _ApiClient.ApiClient;
155
- }
156
- }]);
157
- }();
128
+ } : {})
129
+ };
130
+ let headersToInclude = {};
131
+ Object.keys(argMap).forEach(header => {
132
+ if (!this.#headersToSkip.has(header.toLowerCase())) {
133
+ headersToInclude[header] = argMap[header];
134
+ }
135
+ });
136
+ const headerParams = {
137
+ ...headersToInclude
138
+ };
139
+ const formParams = {};
140
+ const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
141
+ const contentTypes = [];
142
+ const accepts = ['application/json'];
143
+ const returnType = _ListNvmfClientsApiResponse.default;
144
+ return this.apiClient.callApi('/api/volumes/v4.2/config/nvmf-clients', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
145
+ }
146
+ }
147
+ exports.NvmfClientsApi = NvmfClientsApi;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * VolumeGroups service.
3
- * @version 4.1.1
3
+ * @version 4.2.2
4
4
  * @class VolumeGroupsApi
5
5
  */
6
6
  export class VolumeGroupsApi {
@@ -145,7 +145,8 @@ export class VolumeGroupsApi {
145
145
  * @param {Object} opts Optional parameters defined for the operation
146
146
  * @param { Number } opts.$samplingInterval The sampling interval in seconds at which statistical data should be collected. For example, if you want performance statistics every 30 seconds, then provide the value as 30.
147
147
 
148
- * @param { DownSamplingOperator } opts.$statType
148
+ * @param { DownSamplingOperator } opts.$statType The operator to use while performing down-sampling on stats data. Allowed values are SUM, MIN, MAX, AVG, COUNT and LAST.
149
+
149
150
  * @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
150
151
  * @param {Object} args Additional Arguments
151
152
  * @return {Promise<GetVolumeDiskStatsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetVolumeDiskStatsApiResponse } and HTTP response
@@ -159,10 +160,14 @@ export class VolumeGroupsApi {
159
160
  * Get a Volume Group
160
161
  * Query the Volume Group identified by {extId}.
161
162
  * @param { String } extId The external identifier of a Volume Group.
163
+ * @param {Object} opts Optional parameters defined for the operation
164
+ * @param { String } opts.$expand A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby.
162
165
  * @param {Object} args Additional Arguments
163
166
  * @return {Promise<GetVolumeGroupApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetVolumeGroupApiResponse } and HTTP response
164
167
  */
165
- getVolumeGroupById(extId: string, ...args: any): Promise<GetVolumeGroupApiResponse>;
168
+ getVolumeGroupById(extId: string, opts: {
169
+ $expand: string;
170
+ }, ...args: any): Promise<GetVolumeGroupApiResponse>;
166
171
  /**
167
172
  * Fetch metadata information associated with a Volume Group.
168
173
  * Query for metadata information which is associated with the Volume Group identified by {extId}.
@@ -183,7 +188,8 @@ export class VolumeGroupsApi {
183
188
  * @param {Object} opts Optional parameters defined for the operation
184
189
  * @param { Number } opts.$samplingInterval The sampling interval in seconds at which statistical data should be collected. For example, if you want performance statistics every 30 seconds, then provide the value as 30.
185
190
 
186
- * @param { DownSamplingOperator } opts.$statType
191
+ * @param { DownSamplingOperator } opts.$statType The operator to use while performing down-sampling on stats data. Allowed values are SUM, MIN, MAX, AVG, COUNT and LAST.
192
+
187
193
  * @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
188
194
  * @param {Object} args Additional Arguments
189
195
  * @return {Promise<GetVolumeGroupStatsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetVolumeGroupStatsApiResponse } and HTTP response
@@ -221,7 +227,7 @@ export class VolumeGroupsApi {
221
227
  * @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
222
228
 
223
229
  * @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
224
- * For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.
230
+ * For example, filter **$filter=name eq 'karbon-ntnx-1.0'** would filter the result on cluster name 'karbon-ntnx1.0', filter **$filter=startswith(name, 'C')** would filter on cluster name starting with 'C'.
225
231
  * @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.
226
232
  * @param { String } opts.$expand A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby.
227
233
  * @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
@@ -236,32 +242,6 @@ export class VolumeGroupsApi {
236
242
  $expand: string;
237
243
  $select: string;
238
244
  }, ...args: any): Promise<ListExternalIscsiAttachmentsApiResponse>;
239
- /**
240
- * List all NVMe-TCP attachments associated with the given Volume Group
241
- * Fetches a list of all external NVMe-TCP attachments for a Volume Group identified by its external identifier.
242
- * @deprecated This API has been deprecated.
243
- * @param { String } volumeGroupExtId The external identifier of a Volume Group.
244
- * @param {Object} opts Optional parameters defined for the operation
245
- * @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
246
-
247
- * @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
248
-
249
- * @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
250
- * For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.
251
- * @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.
252
- * @param { String } opts.$expand A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby.
253
- * @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
254
- * @param {Object} args Additional Arguments
255
- * @return {Promise<ListExternalNvmfAttachmentsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListExternalNvmfAttachmentsApiResponse } and HTTP response
256
- */
257
- listExternalNvmfAttachmentsByVolumeGroupId(volumeGroupExtId: string, opts: {
258
- $page: number;
259
- $limit: number;
260
- $filter: string;
261
- $orderby: string;
262
- $expand: string;
263
- $select: string;
264
- }, ...args: any): Promise<ListExternalNvmfAttachmentsApiResponse>;
265
245
  /**
266
246
  * List all the VM attachments for a Volume Group
267
247
  * Query the list of VM attachments for a Volume Group identified by {extId}.
@@ -273,7 +253,7 @@ export class VolumeGroupsApi {
273
253
  * @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
274
254
 
275
255
  * @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
276
- * For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.
256
+ * For example, filter **$filter=name eq 'karbon-ntnx-1.0'** would filter the result on cluster name 'karbon-ntnx1.0', filter **$filter=startswith(name, 'C')** would filter on cluster name starting with 'C'.
277
257
  * @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.
278
258
  * @param {Object} args Additional Arguments
279
259
  * @return {Promise<ListVmAttachmentsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListVmAttachmentsApiResponse } and HTTP response
@@ -294,7 +274,7 @@ export class VolumeGroupsApi {
294
274
  * @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
295
275
 
296
276
  * @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
297
- * For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.
277
+ * For example, filter **$filter=name eq 'karbon-ntnx-1.0'** would filter the result on cluster name 'karbon-ntnx1.0', filter **$filter=startswith(name, 'C')** would filter on cluster name starting with 'C'.
298
278
  * @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.
299
279
  * @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
300
280
  * @param {Object} args Additional Arguments
@@ -316,7 +296,7 @@ export class VolumeGroupsApi {
316
296
  * @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
317
297
 
318
298
  * @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
319
- * For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.
299
+ * For example, filter **$filter=name eq 'karbon-ntnx-1.0'** would filter the result on cluster name 'karbon-ntnx1.0', filter **$filter=startswith(name, 'C')** would filter on cluster name starting with 'C'.
320
300
  * @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.
321
301
  * @param { String } opts.$expand A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby.
322
302
  * @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
@@ -388,7 +368,6 @@ import GetVolumeGroupMetadataApiResponse from "../models/volumes/v4/config/GetVo
388
368
  import GetVolumeGroupStatsApiResponse from "../models/volumes/v4/stats/GetVolumeGroupStatsApiResponse";
389
369
  import ListCategoryAssociationsApiResponse from "../models/volumes/v4/config/ListCategoryAssociationsApiResponse";
390
370
  import ListExternalIscsiAttachmentsApiResponse from "../models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse";
391
- import ListExternalNvmfAttachmentsApiResponse from "../models/volumes/v4/config/ListExternalNvmfAttachmentsApiResponse";
392
371
  import ListVmAttachmentsApiResponse from "../models/volumes/v4/config/ListVmAttachmentsApiResponse";
393
372
  import ListVolumeDisksApiResponse from "../models/volumes/v4/config/ListVolumeDisksApiResponse";
394
373
  import ListVolumeGroupsApiResponse from "../models/volumes/v4/config/ListVolumeGroupsApiResponse";