update-deployment

subtitle

Updates a deployment.

version

0.9.61 (BETA)

Description

Updates a deployment.

Synopsis

  update-deployment
--environment-crn <value>
--configuration-version <value>
--deployment-crn <value>
[--parameter-groups <value>]
[--auto-scaling-enabled | --no-auto-scaling-enabled]
[--auto-scale-min-nodes <value>]
[--auto-scale-max-nodes <value>]
[--static-node-count <value>]
[--kpis <value>]
[--asset-update-request-crn <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--environment-crn (string)

The CRN of an environment to execute the command.

--configuration-version (integer)

The version of this configuration

--deployment-crn (string)

The CRN of the existing deployment to be updated.

--parameter-groups (array)

The list of flow parameter groups

JSON Syntax:

[
  {
    "name": "string",
    "parameters": [
      {
        "name": "string",
        "description": "string",
        "value": "string",
        "sensitive": true|false,
        "type": "TEXT"|"FILE"|"FILES",
        "assetReferences": [
          { ... recursive ... }
          ...
        ]
      }
      ...
    ]
  }
  ...
]

--auto-scaling-enabled | --no-auto-scaling-enabled (boolean)

Specifies that auto-scaling should be enabled.

--auto-scale-min-nodes (integer)

The minimum number of nodes that the cluster should allocate. May only be specified when auto-scaling-enabled is true.

--auto-scale-max-nodes (integer)

The maximum number of nodes that the cluster should scale to. May only be specified when auto-scaling-enabled is true.

--static-node-count (integer)

The static number of nodes that the cluster should allocate. May only be specified when auto-scaling-enabled is false.

--kpis (array)

The list of configured KPIs

JSON Syntax:

[
  {
    "metricId": "string",
    "id": "string",
    "metricComponentType": "SYSTEM"|"NIFI_FLOW"|"NIFI_PROCESSOR"|"NIFI_PROCESS_GROUP"|"NIFI_CONNECTION",
    "alert": {
      "thresholdMoreThan": {
        "unitId": "string",
        "value": double
      },
      "thresholdLessThan": {
        "unitId": "string",
        "value": double
      },
      "frequencyTolerance": {
        "unit": {
          "id": "SECONDS"|"MINUTES"|"HOURS"|"DAYS",
          "label": "string",
          "abbreviation": "string"
        },
        "value": double
      }
    },
    "componentId": "string"
  }
  ...
]

--asset-update-request-crn (string)

The CRN of the asset update request. Required when updating assets of an existing deployment.

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

deploymentConfiguration -> (object)

Provides all of the configuration that dictates how a flow should be deployed

configurationVersion -> (integer)

The version of this configuration

parameterGroups -> (array)

The list of flow parameter groups

item -> (object)

A flow parameter group

name -> (string)

The name of the parameter group

parameters -> (array)

The parameters in the group

item -> (object)

A flow parameter

name -> (string)

The name of the parameter

description -> (string)

The description of the param

value -> (string)

The value of the parameter

sensitive -> (boolean)

Whether or not the parameter value is sensitive

type -> (string)

The type of parameter. Possibly TEXT, FILE, FILES, DIRECTORY

assetReferences -> (array)

The list of referenced assets.

( … recursive … )

autoScalingEnabled -> (boolean)

Specifies that auto-scaling should be enabled.

autoScaleMinNodes -> (integer)

The minimum number of nodes that the cluster should allocate. May only be specified when auto-scaling-enabled is true.

autoScaleMaxNodes -> (integer)

The maximum number of nodes that the cluster should scale to. May only be specified when auto-scaling-enabled is true.

staticNodeCount -> (integer)

The static number of nodes that the cluster should allocate. May only be specified when auto-scaling-enabled is false.

kpis -> (array)

The list of configured KPIs

item -> (object)

An instantiated KPI specifying a metric on which to alert

metricId -> (string)

The id of the associated metric

id -> (string)

The id of the KPI; used only when viewing and editing existing KPIs

metricComponentType -> (string)

The component type of the associated metric

alert -> (object)

An alert configuration that specifies a configured frequency with lower and/or upper thresholds

thresholdMoreThan -> (object)

A configured alert threshold to pair together a statistical unit and value

unitId -> (string)

The identifier of the alert threshold unit to associate with the given threshold value

value -> (double)

The threshold value whose triggering causes an alert

thresholdLessThan -> (object)

A configured alert threshold to pair together a statistical unit and value

unitId -> (string)

The identifier of the alert threshold unit to associate with the given threshold value

value -> (double)

The threshold value whose triggering causes an alert

frequencyTolerance -> (object)

An alert configuration frequency tolerance for measuring an amount of time and unit for alert triggering

unit -> (object)

The alert frequency unit to use in KPI tolerances and metrics

id -> (string)

The id of the frequency unit

label -> (string)

The user-friendly label of the frequency unit

abbreviation -> (string)

The abbreviation for frequency unit

value -> (double)

The amount of time, associated with the given unit, a metric value can persist outside its boundaries before an alert is generated

componentId -> (string)

The optional process group ID, processor ID, or connection ID. This is a composite ID containing a chain of process group IDs representing the component’s full ancestry

deploymentId -> (string)

The id of the deployment.

deploymentCrn -> (string)

The CRN of the deployment.

name -> (string)

The name of the deployment

cfmNifiVersion -> (string)

The CFM NiFi version associated with the deployment

autoStartFlow -> (boolean)

Indicates whether or not the flow should be started during deployment creation

clusterSizeName -> (string)

The size of the cluster to deploy

parametersDirty -> (boolean)

Indicates whether or not all current parameter values have successfully been applied to NiFi

kpisDirty -> (boolean)

Indicates whether or not the current KPIs have successfully been deployed as alert rules

sizingAndScalingDirty -> (boolean)

Indicates whether or not the current sizing and scaling configuration has been successfully applied in Kubernetes

lastUpdatedByUsername -> (string)

The username of the last person to update the deployment configuration

Form Factors

public