retry-change-flow-version

subtitle

Retries a change flow version attempt of a deployment

version

0.9.126

Description

Retries a failed change flow version attempt of a deployment. This operation is supported for the CLI only.

Synopsis

  retry-change-flow-version
--service-crn <value>
--deployment-crn <value>
[--strategy <value>]
[--wait-for-flow-to-stop-in-minutes <value>]
[--parameter-groups <value>]
[--kpis <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--service-crn (string)

CRN for the service.

--deployment-crn (string)

CRN for the deployment.

--strategy (string)

The strategy to use for retry change flow version. If nothing is specified, the strategy used in the previous change flow version attempt will be used.

Possible values:

  • STOP_AND_PROCESS_DATA

  • STOP_AND_EMPTY_QUEUES

  • ONLY_RESTART_AFFECTED_COMPONENTS

--wait-for-flow-to-stop-in-minutes (integer)

The max time in minutes to wait for flow to bleed out. This is only relevant when using the default change flow version strategy (STOP_AND_PROCESS_DATA). If nothing is specified and using the STOP_AND_PROCESS_DATA strategy, then thewait time used in the previous change flow version attempt will be used.

--parameter-groups (array)

Parameter groups with each requiring a value or assets.

JSON Syntax:

[
  {
    "name": "string",
    "parameters": [
      {
        "name": "string",
        "value": "string",
        "assetReferences": [
          { ... recursive ... }
          ...
        ]
      }
      ...
    ]
  }
  ...
]

--kpis (array)

Key Performance Indicators with associated alerts. If these are specified, the KPIs here will replace all the existing KPIs in the deployment.

JSON Syntax:

[
  {
    "metricId": "string",
    "componentId": "string",
    "alert": {
      "thresholdMoreThan": {
        "unitId": "string",
        "value": double
      },
      "thresholdLessThan": {
        "unitId": "string",
        "value": double
      },
      "frequencyTolerance": {
        "value": double,
        "unit": {
          "id": "SECONDS"|"MINUTES"|"HOURS"|"DAYS"
        }
      }
    }
  }
  ...
]

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

crn -> (string)

CRN for the deployment where retry change flow version was performed.

Form Factors

public