-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathfleet_configuration_get.yaml
More file actions
34 lines (31 loc) · 1.33 KB
/
fleet_configuration_get.yaml
File metadata and controls
34 lines (31 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: get
short: Get a fleet configuration or version
long: |
Get a fleet configuration or a specific version of a configuration.
You can retrieve the latest version of a configuration, a specific version by number,
or a configuration version by its entity GUID.
example: |
# Get latest version of a configuration
newrelic fleetcontrol configuration get --configuration-id "abc-123-def"
# Get specific version of a configuration
newrelic fleetcontrol configuration get --configuration-id "abc-123-def" --version 2
# Get configuration version by version entity GUID
newrelic fleetcontrol configuration get --configuration-id "version-entity-guid" --mode ConfigVersionEntity
flags:
- name: configuration-id
type: string
required: true
description: the configuration or version entity GUID
- name: organization-id
type: string
description: the organization ID; if not provided, will be derived from current organization
- name: mode
type: string
default: ConfigEntity
description: the entity type to retrieve (ConfigEntity for configuration, ConfigVersionEntity for specific version entity)
validation:
allowed_values: ["ConfigEntity", "ConfigVersionEntity"]
- name: version
type: int
default: -1
description: the version number to retrieve (only applies when mode is ConfigEntity)