@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.
- package/README.md +17 -5
- package/dist/Ntnx-Volumes-js-client-prod.js +1 -1
- package/dist/Ntnx-Volumes-js-client.js +528 -522
- package/dist/es/ApiClient.d.ts +29 -7
- package/dist/es/ApiClient.js +854 -667
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +144 -183
- package/dist/es/apis/iscsiclients-endpoints.d.ts +2 -2
- package/dist/es/apis/iscsiclients-endpoints.js +143 -154
- package/dist/es/apis/nvmfclients-endpoints.d.ts +2 -2
- package/dist/es/apis/nvmfclients-endpoints.js +100 -110
- package/dist/es/apis/volumegroups-endpoints.d.ts +14 -35
- package/dist/es/apis/volumegroups-endpoints.js +1151 -1203
- package/dist/es/index.d.ts +3 -3
- package/dist/es/index.js +300 -300
- package/dist/es/models/common/v1/config/EntityReference.d.ts +2 -10
- package/dist/es/models/common/v1/config/EntityReference.js +225 -270
- package/dist/es/models/common/v1/config/EntityType.js +9 -11
- package/dist/es/models/common/v1/config/FQDN.d.ts +2 -7
- package/dist/es/models/common/v1/config/FQDN.js +141 -180
- package/dist/es/models/common/v1/config/Flag.d.ts +2 -8
- package/dist/es/models/common/v1/config/Flag.js +170 -211
- package/dist/es/models/common/v1/config/IPAddressOrFQDN.d.ts +2 -26
- package/dist/es/models/common/v1/config/IPAddressOrFQDN.js +196 -247
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +2 -8
- package/dist/es/models/common/v1/config/IPv4Address.js +174 -215
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +2 -8
- package/dist/es/models/common/v1/config/IPv6Address.js +174 -215
- package/dist/es/models/common/v1/config/KVPair.d.ts +2 -8
- package/dist/es/models/common/v1/config/KVPair.js +225 -270
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +139 -178
- package/dist/es/models/common/v1/config/Message.d.ts +2 -10
- package/dist/es/models/common/v1/config/Message.js +213 -258
- package/dist/es/models/common/v1/config/MessageSeverity.js +7 -9
- package/dist/es/models/common/v1/config/Metadata.d.ts +2 -11
- package/dist/es/models/common/v1/config/Metadata.js +261 -308
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +2 -7
- package/dist/es/models/common/v1/config/TenantAwareModel.js +137 -177
- package/dist/es/models/common/v1/response/ApiLink.d.ts +2 -8
- package/dist/es/models/common/v1/response/ApiLink.js +165 -206
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +281 -344
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +154 -202
- package/dist/es/models/common/v1/stats/DownSamplingOperator.js +7 -9
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +2 -7
- package/dist/es/models/prism/v4/config/TaskReference.js +142 -181
- package/dist/es/models/validation/ValidationError.js +26 -42
- package/dist/es/models/validation/ValidationScopes.js +3 -3
- package/dist/es/models/volumes/v4/config/AccessToken.d.ts +2 -7
- package/dist/es/models/volumes/v4/config/AccessToken.js +140 -179
- package/dist/es/models/volumes/v4/config/AssociateCategoryApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/AssociateCategoryApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/AttachIscsiClientApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/AttachIscsiClientApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/AttachNvmfClientApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/AttachNvmfClientApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/AttachVmApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/AttachVmApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/AttachmentType.js +7 -9
- package/dist/es/models/volumes/v4/config/AuthenticationType.js +7 -9
- package/dist/es/models/volumes/v4/config/CategoryDetails.d.ts +1 -1
- package/dist/es/models/volumes/v4/config/CategoryDetails.js +74 -103
- package/dist/es/models/volumes/v4/config/CategoryEntityReferences.d.ts +2 -15
- package/dist/es/models/volumes/v4/config/CategoryEntityReferences.js +152 -195
- package/dist/es/models/volumes/v4/config/ClientAccess.js +7 -9
- package/dist/es/models/volumes/v4/config/Cluster.d.ts +2 -8
- package/dist/es/models/volumes/v4/config/Cluster.js +164 -207
- package/dist/es/models/volumes/v4/config/ClusterProjection.d.ts +1 -1
- package/dist/es/models/volumes/v4/config/ClusterProjection.js +74 -103
- package/dist/es/models/volumes/v4/config/ClusterScope.d.ts +2 -7
- package/dist/es/models/volumes/v4/config/ClusterScope.js +142 -181
- package/dist/es/models/volumes/v4/config/ClusterScopeProjection.d.ts +1 -1
- package/dist/es/models/volumes/v4/config/ClusterScopeProjection.js +74 -103
- package/dist/es/models/volumes/v4/config/CreateVolumeDiskApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/CreateVolumeDiskApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/CreateVolumeGroupApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/CreateVolumeGroupApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/DeleteVolumeDiskApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/DeleteVolumeDiskApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/DeleteVolumeGroupApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/DeleteVolumeGroupApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/DetachIscsiClientApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/DetachIscsiClientApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/DetachNvmfClientApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/DetachNvmfClientApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/DetachVmApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/DetachVmApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/DisassociateCategoryApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/DisassociateCategoryApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/DiskStorageFeatures.d.ts +2 -12
- package/dist/es/models/volumes/v4/config/DiskStorageFeatures.js +138 -177
- package/dist/es/models/volumes/v4/config/FlashMode.d.ts +2 -7
- package/dist/es/models/volumes/v4/config/FlashMode.js +140 -179
- package/dist/es/models/volumes/v4/config/GetIscsiClientApiResponse.d.ts +2 -45
- package/dist/es/models/volumes/v4/config/GetIscsiClientApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/GetNvmfClientApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/GetNvmfClientApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/GetVolumeDiskApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/GetVolumeDiskApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/GetVolumeGroupApiResponse.d.ts +2 -45
- package/dist/es/models/volumes/v4/config/GetVolumeGroupApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/HydrationStatus.d.ts +19 -0
- package/dist/es/models/volumes/v4/config/HydrationStatus.js +89 -0
- package/dist/es/models/volumes/v4/config/IscsiClient.d.ts +1 -53
- package/dist/es/models/volumes/v4/config/IscsiClient.js +304 -364
- package/dist/es/models/volumes/v4/config/IscsiClientAttachment.d.ts +2 -8
- package/dist/es/models/volumes/v4/config/IscsiClientAttachment.js +168 -210
- package/dist/es/models/volumes/v4/config/IscsiClientAttachmentProjection.d.ts +1 -67
- package/dist/es/models/volumes/v4/config/IscsiClientAttachmentProjection.js +124 -164
- package/dist/es/models/volumes/v4/config/IscsiClientProjection.d.ts +1 -60
- package/dist/es/models/volumes/v4/config/IscsiClientProjection.js +164 -194
- package/dist/es/models/volumes/v4/config/IscsiFeatures.d.ts +2 -8
- package/dist/es/models/volumes/v4/config/IscsiFeatures.js +164 -205
- package/dist/es/models/volumes/v4/config/ListCategoryAssociationsApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/ListCategoryAssociationsApiResponse.js +209 -264
- package/dist/es/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.js +213 -268
- package/dist/es/models/volumes/v4/config/ListIscsiClientsApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/ListIscsiClientsApiResponse.js +213 -268
- package/dist/es/models/volumes/v4/config/ListNvmfClientsApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/ListNvmfClientsApiResponse.js +213 -268
- package/dist/es/models/volumes/v4/config/ListVmAttachmentsApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/ListVmAttachmentsApiResponse.js +213 -268
- package/dist/es/models/volumes/v4/config/ListVolumeDisksApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/ListVolumeDisksApiResponse.js +213 -268
- package/dist/es/models/volumes/v4/config/ListVolumeGroupsApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/ListVolumeGroupsApiResponse.js +213 -268
- package/dist/es/models/volumes/v4/config/NvmfClient.d.ts +1 -18
- package/dist/es/models/volumes/v4/config/NvmfClient.js +185 -233
- package/dist/es/models/volumes/v4/config/NvmfClientAttachment.d.ts +1 -16
- package/dist/es/models/volumes/v4/config/NvmfClientAttachment.js +125 -168
- package/dist/es/models/volumes/v4/config/NvmfClientAttachmentProjection.d.ts +1 -40
- package/dist/es/models/volumes/v4/config/NvmfClientAttachmentProjection.js +129 -170
- package/dist/es/models/volumes/v4/config/NvmfClientProjection.d.ts +1 -25
- package/dist/es/models/volumes/v4/config/NvmfClientProjection.js +138 -176
- package/dist/es/models/volumes/v4/config/Protocol.js +7 -9
- package/dist/es/models/volumes/v4/config/RevertSpec.d.ts +2 -7
- package/dist/es/models/volumes/v4/config/RevertSpec.js +142 -181
- package/dist/es/models/volumes/v4/config/RevertVolumeGroupApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/RevertVolumeGroupApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/SharingStatus.js +7 -9
- package/dist/es/models/volumes/v4/config/StorageFeatures.d.ts +2 -12
- package/dist/es/models/volumes/v4/config/StorageFeatures.js +138 -177
- package/dist/es/models/volumes/v4/config/TargetParam.d.ts +2 -8
- package/dist/es/models/volumes/v4/config/TargetParam.js +169 -212
- package/dist/es/models/volumes/v4/config/UpdateIscsiClientApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/UpdateIscsiClientApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/UpdateVolumeDiskApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/UpdateVolumeDiskApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/UpdateVolumeGroupApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/config/UpdateVolumeGroupApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/config/UsageType.js +7 -9
- package/dist/es/models/volumes/v4/config/VGAttachment.d.ts +2 -7
- package/dist/es/models/volumes/v4/config/VGAttachment.js +156 -199
- package/dist/es/models/volumes/v4/config/VmAttachment.d.ts +2 -8
- package/dist/es/models/volumes/v4/config/VmAttachment.js +168 -209
- package/dist/es/models/volumes/v4/config/VmAttachmentProjection.d.ts +1 -1
- package/dist/es/models/volumes/v4/config/VmAttachmentProjection.js +74 -103
- package/dist/es/models/volumes/v4/config/VolumeDisk.d.ts +1 -39
- package/dist/es/models/volumes/v4/config/VolumeDisk.js +266 -319
- package/dist/es/models/volumes/v4/config/VolumeDiskProjection.d.ts +1 -1
- package/dist/es/models/volumes/v4/config/VolumeDiskProjection.js +74 -103
- package/dist/es/models/volumes/v4/config/VolumeGroup.d.ts +11 -90
- package/dist/es/models/volumes/v4/config/VolumeGroup.js +593 -640
- package/dist/es/models/volumes/v4/config/VolumeGroupAttachmentSite.js +7 -9
- package/dist/es/models/volumes/v4/config/VolumeGroupDelegateAccessSpec.d.ts +2 -13
- package/dist/es/models/volumes/v4/config/VolumeGroupDelegateAccessSpec.js +162 -203
- package/dist/es/models/volumes/v4/config/VolumeGroupMetadata.d.ts +2 -8
- package/dist/es/models/volumes/v4/config/VolumeGroupMetadata.js +166 -209
- package/dist/es/models/volumes/v4/config/VolumeGroupMetadataProjection.d.ts +1 -1
- package/dist/es/models/volumes/v4/config/VolumeGroupMetadataProjection.js +74 -103
- package/dist/es/models/volumes/v4/config/VolumeGroupProjection.d.ts +1 -106
- package/dist/es/models/volumes/v4/config/VolumeGroupProjection.js +246 -252
- package/dist/es/models/volumes/v4/error/AppMessage.d.ts +2 -12
- package/dist/es/models/volumes/v4/error/AppMessage.js +264 -313
- package/dist/es/models/volumes/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/es/models/volumes/v4/error/ErrorResponse.js +175 -219
- package/dist/es/models/volumes/v4/error/SchemaValidationError.d.ts +2 -18
- package/dist/es/models/volumes/v4/error/SchemaValidationError.js +249 -300
- package/dist/es/models/volumes/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
- package/dist/es/models/volumes/v4/error/SchemaValidationErrorMessage.js +191 -234
- package/dist/es/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.d.ts +2 -45
- package/dist/es/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.d.ts +2 -43
- package/dist/es/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.js +187 -242
- package/dist/es/models/volumes/v4/stats/TimeValuePair.d.ts +2 -8
- package/dist/es/models/volumes/v4/stats/TimeValuePair.js +166 -207
- package/dist/es/models/volumes/v4/stats/VolumeDiskStats.d.ts +1 -86
- package/dist/es/models/volumes/v4/stats/VolumeDiskStats.js +458 -550
- package/dist/es/models/volumes/v4/stats/VolumeDiskStatsProjection.d.ts +1 -1
- package/dist/es/models/volumes/v4/stats/VolumeDiskStatsProjection.js +74 -103
- package/dist/es/models/volumes/v4/stats/VolumeGroupStats.d.ts +12 -86
- package/dist/es/models/volumes/v4/stats/VolumeGroupStats.js +500 -550
- package/dist/es/models/volumes/v4/stats/VolumeGroupStatsProjection.d.ts +1 -1
- package/dist/es/models/volumes/v4/stats/VolumeGroupStatsProjection.js +74 -103
- package/dist/es/utils/ValidationUtils.js +39 -69
- package/dist/lib/ApiClient.d.ts +29 -7
- package/dist/lib/ApiClient.js +854 -667
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +144 -183
- package/dist/lib/apis/iscsiclients-endpoints.d.ts +2 -2
- package/dist/lib/apis/iscsiclients-endpoints.js +143 -154
- package/dist/lib/apis/nvmfclients-endpoints.d.ts +2 -2
- package/dist/lib/apis/nvmfclients-endpoints.js +100 -110
- package/dist/lib/apis/volumegroups-endpoints.d.ts +14 -35
- package/dist/lib/apis/volumegroups-endpoints.js +1151 -1203
- package/dist/lib/index.d.ts +3 -3
- package/dist/lib/index.js +300 -300
- package/dist/lib/models/common/v1/config/EntityReference.d.ts +2 -10
- package/dist/lib/models/common/v1/config/EntityReference.js +225 -270
- package/dist/lib/models/common/v1/config/EntityType.js +9 -11
- package/dist/lib/models/common/v1/config/FQDN.d.ts +2 -7
- package/dist/lib/models/common/v1/config/FQDN.js +141 -180
- package/dist/lib/models/common/v1/config/Flag.d.ts +2 -8
- package/dist/lib/models/common/v1/config/Flag.js +170 -211
- package/dist/lib/models/common/v1/config/IPAddressOrFQDN.d.ts +2 -26
- package/dist/lib/models/common/v1/config/IPAddressOrFQDN.js +196 -247
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +2 -8
- package/dist/lib/models/common/v1/config/IPv4Address.js +174 -215
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +2 -8
- package/dist/lib/models/common/v1/config/IPv6Address.js +174 -215
- package/dist/lib/models/common/v1/config/KVPair.d.ts +2 -8
- package/dist/lib/models/common/v1/config/KVPair.js +225 -270
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +139 -178
- package/dist/lib/models/common/v1/config/Message.d.ts +2 -10
- package/dist/lib/models/common/v1/config/Message.js +213 -258
- package/dist/lib/models/common/v1/config/MessageSeverity.js +7 -9
- package/dist/lib/models/common/v1/config/Metadata.d.ts +2 -11
- package/dist/lib/models/common/v1/config/Metadata.js +261 -308
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +2 -7
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +137 -177
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +2 -8
- package/dist/lib/models/common/v1/response/ApiLink.js +165 -206
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +281 -344
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +154 -202
- package/dist/lib/models/common/v1/stats/DownSamplingOperator.js +7 -9
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +2 -7
- package/dist/lib/models/prism/v4/config/TaskReference.js +142 -181
- package/dist/lib/models/validation/ValidationError.js +26 -42
- package/dist/lib/models/validation/ValidationScopes.js +3 -3
- package/dist/lib/models/volumes/v4/config/AccessToken.d.ts +2 -7
- package/dist/lib/models/volumes/v4/config/AccessToken.js +140 -179
- package/dist/lib/models/volumes/v4/config/AssociateCategoryApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/AssociateCategoryApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/AttachIscsiClientApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/AttachIscsiClientApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/AttachNvmfClientApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/AttachNvmfClientApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/AttachVmApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/AttachVmApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/AttachmentType.js +7 -9
- package/dist/lib/models/volumes/v4/config/AuthenticationType.js +7 -9
- package/dist/lib/models/volumes/v4/config/CategoryDetails.d.ts +1 -1
- package/dist/lib/models/volumes/v4/config/CategoryDetails.js +74 -103
- package/dist/lib/models/volumes/v4/config/CategoryEntityReferences.d.ts +2 -15
- package/dist/lib/models/volumes/v4/config/CategoryEntityReferences.js +152 -195
- package/dist/lib/models/volumes/v4/config/ClientAccess.js +7 -9
- package/dist/lib/models/volumes/v4/config/Cluster.d.ts +2 -8
- package/dist/lib/models/volumes/v4/config/Cluster.js +164 -207
- package/dist/lib/models/volumes/v4/config/ClusterProjection.d.ts +1 -1
- package/dist/lib/models/volumes/v4/config/ClusterProjection.js +74 -103
- package/dist/lib/models/volumes/v4/config/ClusterScope.d.ts +2 -7
- package/dist/lib/models/volumes/v4/config/ClusterScope.js +142 -181
- package/dist/lib/models/volumes/v4/config/ClusterScopeProjection.d.ts +1 -1
- package/dist/lib/models/volumes/v4/config/ClusterScopeProjection.js +74 -103
- package/dist/lib/models/volumes/v4/config/CreateVolumeDiskApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/CreateVolumeDiskApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/CreateVolumeGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/CreateVolumeGroupApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/DeleteVolumeDiskApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/DeleteVolumeDiskApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/DeleteVolumeGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/DeleteVolumeGroupApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/DetachIscsiClientApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/DetachIscsiClientApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/DetachNvmfClientApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/DetachNvmfClientApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/DetachVmApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/DetachVmApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/DisassociateCategoryApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/DisassociateCategoryApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/DiskStorageFeatures.d.ts +2 -12
- package/dist/lib/models/volumes/v4/config/DiskStorageFeatures.js +138 -177
- package/dist/lib/models/volumes/v4/config/FlashMode.d.ts +2 -7
- package/dist/lib/models/volumes/v4/config/FlashMode.js +140 -179
- package/dist/lib/models/volumes/v4/config/GetIscsiClientApiResponse.d.ts +2 -45
- package/dist/lib/models/volumes/v4/config/GetIscsiClientApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/GetNvmfClientApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/GetNvmfClientApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/GetVolumeDiskApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/GetVolumeDiskApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/GetVolumeGroupApiResponse.d.ts +2 -45
- package/dist/lib/models/volumes/v4/config/GetVolumeGroupApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/HydrationStatus.d.ts +19 -0
- package/dist/lib/models/volumes/v4/config/HydrationStatus.js +89 -0
- package/dist/lib/models/volumes/v4/config/IscsiClient.d.ts +1 -53
- package/dist/lib/models/volumes/v4/config/IscsiClient.js +304 -364
- package/dist/lib/models/volumes/v4/config/IscsiClientAttachment.d.ts +2 -8
- package/dist/lib/models/volumes/v4/config/IscsiClientAttachment.js +168 -210
- package/dist/lib/models/volumes/v4/config/IscsiClientAttachmentProjection.d.ts +1 -67
- package/dist/lib/models/volumes/v4/config/IscsiClientAttachmentProjection.js +124 -164
- package/dist/lib/models/volumes/v4/config/IscsiClientProjection.d.ts +1 -60
- package/dist/lib/models/volumes/v4/config/IscsiClientProjection.js +164 -194
- package/dist/lib/models/volumes/v4/config/IscsiFeatures.d.ts +2 -8
- package/dist/lib/models/volumes/v4/config/IscsiFeatures.js +164 -205
- package/dist/lib/models/volumes/v4/config/ListCategoryAssociationsApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/ListCategoryAssociationsApiResponse.js +209 -264
- package/dist/lib/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.js +213 -268
- package/dist/lib/models/volumes/v4/config/ListIscsiClientsApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/ListIscsiClientsApiResponse.js +213 -268
- package/dist/lib/models/volumes/v4/config/ListNvmfClientsApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/ListNvmfClientsApiResponse.js +213 -268
- package/dist/lib/models/volumes/v4/config/ListVmAttachmentsApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/ListVmAttachmentsApiResponse.js +213 -268
- package/dist/lib/models/volumes/v4/config/ListVolumeDisksApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/ListVolumeDisksApiResponse.js +213 -268
- package/dist/lib/models/volumes/v4/config/ListVolumeGroupsApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/ListVolumeGroupsApiResponse.js +213 -268
- package/dist/lib/models/volumes/v4/config/NvmfClient.d.ts +1 -18
- package/dist/lib/models/volumes/v4/config/NvmfClient.js +185 -233
- package/dist/lib/models/volumes/v4/config/NvmfClientAttachment.d.ts +1 -16
- package/dist/lib/models/volumes/v4/config/NvmfClientAttachment.js +125 -168
- package/dist/lib/models/volumes/v4/config/NvmfClientAttachmentProjection.d.ts +1 -40
- package/dist/lib/models/volumes/v4/config/NvmfClientAttachmentProjection.js +129 -170
- package/dist/lib/models/volumes/v4/config/NvmfClientProjection.d.ts +1 -25
- package/dist/lib/models/volumes/v4/config/NvmfClientProjection.js +138 -176
- package/dist/lib/models/volumes/v4/config/Protocol.js +7 -9
- package/dist/lib/models/volumes/v4/config/RevertSpec.d.ts +2 -7
- package/dist/lib/models/volumes/v4/config/RevertSpec.js +142 -181
- package/dist/lib/models/volumes/v4/config/RevertVolumeGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/RevertVolumeGroupApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/SharingStatus.js +7 -9
- package/dist/lib/models/volumes/v4/config/StorageFeatures.d.ts +2 -12
- package/dist/lib/models/volumes/v4/config/StorageFeatures.js +138 -177
- package/dist/lib/models/volumes/v4/config/TargetParam.d.ts +2 -8
- package/dist/lib/models/volumes/v4/config/TargetParam.js +169 -212
- package/dist/lib/models/volumes/v4/config/UpdateIscsiClientApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/UpdateIscsiClientApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/UpdateVolumeDiskApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/UpdateVolumeDiskApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/config/UsageType.js +7 -9
- package/dist/lib/models/volumes/v4/config/VGAttachment.d.ts +2 -7
- package/dist/lib/models/volumes/v4/config/VGAttachment.js +156 -199
- package/dist/lib/models/volumes/v4/config/VmAttachment.d.ts +2 -8
- package/dist/lib/models/volumes/v4/config/VmAttachment.js +168 -209
- package/dist/lib/models/volumes/v4/config/VmAttachmentProjection.d.ts +1 -1
- package/dist/lib/models/volumes/v4/config/VmAttachmentProjection.js +74 -103
- package/dist/lib/models/volumes/v4/config/VolumeDisk.d.ts +1 -39
- package/dist/lib/models/volumes/v4/config/VolumeDisk.js +266 -319
- package/dist/lib/models/volumes/v4/config/VolumeDiskProjection.d.ts +1 -1
- package/dist/lib/models/volumes/v4/config/VolumeDiskProjection.js +74 -103
- package/dist/lib/models/volumes/v4/config/VolumeGroup.d.ts +11 -90
- package/dist/lib/models/volumes/v4/config/VolumeGroup.js +593 -640
- package/dist/lib/models/volumes/v4/config/VolumeGroupAttachmentSite.js +7 -9
- package/dist/lib/models/volumes/v4/config/VolumeGroupDelegateAccessSpec.d.ts +2 -13
- package/dist/lib/models/volumes/v4/config/VolumeGroupDelegateAccessSpec.js +162 -203
- package/dist/lib/models/volumes/v4/config/VolumeGroupMetadata.d.ts +2 -8
- package/dist/lib/models/volumes/v4/config/VolumeGroupMetadata.js +166 -209
- package/dist/lib/models/volumes/v4/config/VolumeGroupMetadataProjection.d.ts +1 -1
- package/dist/lib/models/volumes/v4/config/VolumeGroupMetadataProjection.js +74 -103
- package/dist/lib/models/volumes/v4/config/VolumeGroupProjection.d.ts +1 -106
- package/dist/lib/models/volumes/v4/config/VolumeGroupProjection.js +246 -252
- package/dist/lib/models/volumes/v4/error/AppMessage.d.ts +2 -12
- package/dist/lib/models/volumes/v4/error/AppMessage.js +264 -313
- package/dist/lib/models/volumes/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/lib/models/volumes/v4/error/ErrorResponse.js +175 -219
- package/dist/lib/models/volumes/v4/error/SchemaValidationError.d.ts +2 -18
- package/dist/lib/models/volumes/v4/error/SchemaValidationError.js +249 -300
- package/dist/lib/models/volumes/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
- package/dist/lib/models/volumes/v4/error/SchemaValidationErrorMessage.js +191 -234
- package/dist/lib/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.d.ts +2 -45
- package/dist/lib/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.d.ts +2 -43
- package/dist/lib/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.js +187 -242
- package/dist/lib/models/volumes/v4/stats/TimeValuePair.d.ts +2 -8
- package/dist/lib/models/volumes/v4/stats/TimeValuePair.js +166 -207
- package/dist/lib/models/volumes/v4/stats/VolumeDiskStats.d.ts +1 -86
- package/dist/lib/models/volumes/v4/stats/VolumeDiskStats.js +458 -550
- package/dist/lib/models/volumes/v4/stats/VolumeDiskStatsProjection.d.ts +1 -1
- package/dist/lib/models/volumes/v4/stats/VolumeDiskStatsProjection.js +74 -103
- package/dist/lib/models/volumes/v4/stats/VolumeGroupStats.d.ts +12 -86
- package/dist/lib/models/volumes/v4/stats/VolumeGroupStats.js +500 -550
- package/dist/lib/models/volumes/v4/stats/VolumeGroupStatsProjection.d.ts +1 -1
- package/dist/lib/models/volumes/v4/stats/VolumeGroupStatsProjection.js +74 -103
- package/dist/lib/utils/ValidationUtils.js +39 -69
- package/package.json +1 -1
- package/dist/es/models/volumes/v4/config/ListExternalNvmfAttachmentsApiResponse.d.ts +0 -100
- package/dist/es/models/volumes/v4/config/ListExternalNvmfAttachmentsApiResponse.js +0 -370
- package/dist/lib/models/volumes/v4/config/ListExternalNvmfAttachmentsApiResponse.d.ts +0 -100
- 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 : {
|
|
12
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
26
|
+
* @version 4.2.2
|
|
39
27
|
* @class NvmfClientsApi
|
|
40
28
|
*/
|
|
41
|
-
|
|
42
|
-
|
|
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
|
-
|
|
51
|
-
_classCallCheck(this, NvmfClientsApi);
|
|
52
|
-
_classPrivateFieldInitSpec(this, _headersToSkip, void 0);
|
|
47
|
+
constructor(apiClient) {
|
|
53
48
|
this.apiClient = apiClient || _ApiClient.ApiClient.instance;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
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
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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
|
-
} : {}),
|
|
113
|
+
} : {}),
|
|
114
|
+
...(opts.hasOwnProperty('$limit') ? {
|
|
122
115
|
'$limit': opts['$limit']
|
|
123
|
-
} : {}),
|
|
116
|
+
} : {}),
|
|
117
|
+
...(opts.hasOwnProperty('$filter') ? {
|
|
124
118
|
'$filter': opts['$filter']
|
|
125
|
-
} : {}),
|
|
119
|
+
} : {}),
|
|
120
|
+
...(opts.hasOwnProperty('$orderby') ? {
|
|
126
121
|
'$orderby': opts['$orderby']
|
|
127
|
-
} : {}),
|
|
122
|
+
} : {}),
|
|
123
|
+
...(opts.hasOwnProperty('$expand') ? {
|
|
128
124
|
'$expand': opts['$expand']
|
|
129
|
-
} : {}),
|
|
125
|
+
} : {}),
|
|
126
|
+
...(opts.hasOwnProperty('$select') ? {
|
|
130
127
|
'$select': opts['$select']
|
|
131
|
-
} : {})
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
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.
|
|
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,
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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";
|