Difference between revisions of "Opsgeniecli"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<pre> Usage: opsgeniecli [OPTIONS] COMMAND [ARGS]... Function to sort the authentication used in further calls Args: config_file: option to deviate from the defau...")
 
Line 32: Line 32:
 
   --help                          Show this message and exit.
 
   --help                          Show this message and exit.
  
Commands:
 
  alerts                Sub-command for Opsgeniecli.
 
  config                Sub-command for Opsgeniecli.
 
  escalations          Sub-command for Opsgeniecli.
 
  heartbeat            Sub-command for Opsgeniecli.
 
  integrations          Sub-command for Opsgeniecli.
 
  logs                  Sub-command for Opsgeniecli.
 
  on-call              Function to list the user on-call per team Returns:...
 
  override              Function to override the on-call schedule with...
 
  policy-alerts        Sub-command for Opsgeniecli.
 
  policy-maintenance    Sub-command for Opsgeniecli.
 
  policy-notifications  Sub-command for Opsgeniecli.
 
  schedules            Sub-command for Opsgeniecli.
 
  teams                Sub-command for Opsgeniecli.
 
  teams-routing-rules  Sub-command for Opsgeniecli.
 
  users                Sub-command for Opsgeniecli.
 
 
</pre>
 
</pre>
 +
 +
Commands:
 +
  [[alerts]]                Sub-command for Opsgeniecli.
 +
  config                Sub-command for Opsgeniecli.    escalations          Sub-command for Opsgeniecli.
 +
  heartbeat            Sub-command for Opsgeniecli.
 +
  integrations          Sub-command for Opsgeniecli.
 +
  logs                  Sub-command for Opsgeniecli.
 +
  on-call              Function to list the user on-call per team Returns:...
 +
  override              Function to override the on-call schedule with...
 +
  policy-alerts        Sub-command for Opsgeniecli.
 +
  policy-maintenance    Sub-command for Opsgeniecli.
 +
  policy-notifications  Sub-command for Opsgeniecli.
 +
  schedules            Sub-command for Opsgeniecli.
 +
  teams                Sub-command for Opsgeniecli.
 +
  teams-routing-rules  Sub-command for Opsgeniecli.
 +
  users                Sub-command for Opsgeniecli.
  
 
== See also ==
 
== See also ==

Revision as of 08:22, 2 March 2022

Usage: opsgeniecli [OPTIONS] COMMAND [ARGS]...

  Function to sort the authentication used in further calls

  Args:

      config_file: option to deviate from the default config location at ~/.opsgenie-cli/config.json
      team_name: teamname in Opsgenie
      team_id: teamid in Opsgenie
      api_key: API key used to authenticate. Note: some calls require an API restricted to a team, most DO NOT
      profile: option to switch between config entries in the config file

  Returns:
      This function None on success, output shows for incorrect API and misuse of parameters

Options:
  --config-file, --config_file TEXT
                                   NOTE: This argument is mutually exclusive
                                   with  arguments: [team, apikey].

  --team-name TEXT                 NOTE: This argument is mutually exclusive
                                   with  arguments: [config_file].

  --team-id TEXT                   NOTE: This argument is mutually exclusive
                                   with  arguments: [config_file].

  --api-key, --api_key TEXT        NOTE: This argument is mutually exclusive
                                   with  arguments: [config_file].

  --profile TEXT
  --help                          Show this message and exit.

Commands:
  alerts                Sub-command for Opsgeniecli.
  config                Sub-command for Opsgeniecli.    escalations           Sub-command for Opsgeniecli.
  heartbeat             Sub-command for Opsgeniecli.
  integrations          Sub-command for Opsgeniecli.
  logs                  Sub-command for Opsgeniecli.
  on-call               Function to list the user on-call per team Returns:...
  override              Function to override the on-call schedule with...
  policy-alerts         Sub-command for Opsgeniecli.
  policy-maintenance    Sub-command for Opsgeniecli.
  policy-notifications  Sub-command for Opsgeniecli.
  schedules             Sub-command for Opsgeniecli.
  teams                 Sub-command for Opsgeniecli.
  teams-routing-rules   Sub-command for Opsgeniecli.
  users                 Sub-command for Opsgeniecli.

See also

Advertising: