describe-scaling-activity

subtitle

Describes the Scaling Activity using Cluster CRN or Cluster NAME and operation ID.

version

0.9.111

Description

Describes the Scaling Activity using Cluster CRN or Cluster NAME and operation ID.

Synopsis

  describe-scaling-activity
--cluster <value>
--operation-id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--cluster (string)

The name or CRN of the cluster.

--operation-id (string)

Operation ID of the scaling activity.

--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

scalingActivity -> (object)

Information about a Scaling activity.

operationId -> (string)

The operation ID of the scaling activity.

startTime -> (datetime)

The start time of the scaling activity.

endTime -> (datetime)

The end time of the scaling activity.

scalingActivityReason -> (string)

The reason of the scaling activity.

activityStatus -> (string)

The status of the scaling activity. Supported values- ACTIVITY_PENDING - If scaling activity is in pending state, METRICS_COLLECTION_SUCCESS/FAILED - for success/failure of metrics collection, UPSCALE_TRIGGER_SUCCESS/FAILED - for success/failure at the time of upscaling, DOWNSCALE_TRIGGER_SUCCESS/FAILED for success/failure at the time of downscaling, SCHEDULE_BASED_UPSCALE/DOWNSCALE - if schedule based scaling is used, SCALING_FLOW_IN_PROGRESS/SUCCESS/FAILED - State at which the scaling has reached, POLICY_ADJUSTMENT - if policy adjustment is taking place, UNKNOWN - if the state is not known.

Form Factors

public