@nutanix-scratch/volumes-js-client 4.0.1 → 4.2.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 (432) hide show
  1. package/README.md +33 -20
  2. package/dist/Ntnx-Volumes-js-client-prod.js +1 -1
  3. package/dist/Ntnx-Volumes-js-client.js +590 -562
  4. package/dist/es/ApiClient.d.ts +35 -7
  5. package/dist/es/ApiClient.js +862 -684
  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 +4 -16
  9. package/dist/es/apis/iscsiclients-endpoints.js +143 -164
  10. package/dist/es/apis/nvmfclients-endpoints.d.ts +57 -0
  11. package/dist/es/apis/nvmfclients-endpoints.js +147 -0
  12. package/dist/es/apis/volumegroups-endpoints.d.ts +37 -75
  13. package/dist/es/apis/volumegroups-endpoints.js +1157 -1109
  14. package/dist/es/index.d.ts +21 -17
  15. package/dist/es/index.js +342 -326
  16. package/dist/es/models/common/v1/config/EntityReference.d.ts +8 -16
  17. package/dist/es/models/common/v1/config/EntityReference.js +228 -272
  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 +5 -10
  39. package/dist/es/models/common/v1/config/TenantAwareModel.js +138 -178
  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 +155 -203
  46. package/dist/es/models/common/v1/stats/DownSamplingOperator.js +7 -9
  47. package/dist/es/models/prism/v4/config/TaskReference.d.ts +5 -10
  48. package/dist/es/models/prism/v4/config/TaskReference.js +144 -188
  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 +47 -0
  52. package/dist/es/models/volumes/v4/config/AccessToken.js +235 -0
  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 +8 -10
  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.d.ts +19 -0
  68. package/dist/es/models/volumes/v4/config/ClientAccess.js +89 -0
  69. package/dist/es/models/volumes/v4/config/Cluster.d.ts +2 -8
  70. package/dist/es/models/volumes/v4/config/Cluster.js +164 -207
  71. package/dist/es/models/volumes/v4/config/ClusterProjection.d.ts +1 -1
  72. package/dist/es/models/volumes/v4/config/ClusterProjection.js +74 -103
  73. package/dist/es/models/volumes/v4/config/ClusterScope.d.ts +57 -0
  74. package/dist/es/models/volumes/v4/config/ClusterScope.js +243 -0
  75. package/dist/es/models/volumes/v4/config/ClusterScopeProjection.d.ts +12 -0
  76. package/dist/es/models/volumes/v4/config/ClusterScopeProjection.js +125 -0
  77. package/dist/es/models/volumes/v4/config/CreateVolumeDiskApiResponse.d.ts +2 -43
  78. package/dist/es/models/volumes/v4/config/CreateVolumeDiskApiResponse.js +187 -242
  79. package/dist/es/models/volumes/v4/config/CreateVolumeGroupApiResponse.d.ts +2 -43
  80. package/dist/es/models/volumes/v4/config/CreateVolumeGroupApiResponse.js +187 -242
  81. package/dist/es/models/volumes/v4/config/DeleteVolumeDiskApiResponse.d.ts +2 -43
  82. package/dist/es/models/volumes/v4/config/DeleteVolumeDiskApiResponse.js +187 -242
  83. package/dist/es/models/volumes/v4/config/DeleteVolumeGroupApiResponse.d.ts +2 -43
  84. package/dist/es/models/volumes/v4/config/DeleteVolumeGroupApiResponse.js +187 -242
  85. package/dist/es/models/volumes/v4/config/DetachIscsiClientApiResponse.d.ts +2 -43
  86. package/dist/es/models/volumes/v4/config/DetachIscsiClientApiResponse.js +187 -242
  87. package/dist/es/models/volumes/v4/config/DetachNvmfClientApiResponse.d.ts +2 -43
  88. package/dist/es/models/volumes/v4/config/DetachNvmfClientApiResponse.js +187 -242
  89. package/dist/es/models/volumes/v4/config/DetachVmApiResponse.d.ts +2 -43
  90. package/dist/es/models/volumes/v4/config/DetachVmApiResponse.js +187 -242
  91. package/dist/es/models/volumes/v4/config/DisassociateCategoryApiResponse.d.ts +2 -43
  92. package/dist/es/models/volumes/v4/config/DisassociateCategoryApiResponse.js +187 -242
  93. package/dist/es/models/volumes/v4/config/DiskStorageFeatures.d.ts +2 -12
  94. package/dist/es/models/volumes/v4/config/DiskStorageFeatures.js +138 -177
  95. package/dist/es/models/volumes/v4/config/FlashMode.d.ts +2 -7
  96. package/dist/es/models/volumes/v4/config/FlashMode.js +140 -179
  97. package/dist/es/models/volumes/v4/config/GetIscsiClientApiResponse.d.ts +2 -45
  98. package/dist/es/models/volumes/v4/config/GetIscsiClientApiResponse.js +187 -242
  99. package/dist/es/models/volumes/v4/config/GetNvmfClientApiResponse.d.ts +58 -0
  100. package/dist/es/models/volumes/v4/config/GetNvmfClientApiResponse.js +288 -0
  101. package/dist/es/models/volumes/v4/config/GetVolumeDiskApiResponse.d.ts +2 -43
  102. package/dist/es/models/volumes/v4/config/GetVolumeDiskApiResponse.js +187 -242
  103. package/dist/es/models/volumes/v4/config/GetVolumeGroupApiResponse.d.ts +2 -45
  104. package/dist/es/models/volumes/v4/config/GetVolumeGroupApiResponse.js +187 -242
  105. package/dist/es/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.d.ts +2 -43
  106. package/dist/es/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.js +187 -242
  107. package/dist/es/models/volumes/v4/config/HydrationStatus.d.ts +19 -0
  108. package/dist/es/models/volumes/v4/config/HydrationStatus.js +89 -0
  109. package/dist/es/models/volumes/v4/config/IscsiClient.d.ts +1 -53
  110. package/dist/es/models/volumes/v4/config/IscsiClient.js +305 -365
  111. package/dist/es/models/volumes/v4/config/IscsiClientAttachment.d.ts +2 -8
  112. package/dist/es/models/volumes/v4/config/IscsiClientAttachment.js +171 -211
  113. package/dist/es/models/volumes/v4/config/IscsiClientAttachmentProjection.d.ts +1 -67
  114. package/dist/es/models/volumes/v4/config/IscsiClientAttachmentProjection.js +124 -164
  115. package/dist/es/models/volumes/v4/config/IscsiClientProjection.d.ts +1 -60
  116. package/dist/es/models/volumes/v4/config/IscsiClientProjection.js +165 -195
  117. package/dist/es/models/volumes/v4/config/IscsiFeatures.d.ts +2 -8
  118. package/dist/es/models/volumes/v4/config/IscsiFeatures.js +164 -205
  119. package/dist/es/models/volumes/v4/config/ListCategoryAssociationsApiResponse.d.ts +2 -43
  120. package/dist/es/models/volumes/v4/config/ListCategoryAssociationsApiResponse.js +209 -264
  121. package/dist/es/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.d.ts +2 -43
  122. package/dist/es/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.js +213 -268
  123. package/dist/es/models/volumes/v4/config/ListIscsiClientsApiResponse.d.ts +2 -43
  124. package/dist/es/models/volumes/v4/config/ListIscsiClientsApiResponse.js +213 -268
  125. package/dist/es/models/volumes/v4/config/ListNvmfClientsApiResponse.d.ts +59 -0
  126. package/dist/es/models/volumes/v4/config/ListNvmfClientsApiResponse.js +315 -0
  127. package/dist/es/models/volumes/v4/config/ListVmAttachmentsApiResponse.d.ts +2 -43
  128. package/dist/es/models/volumes/v4/config/ListVmAttachmentsApiResponse.js +213 -268
  129. package/dist/es/models/volumes/v4/config/ListVolumeDisksApiResponse.d.ts +2 -43
  130. package/dist/es/models/volumes/v4/config/ListVolumeDisksApiResponse.js +213 -268
  131. package/dist/es/models/volumes/v4/config/ListVolumeGroupsApiResponse.d.ts +2 -43
  132. package/dist/es/models/volumes/v4/config/ListVolumeGroupsApiResponse.js +213 -268
  133. package/dist/es/models/volumes/v4/config/NvmfClient.d.ts +10 -27
  134. package/dist/es/models/volumes/v4/config/NvmfClient.js +191 -238
  135. package/dist/es/models/volumes/v4/config/NvmfClientAttachment.d.ts +4 -19
  136. package/dist/es/models/volumes/v4/config/NvmfClientAttachment.js +129 -171
  137. package/dist/es/models/volumes/v4/config/NvmfClientAttachmentProjection.d.ts +1 -40
  138. package/dist/es/models/volumes/v4/config/NvmfClientAttachmentProjection.js +131 -172
  139. package/dist/es/models/volumes/v4/config/NvmfClientProjection.d.ts +1 -25
  140. package/dist/es/models/volumes/v4/config/NvmfClientProjection.js +142 -180
  141. package/dist/es/models/volumes/v4/config/Protocol.js +8 -10
  142. package/dist/es/models/volumes/v4/config/RevertSpec.d.ts +2 -7
  143. package/dist/es/models/volumes/v4/config/RevertSpec.js +142 -181
  144. package/dist/es/models/volumes/v4/config/RevertVolumeGroupApiResponse.d.ts +2 -43
  145. package/dist/es/models/volumes/v4/config/RevertVolumeGroupApiResponse.js +187 -242
  146. package/dist/es/models/volumes/v4/config/SharingStatus.js +7 -9
  147. package/dist/es/models/volumes/v4/config/StorageFeatures.d.ts +2 -12
  148. package/dist/es/models/volumes/v4/config/StorageFeatures.js +138 -177
  149. package/dist/es/models/volumes/v4/config/TargetParam.d.ts +2 -8
  150. package/dist/es/models/volumes/v4/config/TargetParam.js +169 -212
  151. package/dist/es/models/volumes/v4/config/UpdateIscsiClientApiResponse.d.ts +2 -43
  152. package/dist/es/models/volumes/v4/config/UpdateIscsiClientApiResponse.js +187 -242
  153. package/dist/es/models/volumes/v4/config/UpdateVolumeDiskApiResponse.d.ts +2 -43
  154. package/dist/es/models/volumes/v4/config/UpdateVolumeDiskApiResponse.js +187 -242
  155. package/dist/es/models/volumes/v4/config/UpdateVolumeGroupApiResponse.d.ts +2 -43
  156. package/dist/es/models/volumes/v4/config/UpdateVolumeGroupApiResponse.js +187 -242
  157. package/dist/es/models/volumes/v4/config/UsageType.js +7 -9
  158. package/dist/es/models/volumes/v4/config/VGAttachment.d.ts +48 -0
  159. package/dist/es/models/volumes/v4/config/VGAttachment.js +253 -0
  160. package/dist/es/models/volumes/v4/config/VmAttachment.d.ts +2 -8
  161. package/dist/es/models/volumes/v4/config/VmAttachment.js +171 -210
  162. package/dist/es/models/volumes/v4/config/VmAttachmentProjection.d.ts +1 -1
  163. package/dist/es/models/volumes/v4/config/VmAttachmentProjection.js +74 -103
  164. package/dist/es/models/volumes/v4/config/VolumeDisk.d.ts +1 -39
  165. package/dist/es/models/volumes/v4/config/VolumeDisk.js +267 -320
  166. package/dist/es/models/volumes/v4/config/VolumeDiskProjection.d.ts +1 -1
  167. package/dist/es/models/volumes/v4/config/VolumeDiskProjection.js +74 -103
  168. package/dist/es/models/volumes/v4/config/VolumeGroup.d.ts +23 -84
  169. package/dist/es/models/volumes/v4/config/VolumeGroup.js +604 -603
  170. package/dist/es/models/volumes/v4/config/VolumeGroupAttachmentSite.js +7 -9
  171. package/dist/es/models/volumes/v4/config/VolumeGroupDelegateAccessSpec.d.ts +56 -0
  172. package/dist/es/models/volumes/v4/config/VolumeGroupDelegateAccessSpec.js +267 -0
  173. package/dist/es/models/volumes/v4/config/VolumeGroupMetadata.d.ts +2 -8
  174. package/dist/es/models/volumes/v4/config/VolumeGroupMetadata.js +166 -209
  175. package/dist/es/models/volumes/v4/config/VolumeGroupMetadataProjection.d.ts +1 -1
  176. package/dist/es/models/volumes/v4/config/VolumeGroupMetadataProjection.js +74 -103
  177. package/dist/es/models/volumes/v4/config/VolumeGroupProjection.d.ts +1 -98
  178. package/dist/es/models/volumes/v4/config/VolumeGroupProjection.js +252 -248
  179. package/dist/es/models/volumes/v4/error/AppMessage.d.ts +5 -15
  180. package/dist/es/models/volumes/v4/error/AppMessage.js +265 -314
  181. package/dist/es/models/volumes/v4/error/ErrorResponse.d.ts +2 -7
  182. package/dist/es/models/volumes/v4/error/ErrorResponse.js +178 -227
  183. package/dist/es/models/volumes/v4/error/SchemaValidationError.d.ts +2 -18
  184. package/dist/es/models/volumes/v4/error/SchemaValidationError.js +249 -300
  185. package/dist/es/models/volumes/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
  186. package/dist/es/models/volumes/v4/error/SchemaValidationErrorMessage.js +191 -234
  187. package/dist/es/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.d.ts +2 -45
  188. package/dist/es/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.js +187 -242
  189. package/dist/es/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.d.ts +2 -43
  190. package/dist/es/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.js +187 -242
  191. package/dist/es/models/volumes/v4/stats/TimeValuePair.d.ts +2 -8
  192. package/dist/es/models/volumes/v4/stats/TimeValuePair.js +166 -207
  193. package/dist/es/models/volumes/v4/stats/VolumeDiskStats.d.ts +1 -86
  194. package/dist/es/models/volumes/v4/stats/VolumeDiskStats.js +459 -551
  195. package/dist/es/models/volumes/v4/stats/VolumeDiskStatsProjection.d.ts +1 -1
  196. package/dist/es/models/volumes/v4/stats/VolumeDiskStatsProjection.js +74 -103
  197. package/dist/es/models/volumes/v4/stats/VolumeGroupStats.d.ts +12 -86
  198. package/dist/es/models/volumes/v4/stats/VolumeGroupStats.js +501 -551
  199. package/dist/es/models/volumes/v4/stats/VolumeGroupStatsProjection.d.ts +1 -1
  200. package/dist/es/models/volumes/v4/stats/VolumeGroupStatsProjection.js +74 -103
  201. package/dist/es/utils/ValidationUtils.js +39 -69
  202. package/dist/lib/ApiClient.d.ts +35 -7
  203. package/dist/lib/ApiClient.js +862 -684
  204. package/dist/lib/Paginable.d.ts +1 -1
  205. package/dist/lib/Paginable.js +144 -183
  206. package/dist/lib/apis/iscsiclients-endpoints.d.ts +4 -16
  207. package/dist/lib/apis/iscsiclients-endpoints.js +143 -164
  208. package/dist/lib/apis/nvmfclients-endpoints.d.ts +57 -0
  209. package/dist/lib/apis/nvmfclients-endpoints.js +147 -0
  210. package/dist/lib/apis/volumegroups-endpoints.d.ts +37 -75
  211. package/dist/lib/apis/volumegroups-endpoints.js +1157 -1109
  212. package/dist/lib/index.d.ts +21 -17
  213. package/dist/lib/index.js +342 -326
  214. package/dist/lib/models/common/v1/config/EntityReference.d.ts +8 -16
  215. package/dist/lib/models/common/v1/config/EntityReference.js +228 -272
  216. package/dist/lib/models/common/v1/config/EntityType.js +9 -11
  217. package/dist/lib/models/common/v1/config/FQDN.d.ts +2 -7
  218. package/dist/lib/models/common/v1/config/FQDN.js +141 -180
  219. package/dist/lib/models/common/v1/config/Flag.d.ts +2 -8
  220. package/dist/lib/models/common/v1/config/Flag.js +170 -211
  221. package/dist/lib/models/common/v1/config/IPAddressOrFQDN.d.ts +2 -26
  222. package/dist/lib/models/common/v1/config/IPAddressOrFQDN.js +196 -247
  223. package/dist/lib/models/common/v1/config/IPv4Address.d.ts +2 -8
  224. package/dist/lib/models/common/v1/config/IPv4Address.js +174 -215
  225. package/dist/lib/models/common/v1/config/IPv6Address.d.ts +2 -8
  226. package/dist/lib/models/common/v1/config/IPv6Address.js +174 -215
  227. package/dist/lib/models/common/v1/config/KVPair.d.ts +2 -8
  228. package/dist/lib/models/common/v1/config/KVPair.js +225 -270
  229. package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
  230. package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +139 -178
  231. package/dist/lib/models/common/v1/config/Message.d.ts +2 -10
  232. package/dist/lib/models/common/v1/config/Message.js +213 -258
  233. package/dist/lib/models/common/v1/config/MessageSeverity.js +7 -9
  234. package/dist/lib/models/common/v1/config/Metadata.d.ts +2 -11
  235. package/dist/lib/models/common/v1/config/Metadata.js +261 -308
  236. package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +5 -10
  237. package/dist/lib/models/common/v1/config/TenantAwareModel.js +138 -178
  238. package/dist/lib/models/common/v1/response/ApiLink.d.ts +2 -8
  239. package/dist/lib/models/common/v1/response/ApiLink.js +165 -206
  240. package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
  241. package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +281 -344
  242. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
  243. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +155 -203
  244. package/dist/lib/models/common/v1/stats/DownSamplingOperator.js +7 -9
  245. package/dist/lib/models/prism/v4/config/TaskReference.d.ts +5 -10
  246. package/dist/lib/models/prism/v4/config/TaskReference.js +144 -188
  247. package/dist/lib/models/validation/ValidationError.js +26 -42
  248. package/dist/lib/models/validation/ValidationScopes.js +3 -3
  249. package/dist/lib/models/volumes/v4/config/AccessToken.d.ts +47 -0
  250. package/dist/lib/models/volumes/v4/config/AccessToken.js +235 -0
  251. package/dist/lib/models/volumes/v4/config/AssociateCategoryApiResponse.d.ts +2 -43
  252. package/dist/lib/models/volumes/v4/config/AssociateCategoryApiResponse.js +187 -242
  253. package/dist/lib/models/volumes/v4/config/AttachIscsiClientApiResponse.d.ts +2 -43
  254. package/dist/lib/models/volumes/v4/config/AttachIscsiClientApiResponse.js +187 -242
  255. package/dist/lib/models/volumes/v4/config/AttachNvmfClientApiResponse.d.ts +2 -43
  256. package/dist/lib/models/volumes/v4/config/AttachNvmfClientApiResponse.js +187 -242
  257. package/dist/lib/models/volumes/v4/config/AttachVmApiResponse.d.ts +2 -43
  258. package/dist/lib/models/volumes/v4/config/AttachVmApiResponse.js +187 -242
  259. package/dist/lib/models/volumes/v4/config/AttachmentType.js +8 -10
  260. package/dist/lib/models/volumes/v4/config/AuthenticationType.js +7 -9
  261. package/dist/lib/models/volumes/v4/config/CategoryDetails.d.ts +1 -1
  262. package/dist/lib/models/volumes/v4/config/CategoryDetails.js +74 -103
  263. package/dist/lib/models/volumes/v4/config/CategoryEntityReferences.d.ts +2 -15
  264. package/dist/lib/models/volumes/v4/config/CategoryEntityReferences.js +152 -195
  265. package/dist/lib/models/volumes/v4/config/ClientAccess.d.ts +19 -0
  266. package/dist/lib/models/volumes/v4/config/ClientAccess.js +89 -0
  267. package/dist/lib/models/volumes/v4/config/Cluster.d.ts +2 -8
  268. package/dist/lib/models/volumes/v4/config/Cluster.js +164 -207
  269. package/dist/lib/models/volumes/v4/config/ClusterProjection.d.ts +1 -1
  270. package/dist/lib/models/volumes/v4/config/ClusterProjection.js +74 -103
  271. package/dist/lib/models/volumes/v4/config/ClusterScope.d.ts +57 -0
  272. package/dist/lib/models/volumes/v4/config/ClusterScope.js +243 -0
  273. package/dist/lib/models/volumes/v4/config/ClusterScopeProjection.d.ts +12 -0
  274. package/dist/lib/models/volumes/v4/config/ClusterScopeProjection.js +125 -0
  275. package/dist/lib/models/volumes/v4/config/CreateVolumeDiskApiResponse.d.ts +2 -43
  276. package/dist/lib/models/volumes/v4/config/CreateVolumeDiskApiResponse.js +187 -242
  277. package/dist/lib/models/volumes/v4/config/CreateVolumeGroupApiResponse.d.ts +2 -43
  278. package/dist/lib/models/volumes/v4/config/CreateVolumeGroupApiResponse.js +187 -242
  279. package/dist/lib/models/volumes/v4/config/DeleteVolumeDiskApiResponse.d.ts +2 -43
  280. package/dist/lib/models/volumes/v4/config/DeleteVolumeDiskApiResponse.js +187 -242
  281. package/dist/lib/models/volumes/v4/config/DeleteVolumeGroupApiResponse.d.ts +2 -43
  282. package/dist/lib/models/volumes/v4/config/DeleteVolumeGroupApiResponse.js +187 -242
  283. package/dist/lib/models/volumes/v4/config/DetachIscsiClientApiResponse.d.ts +2 -43
  284. package/dist/lib/models/volumes/v4/config/DetachIscsiClientApiResponse.js +187 -242
  285. package/dist/lib/models/volumes/v4/config/DetachNvmfClientApiResponse.d.ts +2 -43
  286. package/dist/lib/models/volumes/v4/config/DetachNvmfClientApiResponse.js +187 -242
  287. package/dist/lib/models/volumes/v4/config/DetachVmApiResponse.d.ts +2 -43
  288. package/dist/lib/models/volumes/v4/config/DetachVmApiResponse.js +187 -242
  289. package/dist/lib/models/volumes/v4/config/DisassociateCategoryApiResponse.d.ts +2 -43
  290. package/dist/lib/models/volumes/v4/config/DisassociateCategoryApiResponse.js +187 -242
  291. package/dist/lib/models/volumes/v4/config/DiskStorageFeatures.d.ts +2 -12
  292. package/dist/lib/models/volumes/v4/config/DiskStorageFeatures.js +138 -177
  293. package/dist/lib/models/volumes/v4/config/FlashMode.d.ts +2 -7
  294. package/dist/lib/models/volumes/v4/config/FlashMode.js +140 -179
  295. package/dist/lib/models/volumes/v4/config/GetIscsiClientApiResponse.d.ts +2 -45
  296. package/dist/lib/models/volumes/v4/config/GetIscsiClientApiResponse.js +187 -242
  297. package/dist/lib/models/volumes/v4/config/GetNvmfClientApiResponse.d.ts +58 -0
  298. package/dist/lib/models/volumes/v4/config/GetNvmfClientApiResponse.js +288 -0
  299. package/dist/lib/models/volumes/v4/config/GetVolumeDiskApiResponse.d.ts +2 -43
  300. package/dist/lib/models/volumes/v4/config/GetVolumeDiskApiResponse.js +187 -242
  301. package/dist/lib/models/volumes/v4/config/GetVolumeGroupApiResponse.d.ts +2 -45
  302. package/dist/lib/models/volumes/v4/config/GetVolumeGroupApiResponse.js +187 -242
  303. package/dist/lib/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.d.ts +2 -43
  304. package/dist/lib/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.js +187 -242
  305. package/dist/lib/models/volumes/v4/config/HydrationStatus.d.ts +19 -0
  306. package/dist/lib/models/volumes/v4/config/HydrationStatus.js +89 -0
  307. package/dist/lib/models/volumes/v4/config/IscsiClient.d.ts +1 -53
  308. package/dist/lib/models/volumes/v4/config/IscsiClient.js +305 -365
  309. package/dist/lib/models/volumes/v4/config/IscsiClientAttachment.d.ts +2 -8
  310. package/dist/lib/models/volumes/v4/config/IscsiClientAttachment.js +171 -211
  311. package/dist/lib/models/volumes/v4/config/IscsiClientAttachmentProjection.d.ts +1 -67
  312. package/dist/lib/models/volumes/v4/config/IscsiClientAttachmentProjection.js +124 -164
  313. package/dist/lib/models/volumes/v4/config/IscsiClientProjection.d.ts +1 -60
  314. package/dist/lib/models/volumes/v4/config/IscsiClientProjection.js +165 -195
  315. package/dist/lib/models/volumes/v4/config/IscsiFeatures.d.ts +2 -8
  316. package/dist/lib/models/volumes/v4/config/IscsiFeatures.js +164 -205
  317. package/dist/lib/models/volumes/v4/config/ListCategoryAssociationsApiResponse.d.ts +2 -43
  318. package/dist/lib/models/volumes/v4/config/ListCategoryAssociationsApiResponse.js +209 -264
  319. package/dist/lib/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.d.ts +2 -43
  320. package/dist/lib/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.js +213 -268
  321. package/dist/lib/models/volumes/v4/config/ListIscsiClientsApiResponse.d.ts +2 -43
  322. package/dist/lib/models/volumes/v4/config/ListIscsiClientsApiResponse.js +213 -268
  323. package/dist/lib/models/volumes/v4/config/ListNvmfClientsApiResponse.d.ts +59 -0
  324. package/dist/lib/models/volumes/v4/config/ListNvmfClientsApiResponse.js +315 -0
  325. package/dist/lib/models/volumes/v4/config/ListVmAttachmentsApiResponse.d.ts +2 -43
  326. package/dist/lib/models/volumes/v4/config/ListVmAttachmentsApiResponse.js +213 -268
  327. package/dist/lib/models/volumes/v4/config/ListVolumeDisksApiResponse.d.ts +2 -43
  328. package/dist/lib/models/volumes/v4/config/ListVolumeDisksApiResponse.js +213 -268
  329. package/dist/lib/models/volumes/v4/config/ListVolumeGroupsApiResponse.d.ts +2 -43
  330. package/dist/lib/models/volumes/v4/config/ListVolumeGroupsApiResponse.js +213 -268
  331. package/dist/lib/models/volumes/v4/config/NvmfClient.d.ts +10 -27
  332. package/dist/lib/models/volumes/v4/config/NvmfClient.js +191 -238
  333. package/dist/lib/models/volumes/v4/config/NvmfClientAttachment.d.ts +4 -19
  334. package/dist/lib/models/volumes/v4/config/NvmfClientAttachment.js +129 -171
  335. package/dist/lib/models/volumes/v4/config/NvmfClientAttachmentProjection.d.ts +1 -40
  336. package/dist/lib/models/volumes/v4/config/NvmfClientAttachmentProjection.js +131 -172
  337. package/dist/lib/models/volumes/v4/config/NvmfClientProjection.d.ts +1 -25
  338. package/dist/lib/models/volumes/v4/config/NvmfClientProjection.js +142 -180
  339. package/dist/lib/models/volumes/v4/config/Protocol.js +8 -10
  340. package/dist/lib/models/volumes/v4/config/RevertSpec.d.ts +2 -7
  341. package/dist/lib/models/volumes/v4/config/RevertSpec.js +142 -181
  342. package/dist/lib/models/volumes/v4/config/RevertVolumeGroupApiResponse.d.ts +2 -43
  343. package/dist/lib/models/volumes/v4/config/RevertVolumeGroupApiResponse.js +187 -242
  344. package/dist/lib/models/volumes/v4/config/SharingStatus.js +7 -9
  345. package/dist/lib/models/volumes/v4/config/StorageFeatures.d.ts +2 -12
  346. package/dist/lib/models/volumes/v4/config/StorageFeatures.js +138 -177
  347. package/dist/lib/models/volumes/v4/config/TargetParam.d.ts +2 -8
  348. package/dist/lib/models/volumes/v4/config/TargetParam.js +169 -212
  349. package/dist/lib/models/volumes/v4/config/UpdateIscsiClientApiResponse.d.ts +2 -43
  350. package/dist/lib/models/volumes/v4/config/UpdateIscsiClientApiResponse.js +187 -242
  351. package/dist/lib/models/volumes/v4/config/UpdateVolumeDiskApiResponse.d.ts +2 -43
  352. package/dist/lib/models/volumes/v4/config/UpdateVolumeDiskApiResponse.js +187 -242
  353. package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupApiResponse.d.ts +2 -43
  354. package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupApiResponse.js +187 -242
  355. package/dist/lib/models/volumes/v4/config/UsageType.js +7 -9
  356. package/dist/lib/models/volumes/v4/config/VGAttachment.d.ts +48 -0
  357. package/dist/lib/models/volumes/v4/config/VGAttachment.js +253 -0
  358. package/dist/lib/models/volumes/v4/config/VmAttachment.d.ts +2 -8
  359. package/dist/lib/models/volumes/v4/config/VmAttachment.js +171 -210
  360. package/dist/lib/models/volumes/v4/config/VmAttachmentProjection.d.ts +1 -1
  361. package/dist/lib/models/volumes/v4/config/VmAttachmentProjection.js +74 -103
  362. package/dist/lib/models/volumes/v4/config/VolumeDisk.d.ts +1 -39
  363. package/dist/lib/models/volumes/v4/config/VolumeDisk.js +267 -320
  364. package/dist/lib/models/volumes/v4/config/VolumeDiskProjection.d.ts +1 -1
  365. package/dist/lib/models/volumes/v4/config/VolumeDiskProjection.js +74 -103
  366. package/dist/lib/models/volumes/v4/config/VolumeGroup.d.ts +23 -84
  367. package/dist/lib/models/volumes/v4/config/VolumeGroup.js +604 -603
  368. package/dist/lib/models/volumes/v4/config/VolumeGroupAttachmentSite.js +7 -9
  369. package/dist/lib/models/volumes/v4/config/VolumeGroupDelegateAccessSpec.d.ts +56 -0
  370. package/dist/lib/models/volumes/v4/config/VolumeGroupDelegateAccessSpec.js +267 -0
  371. package/dist/lib/models/volumes/v4/config/VolumeGroupMetadata.d.ts +2 -8
  372. package/dist/lib/models/volumes/v4/config/VolumeGroupMetadata.js +166 -209
  373. package/dist/lib/models/volumes/v4/config/VolumeGroupMetadataProjection.d.ts +1 -1
  374. package/dist/lib/models/volumes/v4/config/VolumeGroupMetadataProjection.js +74 -103
  375. package/dist/lib/models/volumes/v4/config/VolumeGroupProjection.d.ts +1 -98
  376. package/dist/lib/models/volumes/v4/config/VolumeGroupProjection.js +252 -248
  377. package/dist/lib/models/volumes/v4/error/AppMessage.d.ts +5 -15
  378. package/dist/lib/models/volumes/v4/error/AppMessage.js +265 -314
  379. package/dist/lib/models/volumes/v4/error/ErrorResponse.d.ts +2 -7
  380. package/dist/lib/models/volumes/v4/error/ErrorResponse.js +178 -227
  381. package/dist/lib/models/volumes/v4/error/SchemaValidationError.d.ts +2 -18
  382. package/dist/lib/models/volumes/v4/error/SchemaValidationError.js +249 -300
  383. package/dist/lib/models/volumes/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
  384. package/dist/lib/models/volumes/v4/error/SchemaValidationErrorMessage.js +191 -234
  385. package/dist/lib/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.d.ts +2 -45
  386. package/dist/lib/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.js +187 -242
  387. package/dist/lib/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.d.ts +2 -43
  388. package/dist/lib/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.js +187 -242
  389. package/dist/lib/models/volumes/v4/stats/TimeValuePair.d.ts +2 -8
  390. package/dist/lib/models/volumes/v4/stats/TimeValuePair.js +166 -207
  391. package/dist/lib/models/volumes/v4/stats/VolumeDiskStats.d.ts +1 -86
  392. package/dist/lib/models/volumes/v4/stats/VolumeDiskStats.js +459 -551
  393. package/dist/lib/models/volumes/v4/stats/VolumeDiskStatsProjection.d.ts +1 -1
  394. package/dist/lib/models/volumes/v4/stats/VolumeDiskStatsProjection.js +74 -103
  395. package/dist/lib/models/volumes/v4/stats/VolumeGroupStats.d.ts +12 -86
  396. package/dist/lib/models/volumes/v4/stats/VolumeGroupStats.js +501 -551
  397. package/dist/lib/models/volumes/v4/stats/VolumeGroupStatsProjection.d.ts +1 -1
  398. package/dist/lib/models/volumes/v4/stats/VolumeGroupStatsProjection.js +74 -103
  399. package/dist/lib/utils/ValidationUtils.js +39 -69
  400. package/package.json +2 -2
  401. package/dist/es/models/volumes/v4/config/MigrateVolumeGroupApiResponse.d.ts +0 -99
  402. package/dist/es/models/volumes/v4/config/MigrateVolumeGroupApiResponse.js +0 -343
  403. package/dist/es/models/volumes/v4/config/PauseVolumeGroupSynchronousReplicationApiResponse.d.ts +0 -99
  404. package/dist/es/models/volumes/v4/config/PauseVolumeGroupSynchronousReplicationApiResponse.js +0 -343
  405. package/dist/es/models/volumes/v4/config/ResumeVolumeGroupSynchronousReplicationApiResponse.d.ts +0 -98
  406. package/dist/es/models/volumes/v4/config/ResumeVolumeGroupSynchronousReplicationApiResponse.js +0 -345
  407. package/dist/es/models/volumes/v4/config/UpdateIscsiClientByIdApiResponse.d.ts +0 -99
  408. package/dist/es/models/volumes/v4/config/UpdateIscsiClientByIdApiResponse.js +0 -343
  409. package/dist/es/models/volumes/v4/config/UpdateVolumeDiskByIdApiResponse.d.ts +0 -99
  410. package/dist/es/models/volumes/v4/config/UpdateVolumeDiskByIdApiResponse.js +0 -343
  411. package/dist/es/models/volumes/v4/config/UpdateVolumeGroupByIdApiResponse.d.ts +0 -99
  412. package/dist/es/models/volumes/v4/config/UpdateVolumeGroupByIdApiResponse.js +0 -343
  413. package/dist/es/models/volumes/v4/config/UpdateVolumeGroupMetadataApiResponse.d.ts +0 -98
  414. package/dist/es/models/volumes/v4/config/UpdateVolumeGroupMetadataApiResponse.js +0 -345
  415. package/dist/es/models/volumes/v4/config/UpdateVolumeGroupMetadataInfoApiResponse.d.ts +0 -98
  416. package/dist/es/models/volumes/v4/config/UpdateVolumeGroupMetadataInfoApiResponse.js +0 -345
  417. package/dist/lib/models/volumes/v4/config/MigrateVolumeGroupApiResponse.d.ts +0 -99
  418. package/dist/lib/models/volumes/v4/config/MigrateVolumeGroupApiResponse.js +0 -343
  419. package/dist/lib/models/volumes/v4/config/PauseVolumeGroupSynchronousReplicationApiResponse.d.ts +0 -99
  420. package/dist/lib/models/volumes/v4/config/PauseVolumeGroupSynchronousReplicationApiResponse.js +0 -343
  421. package/dist/lib/models/volumes/v4/config/ResumeVolumeGroupSynchronousReplicationApiResponse.d.ts +0 -98
  422. package/dist/lib/models/volumes/v4/config/ResumeVolumeGroupSynchronousReplicationApiResponse.js +0 -345
  423. package/dist/lib/models/volumes/v4/config/UpdateIscsiClientByIdApiResponse.d.ts +0 -99
  424. package/dist/lib/models/volumes/v4/config/UpdateIscsiClientByIdApiResponse.js +0 -343
  425. package/dist/lib/models/volumes/v4/config/UpdateVolumeDiskByIdApiResponse.d.ts +0 -99
  426. package/dist/lib/models/volumes/v4/config/UpdateVolumeDiskByIdApiResponse.js +0 -343
  427. package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupByIdApiResponse.d.ts +0 -99
  428. package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupByIdApiResponse.js +0 -343
  429. package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupMetadataApiResponse.d.ts +0 -98
  430. package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupMetadataApiResponse.js +0 -345
  431. package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupMetadataInfoApiResponse.d.ts +0 -98
  432. package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupMetadataInfoApiResponse.js +0 -345
