mongocli ops-manager serverUsage projects hosts list
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
List all host assignments for one project.
Syntax
mongocli ops-manager serverUsage projects hosts list [options]
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. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |