Docs Menu

Docs HomeMongoDB Command Line Interface

mongocli ops-manager serverUsage projects hosts list

On this page

  • Syntax
  • Options
  • Inherited Options

List all host assignments for one project.

mongocli ops-manager serverUsage projects 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.
-o, --output
string
false
Output format. Valid values: json|json-path|go-template|go-template-file
--page
int
false
Page number.
--projectId
string
false
Project ID to use. Overrides configuration file or environment variable settings.
--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.
←  mongocli ops-manager serverUsage projects hostsmongocli ops-manager serverUsage projects serverType →
Share Feedback