Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs 菜单
Docs 主页
/ /
Atlas CLI
/ / /

atlas api collectionLevelMetrics getPinnedNamespaces

实验:返回给定集群的固定命名空间的列表,这是用户手动选择的用于收集查询延迟指标的一设立命名空间。

此命令正在调用 OperationID 为“getPinnedNamespaces”的端点。有关标志、文件格式和示例的更多信息,请参阅:https://www.mongodb.com/zh-cn/docs/atlas/reference/api-resources-spec/v2/#标签/Collection-Level-Metrics/operation/getPinnedNamespaces

命令语法
atlas api collectionLevelMetrics getPinnedNamespaces [options]
名称
类型
必需
说明

--clusterName

字符串

true

人类可读标签,用于标识要检索固定命名空间的集群

--envelope

false

标志,指示应用程序是否将响应包装在信封JSON对象中

--groupId

字符串

true

用于标识项目的唯一 24-十六进制数字字符串

-h,--help

false

getPinnedNamespaces 帮助

--output

字符串

false

首选API格式,可以是 ["JSON", go-template] 此值默认为 "JSON"。

--output-file

字符串

false

要将API输出写入其中的文件。 当端点的输出为二进制(例如:gzip)且命令未通过管道传输(例如: Atlas command > out.zip)时,需要使用此标志

--version

字符串

false

进行API调用时要使用的API版本 [选项:"2023-11-15"],默认为最新版本或配置文件 api_version 配置值(如果设立了此值),默认为 "2023-11-15"。

名称
类型
必需
说明

-P, --profile

字符串

false

后退

getCollStatsLatencyNamespacesForHost

在此页面上