EstimatorResult Class

Microsoft Resource Estimator result.

The class represents simple resource estimation results as well as batching resource estimation results. The latter can be indexed by an integer index to access an individual result from the batching result.

Inheritance
builtins.dict
EstimatorResult

Constructor

EstimatorResult(data: Dict | List)

Parameters

Name Description
data
Required

Methods

data

Returns raw data of the result object.

In case of a batching job, you can pass an index to access a specific item.

data

Returns raw data of the result object.

In case of a batching job, you can pass an index to access a specific item.

data(idx: int | None = None) -> Any

Parameters

Name Description
idx
default value: None

Attributes

error

Returns the error object if the result is an error.

json

Returns a JSON representation of the resource estimation result data.

logical_counts

Returns the logical counts of the result.

MAX_DEFAULT_ITEMS_IN_TABLE

MAX_DEFAULT_ITEMS_IN_TABLE = 5