start-cluster-vertical-scaling

subtitle

Initiates the vertical scaling on Data Hub cluster.

version

0.9.165-dirty

Description

Initiates the vertical scaling on Data Hub cluster. You have the option to either specify one of ‘modifyDisks’ or ‘instanceTemplate’ as parameter.

Synopsis

  start-cluster-vertical-scaling
--datahub <value>
--group <value>
[--instance-template <value>]
[--disk-options <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--datahub (string)

The name or CRN of the Data Hub cluster.

--group (string)

The target group that reqested for vertical scaling.

--instance-template (object)

Instance template configuration(s).

instanceType -> (string)

The type of the instance.

Shorthand Syntax:

instanceType=string

JSON Syntax:

{
  "instanceType": "string"
}

--disk-options (object)

Attached disk configuration(s).

deleteDisks -> (boolean)

Set it true to delete all attached disks on all the instances in a group.

addDisks -> (object)

Attached volume configuration.

numberOfDisks -> (integer)

Number of disks to add on all the instances in a group.

volumeType -> (string)

Type of disks to add on all the instances in a group.

size -> (integer)

Size of disks to add on all the instances in a group in GB.

cloudVolumeUsageType -> (string)

Usage for the requested disks.

modifyDisks -> (object)

Root or additional volume properties to modify.

size -> (integer)

Size of disks to modify on all the instances in a group in GB.

volumeType -> (string)

Type of disks to modify on all the instances in a group.

diskType -> (string)

Whether to modify the root disk, database disk or additional disks.

Shorthand Syntax:

deleteDisks=boolean,addDisks={numberOfDisks=integer,volumeType=string,size=integer,cloudVolumeUsageType=string},modifyDisks={size=integer,volumeType=string,diskType=string}

JSON Syntax:

{
  "deleteDisks": true|false,
  "addDisks": {
    "numberOfDisks": integer,
    "volumeType": "string",
    "size": integer,
    "cloudVolumeUsageType": "GENERAL"|"DATABASE"
  },
  "modifyDisks": {
    "size": integer,
    "volumeType": "string",
    "diskType": "ROOT_DISK"|"ADDITIONAL_DISK"|"DATABASE_DISK"
  }
}

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

result -> (string)

The result of the operation.

operationId -> (string)

Unique operation ID assigned to this command execution. Use this identifier with ‘get-operation’ to track status and retrieve detailed results.

Form Factors

public