@@ -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
  });
@@ -10,38 +9,36 @@ var _UpdateIscsiClientApiResponse = _interopRequireDefault(require("../models/vo
10
9
  var _ListIscsiClientsApiResponse = _interopRequireDefault(require("../models/volumes/v4/config/ListIscsiClientsApiResponse"));
11
10
  var _GetIscsiClientApiResponse = _interopRequireDefault(require("../models/volumes/v4/config/GetIscsiClientApiResponse"));
12
11
  var _IscsiClient = _interopRequireDefault(require("../models/volumes/v4/config/IscsiClient"));
13
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
14
- 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; }
15
- 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; }
16
- 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; }
17
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
18
- 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); } }
19
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
20
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
21
- 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); }
22
- function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
23
- function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
24
- function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
25
- function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
26
- 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"); } /*
12
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
+ /*
27
14
  * Nutanix Volumes APIs
28
15
  *
29
- * OpenAPI spec version: 4.0.1
16
+ * OpenAPI spec version: 4.2.1
30
17
  *
31
18
  * NOTE: This class is auto generated by the Open API Dev Platform.
32
19
  *
33
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
20
+ * Open API Dev Platform Codegen version: 17.5.0.10128-RELEASE
34
21
  *
35
22
  * Do not edit the class manually.
36
23
  *
37
24
  */
