定義
sh.removeShardTag(shard, tag)注意
このメソッドは
sh.removeShardFromZone()のエイリアスになります。 MongoDB は、タグ対応シャーディングの継承としてゾーン シャーディングを提供します。Removes the association between a tag and a shard. Only issue
sh.removeShardTag()when connected to amongosinstance.Parameterタイプ説明shardstring
タグを削除するシャードの名前。
tagstring
シャードから削除するタグの名前。
互換性
このメソッドは、次の環境でホストされている配置で使用できます。
- MongoDB Atlas: The fully managed service for MongoDB deployments in the cloud
重要
This command is not supported in M0 and Flex clusters. For more information, see Unsupported Commands.
MongoDB Enterprise: サブスクリプションベースの自己管理型 MongoDB バージョン
MongoDB Community: ソースが利用可能で、無料で使用できる自己管理型の MongoDB のバージョン