API の可用性
Zilliz Cloudは、より良いユーザーエクスペリエンスを提供するために、Milvusとはやや異なる方法で動作します。この記事では、APIに関する2つのプラットフォームの違いを明確にすることを目的としています。
MilvusからZilliz Cloudへの移行を計画している場合は、レガシーコードに必要な変更を加える必要があります。
シナリオ固有の権限
以下の表では、さまざまなサービスレベルでのAPIの可用性を比較しています。Bring Your Own Cloud (BYOC) ソリューションのAPIの可用性は、StandardおよびEnterpriseレベルと一致しています。
カテゴリー | API | Console | Free | Serverless | Dedicated |
---|---|---|---|---|---|
Alias | alterAlias() | ✘ | ✔︎ | ✔︎ | ✔︎ |
createAlias() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
dropAlias() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
describeAlias() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
listAliases() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
Authentication | createCredential() | ✔︎ | ✘ | ✘ | ✔︎ |
deleteCredential() | ✔︎ | ✘ | ✘ | ✔︎ | |
listCredUsers() | ✔︎ | ✘ | ✘ | ✔︎ | |
updateCredential() | ✔︎ | ✘ | ✘ | ✔︎ | |
BulkInsert | bulkInsert() | ✔︎ | ✘ | ✘ | ✘ |
getBulkInsertState() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
listBulkInsertTasks() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
Collection | getCollectionStatistics() | ✘ | ✔︎ | ✔︎ | ✔︎ |
createCollection() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
describeCollection() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
dropCollection() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
alterCollection() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
getLoadingProgress() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
getPersistentSgementInfo() | ✘ | ✘ | ✘ | ✘ | |
getQuerySegmentInfo() | ✘ | ✘ | ✘ | ✘ | |
getReplicas() | ✘ | ✘ | ✘ | ✘ | |
insert() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
loadCollection() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
releaseCollection() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
showCollections() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
getLoadState() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
renameCollection() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
upsert() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
Database | ListDatabases | ✔︎ | ✘ | ✘ | ✔︎ |
DropDatabase | ✔︎ | ✘ | ✘ | ✔︎ | |
CreateDatabase | ✔︎ | ✘ | ✘ | ✔︎ | |
Index | createIndex() | ✔︎ | ✔︎ | ✔︎ | ✔︎ |
describeIndex() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
dropIndex() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
getIndexBuildProgress() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
getIndexState() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
Management | getCompactionState() | ✘ | ✔︎ | ✔︎ | ✔︎ |
getCompactionStateWithPlan() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
getFlushState() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
getMetrics() | ✘ | ✘ | ✘ | ✘ | |
loadBalance() | ✘ | ✘ | ✘ | ✘ | |
manualCompact() | ✘ | ✘ | ✘ | ✔︎ | |
Partition | createPartition() | ✘ | ✔︎ | ✔︎ | ✔︎ |
dropPartition() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
getPartitionStatistics() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
hasPartiotion() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
loadPartitions() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
releasePartitions() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
showPartitions() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
Search & Query | search() | ✔︎ | ✔︎ | ✔︎ | ✔︎ |
query() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
Role-based access control (RBAC) | addUserToRole() | ✔︎ | ✘ | ✘ | ✔︎ |
createRole() | ✔︎ | ✘ | ✘ | ✔︎ | |
dropRole() | ✔︎ | ✘ | ✘ | ✔︎ | |
grantRolePrivilege() | ✘ | ✘ | ✘ | ✘ | |
removeUserFromRole() | ✔︎ | ✘ | ✘ | ✔︎ | |
revokeRolePrivilege() | ✘ | ✘ | ✘ | ✘ | |
selectGrantForRole() | ✔︎ | ✘ | ✘ | ✔︎ | |
selectGrantForRoleAndObject() | ✘ | ✘ | ✘ | ✔︎ | |
selectRole() | ✔︎ | ✘ | ✘ | ✔︎ | |
selectUser() | ✔︎ | ✘ | ✘ | ✔︎ | |
grantPrivilegeV2() | ✔︎ | ✘ | ✘ | ✔︎ | |
revokePrivilegeV2 | ✔︎ | ✘ | ✘ | ✔︎ | |
System | getVersion() | ✔︎ | ✔︎ | ✔︎ | ✔︎ |
checkHealth() | ✘ | ✔︎ | ✔︎ | ✔︎ |