mongocli ops-manager serverUsage organizations 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 organization.
Syntax
mongocli ops-manager serverUsage organizations 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. |
--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. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |
Auto generated by MongoDB CLI on 29-Jun-2021