Class OperationProgress (2.0.1)

OperationProgress(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Information about operation (or operation stage) progress.

Attributes

NameDescription
name str
A non-parameterized string describing an operation stage. Unset for single-stage operations.
status .cluster_service.Operation.Status
Status of an operation stage. Unset for single-stage operations.
metrics Sequence[.cluster_service.OperationProgress.Metric]
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
stages Sequence[.cluster_service.OperationProgress]
Substages of an operation or a stage.

Classes

Metric

Metric(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Progress metric is (string, int|float|string) pair.