@nutanix-scratch/volumes-js-client 4.0.1-beta.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.
- package/LICENSE.txt +49 -0
- package/README.md +195 -0
- package/dist/Ntnx-Volumes-js-client-prod.js +1 -0
- package/dist/Ntnx-Volumes-js-client.js +1389 -0
- package/dist/es/ApiClient.d.ts +159 -0
- package/dist/es/ApiClient.js +1211 -0
- package/dist/es/Paginable.d.ts +95 -0
- package/dist/es/Paginable.js +287 -0
- package/dist/es/apis/iscsiclients-endpoints.d.ts +69 -0
- package/dist/es/apis/iscsiclients-endpoints.js +167 -0
- package/dist/es/apis/volumegroups-endpoints.d.ts +342 -0
- package/dist/es/apis/volumegroups-endpoints.js +1023 -0
- package/dist/es/index.d.ts +184 -0
- package/dist/es/index.js +732 -0
- package/dist/es/models/common/v1/config/EntityReference.d.ts +78 -0
- package/dist/es/models/common/v1/config/EntityReference.js +352 -0
- package/dist/es/models/common/v1/config/EntityType.d.ts +19 -0
- package/dist/es/models/common/v1/config/EntityType.js +205 -0
- package/dist/es/models/common/v1/config/FQDN.d.ts +48 -0
- package/dist/es/models/common/v1/config/FQDN.js +242 -0
- package/dist/es/models/common/v1/config/Flag.d.ts +58 -0
- package/dist/es/models/common/v1/config/Flag.js +275 -0
- package/dist/es/models/common/v1/config/IPAddressOrFQDN.d.ts +72 -0
- package/dist/es/models/common/v1/config/IPAddressOrFQDN.js +332 -0
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +62 -0
- package/dist/es/models/common/v1/config/IPv4Address.js +288 -0
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +62 -0
- package/dist/es/models/common/v1/config/IPv6Address.js +288 -0
- package/dist/es/models/common/v1/config/KVPair.d.ts +62 -0
- package/dist/es/models/common/v1/config/KVPair.js +332 -0
- package/dist/es/models/common/v1/config/Message.d.ts +84 -0
- package/dist/es/models/common/v1/config/Message.js +354 -0
- package/dist/es/models/common/v1/config/MessageSeverity.d.ts +19 -0
- package/dist/es/models/common/v1/config/MessageSeverity.js +91 -0
- package/dist/es/models/common/v1/config/Metadata.d.ts +98 -0
- package/dist/es/models/common/v1/config/Metadata.js +413 -0
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +50 -0
- package/dist/es/models/common/v1/config/TenantAwareModel.js +243 -0
- package/dist/es/models/common/v1/response/ApiLink.d.ts +62 -0
- package/dist/es/models/common/v1/response/ApiLink.js +280 -0
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +98 -0
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +438 -0
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +42 -0
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +270 -0
- package/dist/es/models/common/v1/stats/DownSamplingOperator.d.ts +19 -0
- package/dist/es/models/common/v1/stats/DownSamplingOperator.js +109 -0
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +50 -0
- package/dist/es/models/prism/v4/config/TaskReference.js +260 -0
- package/dist/es/models/validation/ValidationError.d.ts +13 -0
- package/dist/es/models/validation/ValidationError.js +60 -0
- package/dist/es/models/validation/ValidationScopes.d.ts +9 -0
- package/dist/es/models/validation/ValidationScopes.js +38 -0
- package/dist/es/models/volumes/v4/config/AssociateCategoryApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/AssociateCategoryApiResponse.js +313 -0
- package/dist/es/models/volumes/v4/config/AttachIscsiClientApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/AttachIscsiClientApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/AttachVmApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/AttachVmApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/AuthenticationType.d.ts +19 -0
- package/dist/es/models/volumes/v4/config/AuthenticationType.js +85 -0
- package/dist/es/models/volumes/v4/config/CategoryDetails.d.ts +9 -0
- package/dist/es/models/volumes/v4/config/CategoryDetails.js +131 -0
- package/dist/es/models/volumes/v4/config/CategoryEntityReferences.d.ts +48 -0
- package/dist/es/models/volumes/v4/config/CategoryEntityReferences.js +256 -0
- package/dist/es/models/volumes/v4/config/Cluster.d.ts +62 -0
- package/dist/es/models/volumes/v4/config/Cluster.js +279 -0
- package/dist/es/models/volumes/v4/config/ClusterProjection.d.ts +9 -0
- package/dist/es/models/volumes/v4/config/ClusterProjection.js +129 -0
- package/dist/es/models/volumes/v4/config/CreateVolumeDiskApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/CreateVolumeDiskApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/CreateVolumeGroupApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/CreateVolumeGroupApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/DeleteVolumeDiskApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/DeleteVolumeDiskApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/DeleteVolumeGroupApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/DeleteVolumeGroupApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/DetachIscsiClientApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/DetachIscsiClientApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/DetachVmApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/DetachVmApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/DisassociateCategoryApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/DisassociateCategoryApiResponse.js +313 -0
- package/dist/es/models/volumes/v4/config/DiskStorageFeatures.d.ts +48 -0
- package/dist/es/models/volumes/v4/config/DiskStorageFeatures.js +240 -0
- package/dist/es/models/volumes/v4/config/FlashMode.d.ts +48 -0
- package/dist/es/models/volumes/v4/config/FlashMode.js +239 -0
- package/dist/es/models/volumes/v4/config/GetIscsiClientApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/GetIscsiClientApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/GetVolumeDiskApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/GetVolumeDiskApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/GetVolumeGroupApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/GetVolumeGroupApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/IscsiClient.d.ts +113 -0
- package/dist/es/models/volumes/v4/config/IscsiClient.js +495 -0
- package/dist/es/models/volumes/v4/config/IscsiClientAttachment.d.ts +32 -0
- package/dist/es/models/volumes/v4/config/IscsiClientAttachment.js +226 -0
- package/dist/es/models/volumes/v4/config/IscsiClientAttachmentProjection.d.ts +31 -0
- package/dist/es/models/volumes/v4/config/IscsiClientAttachmentProjection.js +223 -0
- package/dist/es/models/volumes/v4/config/IscsiClientProjection.d.ts +38 -0
- package/dist/es/models/volumes/v4/config/IscsiClientProjection.js +255 -0
- package/dist/es/models/volumes/v4/config/IscsiFeatures.d.ts +60 -0
- package/dist/es/models/volumes/v4/config/IscsiFeatures.js +278 -0
- package/dist/es/models/volumes/v4/config/ListCategoryAssociationsApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/ListCategoryAssociationsApiResponse.js +333 -0
- package/dist/es/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.js +338 -0
- package/dist/es/models/volumes/v4/config/ListIscsiClientsApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/ListIscsiClientsApiResponse.js +338 -0
- package/dist/es/models/volumes/v4/config/ListVmAttachmentsApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/ListVmAttachmentsApiResponse.js +338 -0
- package/dist/es/models/volumes/v4/config/ListVolumeDisksApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/ListVolumeDisksApiResponse.js +338 -0
- package/dist/es/models/volumes/v4/config/ListVolumeGroupsApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/ListVolumeGroupsApiResponse.js +338 -0
- package/dist/es/models/volumes/v4/config/MigrateVolumeGroupApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/MigrateVolumeGroupApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/NvmfClient.d.ts +56 -0
- package/dist/es/models/volumes/v4/config/NvmfClient.js +308 -0
- package/dist/es/models/volumes/v4/config/NvmfClientAttachment.d.ts +32 -0
- package/dist/es/models/volumes/v4/config/NvmfClientAttachment.js +228 -0
- package/dist/es/models/volumes/v4/config/NvmfClientAttachmentProjection.d.ts +31 -0
- package/dist/es/models/volumes/v4/config/NvmfClientAttachmentProjection.js +225 -0
- package/dist/es/models/volumes/v4/config/NvmfClientProjection.d.ts +33 -0
- package/dist/es/models/volumes/v4/config/NvmfClientProjection.js +229 -0
- package/dist/es/models/volumes/v4/config/PauseVolumeGroupSynchronousReplicationApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/PauseVolumeGroupSynchronousReplicationApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/ResumeVolumeGroupSynchronousReplicationApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/ResumeVolumeGroupSynchronousReplicationApiResponse.js +313 -0
- package/dist/es/models/volumes/v4/config/RevertSpec.d.ts +60 -0
- package/dist/es/models/volumes/v4/config/RevertSpec.js +250 -0
- package/dist/es/models/volumes/v4/config/RevertVolumeGroupApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/RevertVolumeGroupApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/SharingStatus.d.ts +19 -0
- package/dist/es/models/volumes/v4/config/SharingStatus.js +85 -0
- package/dist/es/models/volumes/v4/config/StorageFeatures.d.ts +48 -0
- package/dist/es/models/volumes/v4/config/StorageFeatures.js +240 -0
- package/dist/es/models/volumes/v4/config/TargetParam.d.ts +64 -0
- package/dist/es/models/volumes/v4/config/TargetParam.js +284 -0
- package/dist/es/models/volumes/v4/config/Task.d.ts +50 -0
- package/dist/es/models/volumes/v4/config/Task.js +245 -0
- package/dist/es/models/volumes/v4/config/UpdateIscsiClientApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/UpdateIscsiClientApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/UpdateVolumeDiskApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/UpdateVolumeDiskApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/UpdateVolumeGroupApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/UpdateVolumeGroupApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/config/UpdateVolumeGroupMetadataApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/UpdateVolumeGroupMetadataApiResponse.js +313 -0
- package/dist/es/models/volumes/v4/config/UpdateVolumeGroupMetadataInfoApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/config/UpdateVolumeGroupMetadataInfoApiResponse.js +313 -0
- package/dist/es/models/volumes/v4/config/UsageType.d.ts +19 -0
- package/dist/es/models/volumes/v4/config/UsageType.js +97 -0
- package/dist/es/models/volumes/v4/config/VmAttachment.d.ts +32 -0
- package/dist/es/models/volumes/v4/config/VmAttachment.js +225 -0
- package/dist/es/models/volumes/v4/config/VmAttachmentProjection.d.ts +9 -0
- package/dist/es/models/volumes/v4/config/VmAttachmentProjection.js +129 -0
- package/dist/es/models/volumes/v4/config/VolumeDisk.d.ts +92 -0
- package/dist/es/models/volumes/v4/config/VolumeDisk.js +433 -0
- package/dist/es/models/volumes/v4/config/VolumeDiskProjection.d.ts +9 -0
- package/dist/es/models/volumes/v4/config/VolumeDiskProjection.js +131 -0
- package/dist/es/models/volumes/v4/config/VolumeGroup.d.ts +166 -0
- package/dist/es/models/volumes/v4/config/VolumeGroup.js +697 -0
- package/dist/es/models/volumes/v4/config/VolumeGroupAttachmentSite.d.ts +19 -0
- package/dist/es/models/volumes/v4/config/VolumeGroupAttachmentSite.js +85 -0
- package/dist/es/models/volumes/v4/config/VolumeGroupMetadata.d.ts +62 -0
- package/dist/es/models/volumes/v4/config/VolumeGroupMetadata.js +284 -0
- package/dist/es/models/volumes/v4/config/VolumeGroupMetadataProjection.d.ts +9 -0
- package/dist/es/models/volumes/v4/config/VolumeGroupMetadataProjection.js +129 -0
- package/dist/es/models/volumes/v4/config/VolumeGroupProjection.d.ts +53 -0
- package/dist/es/models/volumes/v4/config/VolumeGroupProjection.js +314 -0
- package/dist/es/models/volumes/v4/error/AppMessage.d.ts +108 -0
- package/dist/es/models/volumes/v4/error/AppMessage.js +432 -0
- package/dist/es/models/volumes/v4/error/ErrorResponse.d.ts +48 -0
- package/dist/es/models/volumes/v4/error/ErrorResponse.js +314 -0
- package/dist/es/models/volumes/v4/error/SchemaValidationError.d.ts +98 -0
- package/dist/es/models/volumes/v4/error/SchemaValidationError.js +407 -0
- package/dist/es/models/volumes/v4/error/SchemaValidationErrorMessage.d.ts +74 -0
- package/dist/es/models/volumes/v4/error/SchemaValidationErrorMessage.js +318 -0
- package/dist/es/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.d.ts +59 -0
- package/dist/es/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.js +311 -0
- package/dist/es/models/volumes/v4/stats/TimeValuePair.d.ts +62 -0
- package/dist/es/models/volumes/v4/stats/TimeValuePair.js +279 -0
- package/dist/es/models/volumes/v4/stats/VolumeDiskStats.d.ts +170 -0
- package/dist/es/models/volumes/v4/stats/VolumeDiskStats.js +728 -0
- package/dist/es/models/volumes/v4/stats/VolumeGroupStats.d.ts +170 -0
- package/dist/es/models/volumes/v4/stats/VolumeGroupStats.js +728 -0
- package/dist/es/models/volumes/v4/stats/VolumeGroupStatsProjection.d.ts +9 -0
- package/dist/es/models/volumes/v4/stats/VolumeGroupStatsProjection.js +130 -0
- package/dist/es/utils/ValidationUtils.d.ts +13 -0
- package/dist/es/utils/ValidationUtils.js +85 -0
- package/dist/lib/ApiClient.d.ts +159 -0
- package/dist/lib/ApiClient.js +1211 -0
- package/dist/lib/Paginable.d.ts +95 -0
- package/dist/lib/Paginable.js +287 -0
- package/dist/lib/apis/iscsiclients-endpoints.d.ts +69 -0
- package/dist/lib/apis/iscsiclients-endpoints.js +167 -0
- package/dist/lib/apis/volumegroups-endpoints.d.ts +342 -0
- package/dist/lib/apis/volumegroups-endpoints.js +1023 -0
- package/dist/lib/index.d.ts +184 -0
- package/dist/lib/index.js +732 -0
- package/dist/lib/models/common/v1/config/EntityReference.d.ts +78 -0
- package/dist/lib/models/common/v1/config/EntityReference.js +352 -0
- package/dist/lib/models/common/v1/config/EntityType.d.ts +19 -0
- package/dist/lib/models/common/v1/config/EntityType.js +205 -0
- package/dist/lib/models/common/v1/config/FQDN.d.ts +48 -0
- package/dist/lib/models/common/v1/config/FQDN.js +242 -0
- package/dist/lib/models/common/v1/config/Flag.d.ts +58 -0
- package/dist/lib/models/common/v1/config/Flag.js +275 -0
- package/dist/lib/models/common/v1/config/IPAddressOrFQDN.d.ts +72 -0
- package/dist/lib/models/common/v1/config/IPAddressOrFQDN.js +332 -0
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +62 -0
- package/dist/lib/models/common/v1/config/IPv4Address.js +288 -0
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +62 -0
- package/dist/lib/models/common/v1/config/IPv6Address.js +288 -0
- package/dist/lib/models/common/v1/config/KVPair.d.ts +62 -0
- package/dist/lib/models/common/v1/config/KVPair.js +332 -0
- package/dist/lib/models/common/v1/config/Message.d.ts +84 -0
- package/dist/lib/models/common/v1/config/Message.js +354 -0
- package/dist/lib/models/common/v1/config/MessageSeverity.d.ts +19 -0
- package/dist/lib/models/common/v1/config/MessageSeverity.js +91 -0
- package/dist/lib/models/common/v1/config/Metadata.d.ts +98 -0
- package/dist/lib/models/common/v1/config/Metadata.js +413 -0
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +50 -0
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +243 -0
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +62 -0
- package/dist/lib/models/common/v1/response/ApiLink.js +280 -0
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +98 -0
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +438 -0
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +42 -0
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +270 -0
- package/dist/lib/models/common/v1/stats/DownSamplingOperator.d.ts +19 -0
- package/dist/lib/models/common/v1/stats/DownSamplingOperator.js +109 -0
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +50 -0
- package/dist/lib/models/prism/v4/config/TaskReference.js +260 -0
- package/dist/lib/models/validation/ValidationError.d.ts +13 -0
- package/dist/lib/models/validation/ValidationError.js +60 -0
- package/dist/lib/models/validation/ValidationScopes.d.ts +9 -0
- package/dist/lib/models/validation/ValidationScopes.js +38 -0
- package/dist/lib/models/volumes/v4/config/AssociateCategoryApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/AssociateCategoryApiResponse.js +313 -0
- package/dist/lib/models/volumes/v4/config/AttachIscsiClientApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/AttachIscsiClientApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/AttachVmApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/AttachVmApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/AuthenticationType.d.ts +19 -0
- package/dist/lib/models/volumes/v4/config/AuthenticationType.js +85 -0
- package/dist/lib/models/volumes/v4/config/CategoryDetails.d.ts +9 -0
- package/dist/lib/models/volumes/v4/config/CategoryDetails.js +131 -0
- package/dist/lib/models/volumes/v4/config/CategoryEntityReferences.d.ts +48 -0
- package/dist/lib/models/volumes/v4/config/CategoryEntityReferences.js +256 -0
- package/dist/lib/models/volumes/v4/config/Cluster.d.ts +62 -0
- package/dist/lib/models/volumes/v4/config/Cluster.js +279 -0
- package/dist/lib/models/volumes/v4/config/ClusterProjection.d.ts +9 -0
- package/dist/lib/models/volumes/v4/config/ClusterProjection.js +129 -0
- package/dist/lib/models/volumes/v4/config/CreateVolumeDiskApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/CreateVolumeDiskApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/CreateVolumeGroupApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/CreateVolumeGroupApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/DeleteVolumeDiskApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/DeleteVolumeDiskApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/DeleteVolumeGroupApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/DeleteVolumeGroupApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/DetachIscsiClientApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/DetachIscsiClientApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/DetachVmApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/DetachVmApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/DisassociateCategoryApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/DisassociateCategoryApiResponse.js +313 -0
- package/dist/lib/models/volumes/v4/config/DiskStorageFeatures.d.ts +48 -0
- package/dist/lib/models/volumes/v4/config/DiskStorageFeatures.js +240 -0
- package/dist/lib/models/volumes/v4/config/FlashMode.d.ts +48 -0
- package/dist/lib/models/volumes/v4/config/FlashMode.js +239 -0
- package/dist/lib/models/volumes/v4/config/GetIscsiClientApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/GetIscsiClientApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/GetVolumeDiskApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/GetVolumeDiskApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/GetVolumeGroupApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/GetVolumeGroupApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/GetVolumeGroupMetadataApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/IscsiClient.d.ts +113 -0
- package/dist/lib/models/volumes/v4/config/IscsiClient.js +495 -0
- package/dist/lib/models/volumes/v4/config/IscsiClientAttachment.d.ts +32 -0
- package/dist/lib/models/volumes/v4/config/IscsiClientAttachment.js +226 -0
- package/dist/lib/models/volumes/v4/config/IscsiClientAttachmentProjection.d.ts +31 -0
- package/dist/lib/models/volumes/v4/config/IscsiClientAttachmentProjection.js +223 -0
- package/dist/lib/models/volumes/v4/config/IscsiClientProjection.d.ts +38 -0
- package/dist/lib/models/volumes/v4/config/IscsiClientProjection.js +255 -0
- package/dist/lib/models/volumes/v4/config/IscsiFeatures.d.ts +60 -0
- package/dist/lib/models/volumes/v4/config/IscsiFeatures.js +278 -0
- package/dist/lib/models/volumes/v4/config/ListCategoryAssociationsApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/ListCategoryAssociationsApiResponse.js +333 -0
- package/dist/lib/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/ListExternalIscsiAttachmentsApiResponse.js +338 -0
- package/dist/lib/models/volumes/v4/config/ListIscsiClientsApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/ListIscsiClientsApiResponse.js +338 -0
- package/dist/lib/models/volumes/v4/config/ListVmAttachmentsApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/ListVmAttachmentsApiResponse.js +338 -0
- package/dist/lib/models/volumes/v4/config/ListVolumeDisksApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/ListVolumeDisksApiResponse.js +338 -0
- package/dist/lib/models/volumes/v4/config/ListVolumeGroupsApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/ListVolumeGroupsApiResponse.js +338 -0
- package/dist/lib/models/volumes/v4/config/MigrateVolumeGroupApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/MigrateVolumeGroupApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/NvmfClient.d.ts +56 -0
- package/dist/lib/models/volumes/v4/config/NvmfClient.js +308 -0
- package/dist/lib/models/volumes/v4/config/NvmfClientAttachment.d.ts +32 -0
- package/dist/lib/models/volumes/v4/config/NvmfClientAttachment.js +228 -0
- package/dist/lib/models/volumes/v4/config/NvmfClientAttachmentProjection.d.ts +31 -0
- package/dist/lib/models/volumes/v4/config/NvmfClientAttachmentProjection.js +225 -0
- package/dist/lib/models/volumes/v4/config/NvmfClientProjection.d.ts +33 -0
- package/dist/lib/models/volumes/v4/config/NvmfClientProjection.js +229 -0
- package/dist/lib/models/volumes/v4/config/PauseVolumeGroupSynchronousReplicationApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/PauseVolumeGroupSynchronousReplicationApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/ResumeVolumeGroupSynchronousReplicationApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/ResumeVolumeGroupSynchronousReplicationApiResponse.js +313 -0
- package/dist/lib/models/volumes/v4/config/RevertSpec.d.ts +60 -0
- package/dist/lib/models/volumes/v4/config/RevertSpec.js +250 -0
- package/dist/lib/models/volumes/v4/config/RevertVolumeGroupApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/RevertVolumeGroupApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/SharingStatus.d.ts +19 -0
- package/dist/lib/models/volumes/v4/config/SharingStatus.js +85 -0
- package/dist/lib/models/volumes/v4/config/StorageFeatures.d.ts +48 -0
- package/dist/lib/models/volumes/v4/config/StorageFeatures.js +240 -0
- package/dist/lib/models/volumes/v4/config/TargetParam.d.ts +64 -0
- package/dist/lib/models/volumes/v4/config/TargetParam.js +284 -0
- package/dist/lib/models/volumes/v4/config/Task.d.ts +50 -0
- package/dist/lib/models/volumes/v4/config/Task.js +245 -0
- package/dist/lib/models/volumes/v4/config/UpdateIscsiClientApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/UpdateIscsiClientApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/UpdateVolumeDiskApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/UpdateVolumeDiskApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupMetadataApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupMetadataApiResponse.js +313 -0
- package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupMetadataInfoApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/config/UpdateVolumeGroupMetadataInfoApiResponse.js +313 -0
- package/dist/lib/models/volumes/v4/config/UsageType.d.ts +19 -0
- package/dist/lib/models/volumes/v4/config/UsageType.js +97 -0
- package/dist/lib/models/volumes/v4/config/VmAttachment.d.ts +32 -0
- package/dist/lib/models/volumes/v4/config/VmAttachment.js +225 -0
- package/dist/lib/models/volumes/v4/config/VmAttachmentProjection.d.ts +9 -0
- package/dist/lib/models/volumes/v4/config/VmAttachmentProjection.js +129 -0
- package/dist/lib/models/volumes/v4/config/VolumeDisk.d.ts +92 -0
- package/dist/lib/models/volumes/v4/config/VolumeDisk.js +433 -0
- package/dist/lib/models/volumes/v4/config/VolumeDiskProjection.d.ts +9 -0
- package/dist/lib/models/volumes/v4/config/VolumeDiskProjection.js +131 -0
- package/dist/lib/models/volumes/v4/config/VolumeGroup.d.ts +166 -0
- package/dist/lib/models/volumes/v4/config/VolumeGroup.js +697 -0
- package/dist/lib/models/volumes/v4/config/VolumeGroupAttachmentSite.d.ts +19 -0
- package/dist/lib/models/volumes/v4/config/VolumeGroupAttachmentSite.js +85 -0
- package/dist/lib/models/volumes/v4/config/VolumeGroupMetadata.d.ts +62 -0
- package/dist/lib/models/volumes/v4/config/VolumeGroupMetadata.js +284 -0
- package/dist/lib/models/volumes/v4/config/VolumeGroupMetadataProjection.d.ts +9 -0
- package/dist/lib/models/volumes/v4/config/VolumeGroupMetadataProjection.js +129 -0
- package/dist/lib/models/volumes/v4/config/VolumeGroupProjection.d.ts +53 -0
- package/dist/lib/models/volumes/v4/config/VolumeGroupProjection.js +314 -0
- package/dist/lib/models/volumes/v4/error/AppMessage.d.ts +108 -0
- package/dist/lib/models/volumes/v4/error/AppMessage.js +432 -0
- package/dist/lib/models/volumes/v4/error/ErrorResponse.d.ts +48 -0
- package/dist/lib/models/volumes/v4/error/ErrorResponse.js +314 -0
- package/dist/lib/models/volumes/v4/error/SchemaValidationError.d.ts +98 -0
- package/dist/lib/models/volumes/v4/error/SchemaValidationError.js +407 -0
- package/dist/lib/models/volumes/v4/error/SchemaValidationErrorMessage.d.ts +74 -0
- package/dist/lib/models/volumes/v4/error/SchemaValidationErrorMessage.js +318 -0
- package/dist/lib/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/stats/GetVolumeDiskStatsApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.d.ts +59 -0
- package/dist/lib/models/volumes/v4/stats/GetVolumeGroupStatsApiResponse.js +311 -0
- package/dist/lib/models/volumes/v4/stats/TimeValuePair.d.ts +62 -0
- package/dist/lib/models/volumes/v4/stats/TimeValuePair.js +279 -0
- package/dist/lib/models/volumes/v4/stats/VolumeDiskStats.d.ts +170 -0
- package/dist/lib/models/volumes/v4/stats/VolumeDiskStats.js +728 -0
- package/dist/lib/models/volumes/v4/stats/VolumeGroupStats.d.ts +170 -0
- package/dist/lib/models/volumes/v4/stats/VolumeGroupStats.js +728 -0
- package/dist/lib/models/volumes/v4/stats/VolumeGroupStatsProjection.d.ts +9 -0
- package/dist/lib/models/volumes/v4/stats/VolumeGroupStatsProjection.js +130 -0
- package/dist/lib/utils/ValidationUtils.d.ts +13 -0
- package/dist/lib/utils/ValidationUtils.js +85 -0
- package/package.json +53 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The EntityReference model module.
|
|
3
|
+
* @module Ntnx/EntityReference
|
|
4
|
+
* @version 4.0.1-beta-1
|
|
5
|
+
* @class EntityReference
|
|
6
|
+
*/
|
|
7
|
+
export default class EntityReference {
|
|
8
|
+
/**
|
|
9
|
+
* Constructs a <code>EntityReference</code> from a plain JavaScript object, optionally creating a new instance.
|
|
10
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
11
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
12
|
+
* @param {module:Ntnx/EntityReference} obj Optional instance to populate.
|
|
13
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
14
|
+
* @return {module:Ntnx/EntityReference} The populated <code>EntityReference</code> instance.
|
|
15
|
+
*/
|
|
16
|
+
static constructFromObject(data: any, obj: any, callFromChild?: boolean): any;
|
|
17
|
+
$objectType: string;
|
|
18
|
+
$reserved: {
|
|
19
|
+
$fv: string;
|
|
20
|
+
};
|
|
21
|
+
$unknownFields: {};
|
|
22
|
+
/**
|
|
23
|
+
* @return {}
|
|
24
|
+
*/
|
|
25
|
+
getExtId(): any;
|
|
26
|
+
/**
|
|
27
|
+
* @param {} extId
|
|
28
|
+
*/
|
|
29
|
+
setExtId(extId: any): void;
|
|
30
|
+
extId: any;
|
|
31
|
+
/**
|
|
32
|
+
* @return {}
|
|
33
|
+
*/
|
|
34
|
+
getName(): any;
|
|
35
|
+
/**
|
|
36
|
+
* @param {} name
|
|
37
|
+
*/
|
|
38
|
+
setName(name: any): void;
|
|
39
|
+
name: any;
|
|
40
|
+
/**
|
|
41
|
+
* @return {}
|
|
42
|
+
*/
|
|
43
|
+
getUris(): any;
|
|
44
|
+
/**
|
|
45
|
+
* @param {} uris
|
|
46
|
+
*/
|
|
47
|
+
setUris(uris: any): void;
|
|
48
|
+
uris: any;
|
|
49
|
+
/**
|
|
50
|
+
* @return {}
|
|
51
|
+
*/
|
|
52
|
+
getEntityType(): any;
|
|
53
|
+
/**
|
|
54
|
+
* @param {} entityType
|
|
55
|
+
*/
|
|
56
|
+
setEntityType(entityType: any): void;
|
|
57
|
+
entityType: any;
|
|
58
|
+
get$Reserved(): {
|
|
59
|
+
$fv: string;
|
|
60
|
+
};
|
|
61
|
+
get$ObjectType(): string;
|
|
62
|
+
get$UnknownFields(): {};
|
|
63
|
+
toJson(forMutation: any): {
|
|
64
|
+
$reserved: {
|
|
65
|
+
$fv: string;
|
|
66
|
+
};
|
|
67
|
+
$objectType: string;
|
|
68
|
+
$unknownFields: {};
|
|
69
|
+
entityType?: any;
|
|
70
|
+
uris?: any;
|
|
71
|
+
name?: any;
|
|
72
|
+
extId?: any;
|
|
73
|
+
};
|
|
74
|
+
validate(scope: any, properties: any, ...args: any[]): Promise<any>;
|
|
75
|
+
validateProperty(scope: any, property: any): ValidationError;
|
|
76
|
+
#private;
|
|
77
|
+
}
|
|
78
|
+
import ValidationError from "../../../validation/ValidationError";
|
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _EntityType = _interopRequireDefault(require("./EntityType"));
|
|
8
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
9
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
10
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
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); }
|
|
13
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
14
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
15
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
16
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
17
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
18
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
19
|
+
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; }
|
|
20
|
+
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; }
|
|
21
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
26
|
+
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); }
|
|
27
|
+
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
28
|
+
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } } /*
|
|
29
|
+
* Nutanix Volumes Versioned APIs
|
|
30
|
+
*
|
|
31
|
+
* OpenAPI spec version: 4.0.1-beta-1
|
|
32
|
+
*
|
|
33
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
34
|
+
*
|
|
35
|
+
* Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
|
|
36
|
+
*
|
|
37
|
+
* Do not edit the class manually.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
/**
|
|
41
|
+
* The EntityReference model module.
|
|
42
|
+
* @module Ntnx/EntityReference
|
|
43
|
+
* @version 4.0.1-beta-1
|
|
44
|
+
* @class EntityReference
|
|
45
|
+
*/
|
|
46
|
+
var _EntityReference_brand = /*#__PURE__*/new WeakSet();
|
|
47
|
+
var EntityReference = exports["default"] = /*#__PURE__*/function () {
|
|
48
|
+
/**
|
|
49
|
+
* Constructs a new <code>EntityReference</code>.
|
|
50
|
+
* @alias module:Ntnx/EntityReference
|
|
51
|
+
*/
|
|
52
|
+
function EntityReference() {
|
|
53
|
+
_classCallCheck(this, EntityReference);
|
|
54
|
+
/*
|
|
55
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
56
|
+
* @param {Object} obj
|
|
57
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
58
|
+
* Otherwise, just returns the input object.
|
|
59
|
+
*/
|
|
60
|
+
_classPrivateMethodInitSpec(this, _EntityReference_brand);
|
|
61
|
+
this.$objectType = "common.v1.config.EntityReference";
|
|
62
|
+
this.$reserved = {
|
|
63
|
+
'$fv': "v1.r0.b1"
|
|
64
|
+
};
|
|
65
|
+
this.$unknownFields = {};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Constructs a <code>EntityReference</code> from a plain JavaScript object, optionally creating a new instance.
|
|
70
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
71
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
72
|
+
* @param {module:Ntnx/EntityReference} obj Optional instance to populate.
|
|
73
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
74
|
+
* @return {module:Ntnx/EntityReference} The populated <code>EntityReference</code> instance.
|
|
75
|
+
*/
|
|
76
|
+
return _createClass(EntityReference, [{
|
|
77
|
+
key: "getExtId",
|
|
78
|
+
value:
|
|
79
|
+
/**
|
|
80
|
+
* @return {}
|
|
81
|
+
*/
|
|
82
|
+
function getExtId() {
|
|
83
|
+
return this.extId;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @param {} extId
|
|
88
|
+
*/
|
|
89
|
+
}, {
|
|
90
|
+
key: "setExtId",
|
|
91
|
+
value: function setExtId(extId) {
|
|
92
|
+
this.extId = extId;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @return {}
|
|
97
|
+
*/
|
|
98
|
+
}, {
|
|
99
|
+
key: "getName",
|
|
100
|
+
value: function getName() {
|
|
101
|
+
return this.name;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @param {} name
|
|
106
|
+
*/
|
|
107
|
+
}, {
|
|
108
|
+
key: "setName",
|
|
109
|
+
value: function setName(name) {
|
|
110
|
+
this.name = name;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @return {}
|
|
115
|
+
*/
|
|
116
|
+
}, {
|
|
117
|
+
key: "getUris",
|
|
118
|
+
value: function getUris() {
|
|
119
|
+
return this.uris;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @param {} uris
|
|
124
|
+
*/
|
|
125
|
+
}, {
|
|
126
|
+
key: "setUris",
|
|
127
|
+
value: function setUris(uris) {
|
|
128
|
+
this.uris = uris;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @return {}
|
|
133
|
+
*/
|
|
134
|
+
}, {
|
|
135
|
+
key: "getEntityType",
|
|
136
|
+
value: function getEntityType() {
|
|
137
|
+
return this.entityType;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @param {} entityType
|
|
142
|
+
*/
|
|
143
|
+
}, {
|
|
144
|
+
key: "setEntityType",
|
|
145
|
+
value: function setEntityType(entityType) {
|
|
146
|
+
this.entityType = entityType;
|
|
147
|
+
}
|
|
148
|
+
}, {
|
|
149
|
+
key: "get$Reserved",
|
|
150
|
+
value: function get$Reserved() {
|
|
151
|
+
return this.$reserved;
|
|
152
|
+
}
|
|
153
|
+
}, {
|
|
154
|
+
key: "get$ObjectType",
|
|
155
|
+
value: function get$ObjectType() {
|
|
156
|
+
return this.$objectType;
|
|
157
|
+
}
|
|
158
|
+
}, {
|
|
159
|
+
key: "get$UnknownFields",
|
|
160
|
+
value: function get$UnknownFields() {
|
|
161
|
+
return this.$unknownFields;
|
|
162
|
+
}
|
|
163
|
+
}, {
|
|
164
|
+
key: "toJson",
|
|
165
|
+
value: function toJson(forMutation) {
|
|
166
|
+
if (forMutation === false) {
|
|
167
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
168
|
+
'extId': this.getExtId()
|
|
169
|
+
} : {}), typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
170
|
+
'name': this.getName()
|
|
171
|
+
} : {}), typeof this.getUris() !== 'undefined' && this.getUris() !== null ? {
|
|
172
|
+
'uris': this.getUris()
|
|
173
|
+
} : {}), typeof this.getEntityType() !== 'undefined' && this.getEntityType() !== null ? {
|
|
174
|
+
'entityType': this.getEntityType()
|
|
175
|
+
} : {}), {}, {
|
|
176
|
+
'$reserved': this.get$Reserved(),
|
|
177
|
+
'$objectType': this.get$ObjectType(),
|
|
178
|
+
'$unknownFields': this.get$UnknownFields()
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
182
|
+
'extId': this.getExtId()
|
|
183
|
+
} : {}), typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
184
|
+
'name': this.getName()
|
|
185
|
+
} : {}), typeof this.getUris() !== 'undefined' && this.getUris() !== null ? {
|
|
186
|
+
'uris': this.getUris()
|
|
187
|
+
} : {}), typeof this.getEntityType() !== 'undefined' && this.getEntityType() !== null ? {
|
|
188
|
+
'entityType': this.getEntityType()
|
|
189
|
+
} : {}), {}, {
|
|
190
|
+
'$reserved': this.get$Reserved(),
|
|
191
|
+
'$objectType': this.get$ObjectType(),
|
|
192
|
+
'$unknownFields': this.get$UnknownFields()
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
}, {
|
|
196
|
+
key: "validate",
|
|
197
|
+
value: function validate(scope, properties) {
|
|
198
|
+
var _this = this;
|
|
199
|
+
var propList = [];
|
|
200
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
|
|
201
|
+
//cases validate() and validate(scope)
|
|
202
|
+
propList = [];
|
|
203
|
+
} else if (arguments.length === 1) {
|
|
204
|
+
//case validate(properties)
|
|
205
|
+
propList = arguments[0];
|
|
206
|
+
scope = null;
|
|
207
|
+
} else {
|
|
208
|
+
//case validate(scope, properties)
|
|
209
|
+
propList = arguments[1];
|
|
210
|
+
}
|
|
211
|
+
var res = [];
|
|
212
|
+
var err = null;
|
|
213
|
+
propList.forEach(function (property) {
|
|
214
|
+
err = _this.validateProperty(property, scope);
|
|
215
|
+
if (err) {
|
|
216
|
+
res.push(err);
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
return new Promise(function (resolve, reject) {
|
|
220
|
+
if (res.length !== 0) {
|
|
221
|
+
reject(err);
|
|
222
|
+
} else {
|
|
223
|
+
resolve();
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
}, {
|
|
228
|
+
key: "validateProperty",
|
|
229
|
+
value: function validateProperty(scope, property) {
|
|
230
|
+
if (property === "extId") {
|
|
231
|
+
if (typeof this.extId === 'undefined' || this.extId === null) {
|
|
232
|
+
return new _ValidationError["default"]("extId", "undefined or null");
|
|
233
|
+
}
|
|
234
|
+
if (!_ValidationUtils["default"].validatePattern(this.extId, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
235
|
+
return new _ValidationError["default"]("extId", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
if (property === "name") {
|
|
239
|
+
if (typeof this.name === 'undefined' || this.name === null) {
|
|
240
|
+
return new _ValidationError["default"]("name", "undefined or null");
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
if (property === "uris") {
|
|
244
|
+
if (typeof this.uris === 'undefined' || this.uris === null) {
|
|
245
|
+
return new _ValidationError["default"]("uris", "undefined or null");
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
if (property === "entityType") {
|
|
249
|
+
if (typeof this.entityType === 'undefined' || this.entityType === null) {
|
|
250
|
+
return new _ValidationError["default"]("entityType", "undefined or null");
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
if (property === "$reserved") {
|
|
254
|
+
if (typeof this.$reserved === 'undefined' || this.$reserved === null) {
|
|
255
|
+
return new _ValidationError["default"]("$reserved", "undefined or null");
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
if (property === "$objectType") {
|
|
259
|
+
if (typeof this.$objectType === 'undefined' || this.$objectType === null) {
|
|
260
|
+
return new _ValidationError["default"]("$objectType", "undefined or null");
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
if (property === "$unknownFields") {
|
|
264
|
+
if (typeof this.$unknownFields === 'undefined' || this.$unknownFields === null) {
|
|
265
|
+
return new _ValidationError["default"]("$unknownFields", "undefined or null");
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
return new _ValidationError["default"](property, "no such property exists");
|
|
269
|
+
}
|
|
270
|
+
}], [{
|
|
271
|
+
key: "constructFromObject",
|
|
272
|
+
value: function constructFromObject(data, obj) {
|
|
273
|
+
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
274
|
+
var items, item, i, itemArr, discriminator;
|
|
275
|
+
if (data) {
|
|
276
|
+
obj = obj || new EntityReference();
|
|
277
|
+
if (data.hasOwnProperty('extId') && data.extId !== null && data.extId !== undefined) {
|
|
278
|
+
obj.setExtId(data['extId']);
|
|
279
|
+
}
|
|
280
|
+
if (data.hasOwnProperty('name') && data.name !== null && data.name !== undefined) {
|
|
281
|
+
obj.setName(data['name']);
|
|
282
|
+
}
|
|
283
|
+
if (data.hasOwnProperty('uris') && data.uris !== null && data.uris !== undefined) {
|
|
284
|
+
itemArr = [];
|
|
285
|
+
items = data.uris;
|
|
286
|
+
for (i = 0; i < items.length; i++) {
|
|
287
|
+
itemArr.push(items[i]);
|
|
288
|
+
}
|
|
289
|
+
obj.setUris(itemArr);
|
|
290
|
+
}
|
|
291
|
+
if (data.hasOwnProperty('entityType') && data.entityType !== null && data.entityType !== undefined) {
|
|
292
|
+
obj.setEntityType(_EntityType["default"].constructFromObject(data['entityType']));
|
|
293
|
+
}
|
|
294
|
+
if (data.hasOwnProperty('$reserved')) {
|
|
295
|
+
obj.$reserved = data['$reserved'];
|
|
296
|
+
}
|
|
297
|
+
if (data.hasOwnProperty('$objectType')) {
|
|
298
|
+
obj.$objectType = data['$objectType'];
|
|
299
|
+
}
|
|
300
|
+
if (data.hasOwnProperty('$unknownFields')) {
|
|
301
|
+
obj.$unknownFields = data['$unknownFields'];
|
|
302
|
+
}
|
|
303
|
+
if (!callFromChild) {
|
|
304
|
+
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
305
|
+
for (var property in data) {
|
|
306
|
+
if (!Object.keys(obj).includes(property) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
307
|
+
obj.$unknownFields[property] = data[property];
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
return obj;
|
|
313
|
+
}
|
|
314
|
+
}]);
|
|
315
|
+
}();
|
|
316
|
+
/**
|
|
317
|
+
* @memberof EntityReference
|
|
318
|
+
*/
|
|
319
|
+
function _toJsonMapType(obj, forMutation) {
|
|
320
|
+
if (obj instanceof Map) {
|
|
321
|
+
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
322
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
323
|
+
k = _ref2[0],
|
|
324
|
+
v = _ref2[1];
|
|
325
|
+
return [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v];
|
|
326
|
+
}));
|
|
327
|
+
} else if (_typeof(obj) === 'object' && obj != null && obj.constructor === Object) {
|
|
328
|
+
return Object.fromEntries(Array.from(Object.entries(obj), function (entry) {
|
|
329
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
330
|
+
}));
|
|
331
|
+
}
|
|
332
|
+
return obj;
|
|
333
|
+
}
|
|
334
|
+
EntityReference.prototype.extId = undefined;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* @memberof EntityReference
|
|
338
|
+
*/
|
|
339
|
+
EntityReference.prototype.name = undefined;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* @memberof EntityReference
|
|
343
|
+
*/
|
|
344
|
+
EntityReference.prototype.uris = undefined;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* @memberof EntityReference
|
|
348
|
+
*/
|
|
349
|
+
EntityReference.prototype.entityType = undefined;
|
|
350
|
+
EntityReference.prototype.$reserved = undefined;
|
|
351
|
+
EntityReference.prototype.$objectType = undefined;
|
|
352
|
+
EntityReference.prototype.$unknownFields = undefined;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default EntityType;
|
|
2
|
+
/**
|
|
3
|
+
* *
|
|
4
|
+
*/
|
|
5
|
+
type EntityType = string;
|
|
6
|
+
declare namespace EntityType {
|
|
7
|
+
/**
|
|
8
|
+
* Returns a <code>EntityType</code> enum value from a JavaScript object name.
|
|
9
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
10
|
+
* @return {EntityType} The enum <code>EntityType</code> value.
|
|
11
|
+
*/
|
|
12
|
+
function constructFromObject(obj: any): string;
|
|
13
|
+
/**
|
|
14
|
+
* Validates <code>EntityType</code> enum value.
|
|
15
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
16
|
+
* @return {null} Throws error for invalid value.
|
|
17
|
+
*/
|
|
18
|
+
function validate(obj: any): null;
|
|
19
|
+
}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
8
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
9
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
/*
|
|
12
|
+
* Nutanix Volumes Versioned APIs
|
|
13
|
+
*
|
|
14
|
+
* OpenAPI spec version: 4.0.1-beta-1
|
|
15
|
+
*
|
|
16
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
|
+
*
|
|
18
|
+
* Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
|
|
19
|
+
*
|
|
20
|
+
* Do not edit the class manually.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Enum class EntityType.
|
|
26
|
+
* @enum {string}
|
|
27
|
+
* @readonly
|
|
28
|
+
*/
|
|
29
|
+
var EntityType = {
|
|
30
|
+
/**
|
|
31
|
+
* value: "$UNKNOWN"
|
|
32
|
+
* @const
|
|
33
|
+
*/
|
|
34
|
+
$UNKNOWN: "$UNKNOWN",
|
|
35
|
+
/**
|
|
36
|
+
* value: "$REDACTED"
|
|
37
|
+
* @const
|
|
38
|
+
*/
|
|
39
|
+
$REDACTED: "$REDACTED",
|
|
40
|
+
/**
|
|
41
|
+
* value: "CLUSTER"
|
|
42
|
+
* @const
|
|
43
|
+
*/
|
|
44
|
+
CLUSTER: "CLUSTER",
|
|
45
|
+
/**
|
|
46
|
+
* value: "VM"
|
|
47
|
+
* @const
|
|
48
|
+
*/
|
|
49
|
+
VM: "VM",
|
|
50
|
+
/**
|
|
51
|
+
* value: "STORAGE_CONTAINER"
|
|
52
|
+
* @const
|
|
53
|
+
*/
|
|
54
|
+
STORAGE_CONTAINER: "STORAGE_CONTAINER",
|
|
55
|
+
/**
|
|
56
|
+
* value: "VOLUME_GROUP"
|
|
57
|
+
* @const
|
|
58
|
+
*/
|
|
59
|
+
VOLUME_GROUP: "VOLUME_GROUP",
|
|
60
|
+
/**
|
|
61
|
+
* value: "TASK"
|
|
62
|
+
* @const
|
|
63
|
+
*/
|
|
64
|
+
TASK: "TASK",
|
|
65
|
+
/**
|
|
66
|
+
* value: "IMAGE"
|
|
67
|
+
* @const
|
|
68
|
+
*/
|
|
69
|
+
IMAGE: "IMAGE",
|
|
70
|
+
/**
|
|
71
|
+
* value: "CATEGORY"
|
|
72
|
+
* @const
|
|
73
|
+
*/
|
|
74
|
+
CATEGORY: "CATEGORY",
|
|
75
|
+
/**
|
|
76
|
+
* value: "NODE"
|
|
77
|
+
* @const
|
|
78
|
+
*/
|
|
79
|
+
NODE: "NODE",
|
|
80
|
+
/**
|
|
81
|
+
* value: "VPC"
|
|
82
|
+
* @const
|
|
83
|
+
*/
|
|
84
|
+
VPC: "VPC",
|
|
85
|
+
/**
|
|
86
|
+
* value: "SUBNET"
|
|
87
|
+
* @const
|
|
88
|
+
*/
|
|
89
|
+
SUBNET: "SUBNET",
|
|
90
|
+
/**
|
|
91
|
+
* value: "ROUTING_POLICY"
|
|
92
|
+
* @const
|
|
93
|
+
*/
|
|
94
|
+
ROUTING_POLICY: "ROUTING_POLICY",
|
|
95
|
+
/**
|
|
96
|
+
* value: "FLOATING_IP"
|
|
97
|
+
* @const
|
|
98
|
+
*/
|
|
99
|
+
FLOATING_IP: "FLOATING_IP",
|
|
100
|
+
/**
|
|
101
|
+
* value: "VPN_GATEWAY"
|
|
102
|
+
* @const
|
|
103
|
+
*/
|
|
104
|
+
VPN_GATEWAY: "VPN_GATEWAY",
|
|
105
|
+
/**
|
|
106
|
+
* value: "VPN_CONNECTION"
|
|
107
|
+
* @const
|
|
108
|
+
*/
|
|
109
|
+
VPN_CONNECTION: "VPN_CONNECTION",
|
|
110
|
+
/**
|
|
111
|
+
* value: "DIRECT_CONNECT"
|
|
112
|
+
* @const
|
|
113
|
+
*/
|
|
114
|
+
DIRECT_CONNECT: "DIRECT_CONNECT",
|
|
115
|
+
/**
|
|
116
|
+
* value: "DIRECT_CONNECT_VIF"
|
|
117
|
+
* @const
|
|
118
|
+
*/
|
|
119
|
+
DIRECT_CONNECT_VIF: "DIRECT_CONNECT_VIF",
|
|
120
|
+
/**
|
|
121
|
+
* value: "VIRTUAL_NIC"
|
|
122
|
+
* @const
|
|
123
|
+
*/
|
|
124
|
+
VIRTUAL_NIC: "VIRTUAL_NIC",
|
|
125
|
+
/**
|
|
126
|
+
* value: "VIRTUAL_SWITCH"
|
|
127
|
+
* @const
|
|
128
|
+
*/
|
|
129
|
+
VIRTUAL_SWITCH: "VIRTUAL_SWITCH",
|
|
130
|
+
/**
|
|
131
|
+
* value: "VM_DISK"
|
|
132
|
+
* @const
|
|
133
|
+
*/
|
|
134
|
+
VM_DISK: "VM_DISK",
|
|
135
|
+
/**
|
|
136
|
+
* value: "VOLUME_DISK"
|
|
137
|
+
* @const
|
|
138
|
+
*/
|
|
139
|
+
VOLUME_DISK: "VOLUME_DISK",
|
|
140
|
+
/**
|
|
141
|
+
* value: "DISK_RECOVERY_POINT"
|
|
142
|
+
* @const
|
|
143
|
+
*/
|
|
144
|
+
DISK_RECOVERY_POINT: "DISK_RECOVERY_POINT",
|
|
145
|
+
/**
|
|
146
|
+
* value: "VTEP_GATEWAY"
|
|
147
|
+
* @const
|
|
148
|
+
*/
|
|
149
|
+
VTEP_GATEWAY: "VTEP_GATEWAY"
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Returns a <code>EntityType</code> enum value from a JavaScript object name.
|
|
154
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
155
|
+
* @return {EntityType} The enum <code>EntityType</code> value.
|
|
156
|
+
*/
|
|
157
|
+
EntityType.constructFromObject = function (obj) {
|
|
158
|
+
if (typeof obj === 'string' || obj instanceof String) {
|
|
159
|
+
var enumVal = Object.keys(EntityType).find(function (key) {
|
|
160
|
+
return EntityType[key] === obj;
|
|
161
|
+
});
|
|
162
|
+
return enumVal === undefined || enumVal === null ? EntityType.$UNKNOWN : EntityType[enumVal];
|
|
163
|
+
} else {
|
|
164
|
+
throw new Error("Received object name is not an instance of String");
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Validates <code>EntityType</code> enum value.
|
|
170
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
171
|
+
* @return {null} Throws error for invalid value.
|
|
172
|
+
*/
|
|
173
|
+
EntityType.validate = function (obj) {
|
|
174
|
+
switch (obj) {
|
|
175
|
+
case EntityType.$UNKNOWN:
|
|
176
|
+
case EntityType.$REDACTED:
|
|
177
|
+
case EntityType.CLUSTER:
|
|
178
|
+
case EntityType.VM:
|
|
179
|
+
case EntityType.STORAGE_CONTAINER:
|
|
180
|
+
case EntityType.VOLUME_GROUP:
|
|
181
|
+
case EntityType.TASK:
|
|
182
|
+
case EntityType.IMAGE:
|
|
183
|
+
case EntityType.CATEGORY:
|
|
184
|
+
case EntityType.NODE:
|
|
185
|
+
case EntityType.VPC:
|
|
186
|
+
case EntityType.SUBNET:
|
|
187
|
+
case EntityType.ROUTING_POLICY:
|
|
188
|
+
case EntityType.FLOATING_IP:
|
|
189
|
+
case EntityType.VPN_GATEWAY:
|
|
190
|
+
case EntityType.VPN_CONNECTION:
|
|
191
|
+
case EntityType.DIRECT_CONNECT:
|
|
192
|
+
case EntityType.DIRECT_CONNECT_VIF:
|
|
193
|
+
case EntityType.VIRTUAL_NIC:
|
|
194
|
+
case EntityType.VIRTUAL_SWITCH:
|
|
195
|
+
case EntityType.VM_DISK:
|
|
196
|
+
case EntityType.VOLUME_DISK:
|
|
197
|
+
case EntityType.DISK_RECOVERY_POINT:
|
|
198
|
+
case EntityType.VTEP_GATEWAY:
|
|
199
|
+
return;
|
|
200
|
+
default:
|
|
201
|
+
throw new Error("Invalid : must be EntityType.{ $UNKNOWN|$REDACTED|CLUSTER|VM|STORAGE_CONTAINER|VOLUME_GROUP|TASK|IMAGE|CATEGORY|NODE|VPC|SUBNET|ROUTING_POLICY|FLOATING_IP|VPN_GATEWAY|VPN_CONNECTION|DIRECT_CONNECT|DIRECT_CONNECT_VIF|VIRTUAL_NIC|VIRTUAL_SWITCH|VM_DISK|VOLUME_DISK|DISK_RECOVERY_POINT|VTEP_GATEWAY }");
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
Object.freeze(EntityType);
|
|
205
|
+
var _default = exports["default"] = EntityType;
|