对于 AI 代理:可在 https://www.mongodb.com/zh-cn/docs/llms.txt 获取文档索引—通过在任何 URL 路径后添加 .md 可获取所有页面的 Markdown 版本。
See how MongoDB 9.0 delivers up to 2x higher throughput.
MongoDB Branding Shape
Register now >
Docs 菜单

Atlas api 发票 getOrgInvoiceReport

返回之前请求的发票报告的状态和详情。

atlas api 子命令是从 MongoDB Atlas Admin API 自动生成的,并提供对 Admin API 的全面覆盖。Admin API功能有自己的发布生命周期,您可以通过提供的API终结点文档链接进行检查。

此命令是自动生成的,对应 1:1 与Atlas API端点 https://www.mongodb.com/zh-cn/docs/api/doc/atlas-admin-api-v2/operation/operation-getorginvoicereport.

有关更多信息和示例,请参阅上面链接的参考API文档。

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

-h,--help

false

getOrgInvoiceReport 帮助

--invoiceId

字符串

true

唯一字符串,用于标识为其生成报告的发票。

--orgId

/orgs

true

唯一的 24-十六进制数字字符串,用于标识包含项目的组织。 使用 [/orgs](# 标签/Organizations/operation/listOrganizations) 端点检索身份验证的用户有权访问权限的所有组织。

-o, --output

字符串

false

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

--outputFile

字符串

false

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

--reportId

字符串

true

标识要检索的报告的唯一字符串。

--version

字符串

false

调用 Atlas API 终结点时要使用的 API 版本 [选项:"2025-03-12"]。如果用户未设置,则默认为最新版本,或者如果已设置了配置文件的 api_version 值,则默认为该值。此值默认为 "2025-03-12"。

名称
类型
必需
说明

-P, --profile

字符串

false

要从您的配置文件中使用的配置文件的名称。要学习;了解Atlas CLI配置文件,请参阅 https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.

atlas api invoices getOrgInvoiceReport --version 2025-03-12 --invoiceId [invoiceId] --orgId 4888442a3354817a7320eb61 --reportId [reportId]
给本页内容打分