25
+
38
26
  /**
39
27
  * IscsiClients service.
40
- * @version 4.0.1
28
+ * @version 4.2.1
41
29
  * @class IscsiClientsApi
42
30
  */
43
- var _headersToSkip = /*#__PURE__*/new WeakMap();
44
- var IscsiClientsApi = exports.IscsiClientsApi = /*#__PURE__*/function () {
31
+ class IscsiClientsApi {
32
+ #headersToSkip;
33
+
34
+ /**
35
+ * Make the default {@link ApiClient} class available for developers to be able to extend it and bring
36
+ * their own fetch methods into the SDK
37
+ */
38
+ static get ApiClient() {
39
+ return _ApiClient.ApiClient;
40
+ }
41
+
45
42
  /**
46
43
  * Constructs a new IscsiClientsApi.
47
44
  * @alias module:api/IscsiClientsApi
@@ -49,15 +46,13 @@ var IscsiClientsApi = exports.IscsiClientsApi = /*#__PURE__*/function () {
49
46
  * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
50
47
  * default to {@link module:ApiClient#instance} if unspecified.
51
48
  */
52
- function IscsiClientsApi(apiClient) {
53
- _classCallCheck(this, IscsiClientsApi);
54
- _classPrivateFieldInitSpec(this, _headersToSkip, void 0);
49
+ constructor(apiClient) {
55
50
  this.apiClient = apiClient || _ApiClient.ApiClient.instance;
56
- _classPrivateFieldSet(_headersToSkip, this, new Set());
57
- _classPrivateFieldGet(_headersToSkip, this).add('authorization');
58
- _classPrivateFieldGet(_headersToSkip, this).add('cookie');
59
- _classPrivateFieldGet(_headersToSkip, this).add('host');
60
- _classPrivateFieldGet(_headersToSkip, this).add('user-agent');
51
+ this.#headersToSkip = new Set();
52
+ this.#headersToSkip.add('authorization');
53
+ this.#headersToSkip.add('cookie');
54
+ this.#headersToSkip.add('host');
55
+ this.#headersToSkip.add('user-agent');
61
56
  }
62
57
 
63
58
  /**
@@ -67,150 +62,134 @@ var IscsiClientsApi = exports.IscsiClientsApi = /*#__PURE__*/function () {
67
62
  * @param {Object} args Additional Arguments
68
63
  * @return {Promise<GetIscsiClientApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetIscsiClientApiResponse } and HTTP response
69
64
  */
70
- return _createClass(IscsiClientsApi, [{
71
- key: "getIscsiClientById",
72
- value: function getIscsiClientById(extId) {
73
- var _this = this;
74
- var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
75
- var postBody = null;
76
- // verify the required parameter 'extId' is set
77
- if (typeof extId === 'undefined' || extId === null) {
78
- throw new Error("Missing the required parameter 'extId' when calling getIscsiClientById");
79
- }
80
- var pathParams = {
81
- 'extId': extId
82
- };
83
- var queryParams = {};
84
- var headersToInclude = {};
85
- Object.keys(argMap).forEach(function (header) {
86
- if (!_classPrivateFieldGet(_headersToSkip, _this).has(header.toLowerCase())) {
87
- headersToInclude[header] = argMap[header];
88
- }
89
- });
90
- var headerParams = _objectSpread({}, headersToInclude);
91
- var formParams = {};
92
- var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
93
- var contentTypes = [];
94
- var accepts = ['application/json'];
95
- var returnType = _GetIscsiClientApiResponse["default"];
96
- return this.apiClient.callApi('/api/volumes/v4.0/config/iscsi-clients/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
65
+ getIscsiClientById(extId, ...args) {
66
+ let argMap = args.length > 0 ? args[0] : {};
67
+ const postBody = null;
68
+ // verify the required parameter 'extId' is set
69
+ if (typeof extId === 'undefined' || extId === null) {
70
+ throw new Error("Missing the required parameter 'extId' when calling getIscsiClientById");
97
71
  }
72
+ const pathParams = {
73
+ 'extId': extId
74
+ };
75
+ const queryParams = {};
76
+ let headersToInclude = {};
77
+ Object.keys(argMap).forEach(header => {
78
+ if (!this.#headersToSkip.has(header.toLowerCase())) {
79
+ headersToInclude[header] = argMap[header];
80
+ }
81
+ });
82
+ const headerParams = {
83
+ ...headersToInclude
84
+ };
85
+ const formParams = {};
86
+ const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
87
+ const contentTypes = [];
88
+ const accepts = ['application/json'];
89
+ const returnType = _GetIscsiClientApiResponse.default;
90
+ return this.apiClient.callApi('/api/volumes/v4.2/config/iscsi-clients/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
91
+ }
98
92
 
99
- /**
100
- * List all the iSCSI clients
101
- * Fetches the list of iSCSI clients.
102
- * @param {Object} opts Optional parameters defined for the operation
103
- * @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.
104
- * @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.
105
- * @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>
106
- * 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'.<br>
107
- * The filter can be applied to the following fields:<br>
108
- * - clusterReference<br>
109
- * - extId
110
- * @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.<br>
111
- * The orderby can be applied to the following fields:<br>
112
- * - clusterReference<br>
113
- * - createdTime<br>
114
- * - extId
115
- * @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. The following expansion keys are supported.
116
- - cluster
117
- * @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.
118
- - clusterReference
119
- - extId
120
- * @param {Object} args Additional Arguments
121
- * @return {Promise<ListIscsiClientsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListIscsiClientsApiResponse } and HTTP response
122
- */
123
- }, {
124
- key: "listIscsiClients",
125
- value: function listIscsiClients(opts) {
126
- var _this2 = this;
127
- var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
128
- opts = opts || {};
129
- var postBody = null;
130
- var pathParams = {};
131
- var queryParams = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, opts.hasOwnProperty('$page') ? {
93
+ /**
94
+ * List all the iSCSI clients
95
+ * Fetches the list of iSCSI clients.
96
+ * @param {Object} opts Optional parameters defined for the operation
97
+ * @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.
98
+ * @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.
99
+ * @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>
100
+ * 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'.
101
+ * @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.
102
+ * @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.
103
+ * @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.
104
+ * @param {Object} args Additional Arguments
105
+ * @return {Promise<ListIscsiClientsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListIscsiClientsApiResponse } and HTTP response
106
+ */
107
+ listIscsiClients(opts, ...args) {
108
+ let argMap = args.length > 0 ? args[0] : {};
109
+ opts = opts || {};
110
+ const postBody = null;
111
+ const pathParams = {};
112
+ const queryParams = {
113
+ ...(opts.hasOwnProperty('$page') ? {
132
114
  '$page': opts['$page']
133
- } : {}), opts.hasOwnProperty('$limit') ? {
115
+ } : {}),
116
+ ...(opts.hasOwnProperty('$limit') ? {
134
117
  '$limit': opts['$limit']
135
- } : {}), opts.hasOwnProperty('$filter') ? {
118
+ } : {}),
119
+ ...(opts.hasOwnProperty('$filter') ? {
136
120
  '$filter': opts['$filter']
137
- } : {}), opts.hasOwnProperty('$orderby') ? {
121
+ } : {}),
122
+ ...(opts.hasOwnProperty('$orderby') ? {
138
123
  '$orderby': opts['$orderby']
139
- } : {}), opts.hasOwnProperty('$expand') ? {
124
+ } : {}),
125
+ ...(opts.hasOwnProperty('$expand') ? {
140
126
  '$expand': opts['$expand']
141
- } : {}), opts.hasOwnProperty('$select') ? {
127
+ } : {}),
128
+ ...(opts.hasOwnProperty('$select') ? {
142
129
  '$select': opts['$select']
143
- } : {});
144
- var headersToInclude = {};
145
- Object.keys(argMap).forEach(function (header) {
146
- if (!_classPrivateFieldGet(_headersToSkip, _this2).has(header.toLowerCase())) {
147
- headersToInclude[header] = argMap[header];
148
- }
149
- });
150
- var headerParams = _objectSpread({}, headersToInclude);
151
- var formParams = {};
152
- var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
153
- var contentTypes = [];
154
- var accepts = ['application/json'];
155
- var returnType = _ListIscsiClientsApiResponse["default"];
156
- return this.apiClient.callApi('/api/volumes/v4.0/config/iscsi-clients', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
157
- }
158
-
159
- /**
160
- * Update an iSCSI client
161
- * Modifies the details of an existing iSCSI client configuration identified by {extId}.
162
- * @param { Partial<IscsiClient> } body specification
163
- * @param { String } extId The external identifier of an iSCSI client.
164
- * @param {Object} args Additional Arguments
165
- * @return {Promise<UpdateIscsiClientApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link UpdateIscsiClientApiResponse } and HTTP response
166
- */
167
- }, {
168
- key: "updateIscsiClientById",
169
- value: function updateIscsiClientById(extId, body) {
170
- var _this3 = this;
171
- var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
172
- var postBody = null;
173
- if (body instanceof _IscsiClient["default"] && typeof body.toJson === 'function') {
174
- postBody = body.toJson();
175
- } else {
176
- postBody = body;
177
- }
178
- // verify the required parameter 'extId' is set
179
- if (typeof extId === 'undefined' || extId === null) {
180
- throw new Error("Missing the required parameter 'extId' when calling updateIscsiClientById");
181
- }
182
- // verify the required parameter 'body' is set
183
- if (typeof postBody === 'undefined' || postBody === null) {
184
- throw new Error("Invalid body when calling updateIscsiClientById");
130
+ } : {})
131
+ };
132
+ let headersToInclude = {};
133
+ Object.keys(argMap).forEach(header => {
134
+ if (!this.#headersToSkip.has(header.toLowerCase())) {
135
+ headersToInclude[header] = argMap[header];
185
136
  }
186
- var pathParams = {
187
- 'extId': extId
188
- };
189
- var queryParams = {};
190
- var headersToInclude = {};
191
- Object.keys(argMap).forEach(function (header) {
192
- if (!_classPrivateFieldGet(_headersToSkip, _this3).has(header.toLowerCase())) {
193
- headersToInclude[header] = argMap[header];
194
- }
195
- });
196
- var headerParams = _objectSpread({}, headersToInclude);
197
- var formParams = {};
198
- _ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
199
- var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
200
- var contentTypes = ['application/json'];
201
- var accepts = ['application/json'];
202
- var returnType = _UpdateIscsiClientApiResponse["default"];
203
- return this.apiClient.callApi('/api/volumes/v4.0/config/iscsi-clients/{extId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
137
+ });
138
+ const headerParams = {
139
+ ...headersToInclude
140
+ };
141
+ const formParams = {};
142
+ const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
143
+ const contentTypes = [];
144
+ const accepts = ['application/json'];
145
+ const returnType = _ListIscsiClientsApiResponse.default;
146
+ return this.apiClient.callApi('/api/volumes/v4.2/config/iscsi-clients', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
147
+ }
148
+
149
+ /**
150
+ * Update an iSCSI client
151
+ * Modifies the details of an existing iSCSI client configuration identified by {extId}.
152
+ * @param { Partial<IscsiClient> } body specification
153
+ * @param { String } extId The external identifier of an iSCSI client.
154
+ * @param {Object} args Additional Arguments
155
+ * @return {Promise<UpdateIscsiClientApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link UpdateIscsiClientApiResponse } and HTTP response
156
+ */
157
+ updateIscsiClientById(extId, body, ...args) {
158
+ let argMap = args.length > 0 ? args[0] : {};
159
+ let postBody = null;
160
+ if (body instanceof _IscsiClient.default && typeof body.toJson === 'function') {
161
+ postBody = body.toJson();
162
+ } else {
163
+ postBody = body;
204
164
  }
205
- }], [{
206
- key: "ApiClient",
207
- get:
208
- /**
209
- * Make the default {@link ApiClient} class available for developers to be able to extend it and bring
210
- * their own fetch methods into the SDK
211
- */
212
- function get() {
213
- return _ApiClient.ApiClient;
165
+ // verify the required parameter 'extId' is set
166
+ if (typeof extId === 'undefined' || extId === null) {
167
+ throw new Error("Missing the required parameter 'extId' when calling updateIscsiClientById");
214
168
  }
215
- }]);
216
- }();
169
+ // verify the required parameter 'body' is set
170
+ if (typeof postBody === 'undefined' || postBody === null) {
171
+ throw new Error("Invalid body when calling updateIscsiClientById");
172
+ }
173
+ const pathParams = {
174
+ 'extId': extId
175
+ };
176
+ const queryParams = {};
177
+ let headersToInclude = {};
178
+ Object.keys(argMap).forEach(header => {
179
+ if (!this.#headersToSkip.has(header.toLowerCase())) {
180
+ headersToInclude[header] = argMap[header];
181
+ }
182
+ });
183
+ const headerParams = {
184
+ ...headersToInclude
185
+ };
186
+ const formParams = {};
187
+ _ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
188
+ const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
189
+ const contentTypes = ['application/json'];
190
+ const accepts = ['application/json'];
191
+ const returnType = _UpdateIscsiClientApiResponse.default;
192
+ return this.apiClient.callApi('/api/volumes/v4.2/config/iscsi-clients/{extId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
193
+ }
194
+ }
195
+ exports.IscsiClientsApi = IscsiClientsApi;
@@ -0,0 +1,57 @@
1
+ /**
2
+ * NvmfClients service.
3
+ * @version 4.2.1
4
+ * @class NvmfClientsApi
5
+ */
6
+ export class NvmfClientsApi {
7
+ /**
8
+ * Make the default {@link ApiClient} class available for developers to be able to extend it and bring
9
+ * their own fetch methods into the SDK
10
+ */
11
+ static get ApiClient(): typeof ApiClient;
12
+ /**
13
+ * Constructs a new NvmfClientsApi.
14
+ * @alias module:api/NvmfClientsApi
15
+ * @class
16
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
17
+ * default to {@link module:ApiClient#instance} if unspecified.
18
+ */
19
+ constructor(apiClient?: any);
20
+ apiClient: any;
21
+ /**
22
+ * Get a NVMe-TCP client details
23
+ * Fetches NVMe-TCP client details identified by its external identifier.
24
+ * @param { String } extId The external identifier of the NVMe-TCP client.
25
+ * @param {Object} args Additional Arguments
26
+ * @return {Promise<GetNvmfClientApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetNvmfClientApiResponse } and HTTP response
27
+ */
28
+ getNvmfClientById(extId: string, ...args: any): Promise<GetNvmfClientApiResponse>;
29
+ /**
30
+ * List all NVMe-TCP clients
31
+ * Fetches a list of all the NVMe-TCP clients.
32
+ * @param {Object} opts Optional parameters defined for the operation
33
+ * @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.
34
+
35
+ * @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.
36
+
37
+ * @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>
38
+ * 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'.
39
+ * @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.
40
+ * @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.
41
+ * @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.
42
+ * @param {Object} args Additional Arguments
43
+ * @return {Promise<ListNvmfClientsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListNvmfClientsApiResponse } and HTTP response
44
+ */
45
+ listNvmfClients(opts: {
46
+ $page: number;
47
+ $limit: number;
48
+ $filter: string;
49
+ $orderby: string;
50
+ $expand: string;
51
+ $select: string;
52
+ }, ...args: any): Promise<ListNvmfClientsApiResponse>;
53
+ #private;
54
+ }
55
+ import GetNvmfClientApiResponse from "../models/volumes/v4/config/GetNvmfClientApiResponse";
56
+ import ListNvmfClientsApiResponse from "../models/volumes/v4/config/ListNvmfClientsApiResponse";
57
+ import { ApiClient } from "../ApiClient";
@@ -0,0 +1,147 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.NvmfClientsApi = void 0;
7
+ var _ApiClient = require("../ApiClient");
8
+ var _ListNvmfClientsApiResponse = _interopRequireDefault(require("../models/volumes/v4/config/ListNvmfClientsApiResponse"));
9
+ var _GetNvmfClientApiResponse = _interopRequireDefault(require("../models/volumes/v4/config/GetNvmfClientApiResponse"));
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
+ /*
12
+ * Nutanix Volumes APIs
13
+ *
14
+ * OpenAPI spec version: 4.2.1
15
+ *
16
+ * NOTE: This class is auto generated by the Open API Dev Platform.
17
+ *
18
+ * Open API Dev Platform Codegen version: 17.5.0.10128-RELEASE
19
+ *
20
+ * Do not edit the class manually.
21
+ *
22
+ */
23
+
24
+ /**
25
+ * NvmfClients service.
26
+ * @version 4.2.1
27
+ * @class NvmfClientsApi
28
+ */
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
+
40
+ /**
41
+ * Constructs a new NvmfClientsApi.
42
+ * @alias module:api/NvmfClientsApi
43
+ * @class
44
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
45
+ * default to {@link module:ApiClient#instance} if unspecified.
46
+ */
47
+ constructor(apiClient) {
48
+ this.apiClient = apiClient || _ApiClient.ApiClient.instance;
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');
54
+ }
55
+
56
+ /**
57
+ * Get a NVMe-TCP client details
58
+ * Fetches NVMe-TCP client details identified by its external identifier.
59
+ * @param { String } extId The external identifier of the NVMe-TCP client.
60
+ * @param {Object} args Additional Arguments
61
+ * @return {Promise<GetNvmfClientApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetNvmfClientApiResponse } and HTTP response
62
+ */
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");
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
+ }
90
+
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') ? {
112
+ '$page': opts['$page']
113
+ } : {}),
114
+ ...(opts.hasOwnProperty('$limit') ? {
115
+ '$limit': opts['$limit']
116
+ } : {}),
117
+ ...(opts.hasOwnProperty('$filter') ? {
118
+ '$filter': opts['$filter']
119
+ } : {}),
120
+ ...(opts.hasOwnProperty('$orderby') ? {
121
+ '$orderby': opts['$orderby']
122
+ } : {}),
123
+ ...(opts.hasOwnProperty('$expand') ? {
124
+ '$expand': opts['$expand']
125
+ } : {}),
126
+ ...(opts.hasOwnProperty('$select') ? {
127
+ '$select': opts['$select']
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;