collect-diagnostic-bundle

subtitle

Collect diagnostic bundle for a policy.

version

0.9.126

Description

Triggers the collection of diagnostic bundle for a policy.

Synopsis

  collect-diagnostic-bundle
--cluster-crn <value>
--policy-name <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--cluster-crn (string)

The CRN of the target cluster.

--policy-name (string)

Name of the policy.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

commandId -> (integer)

ID of the diagnostic bundle collection command issued against the CM. Polling get-command-status with this command id returns the current state of the command.

name -> (string)

Name of the policy.

active -> (boolean)

Whether the diagnostic bundle command is active.

startTime -> (string)

Start time of the diagnostic bundle collection command.

resultMessage -> (string)

Diagnostic bundle collection command result message.

Form Factors

public