Docs Menu
Docs Home
/ /
MongoDB Command Line Interface
/ / / / /

mongocli ops-manager serverUsage organizations hosts list

On this page

  • Syntax
  • Options
  • Inherited Options

List all host assignments for one organization.

mongocli ops-manager serverUsage organizations hosts list [options]
Name
Type
Required
Description
--endDate
string
true
Timestamp in ISO 8601 date format when the list of host assignments ends.
-h, --help
false
help for list
--limit
int
false
Number of items per page.
--orgId
string
false
Organization ID to use. Overrides configuration file or environment variable settings.
-o, --output
string
false
Output format. Valid values: json|json-path|go-template|go-template-file
--page
int
false
Page number.
--startDate
string
true
Timestamp in ISO 8601 date format when the list of host assignments starts.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.

Auto generated by MongoDB CLI on 29-Jun-2021

Back

hosts