sedai.operation_compatibility
Represents a barrier preventing a resource from being eligible for Sedai operation.
The compatibility of a resource for Sedai operation. Certain barriers may prevent the resource from being eligible for Sedai operation. Resolve barriers to make resources operation-friendly.
Number of barriers potentially preventing the resource from being eligible for Sedai operation.
Barriers potentially preventing the resource from being eligible for Sedai operation.
Get the eligibility status for resources to be operated on by Sedai, including any barriers preventing operation.
Returns the operation compatibility for resources, and the number of positive and negative factors that
determine the eligibility of the resource for Sedai operation. Optionally include details about these factors,
and suggested actions to resolve barriers by passing include_factors=True
.
Parameters
- optimization_modes: Optional list of optimization modes. Possible values are
DATA_PILOT
: Sedai will not optimize the resource.CO_PILOT
: Sedai will give recommendations for the optimization of the resource, but the user has to manually apply the recommendations.AUTO
: Sedai will attempt to autonomously optimize the resource.
If None, all optimization modes are retrieved.
- availability_modes: Optional list of availability modes. Possible values are
DATA_PILOT
: Sedai will not optimize the resource.CO_PILOT
: Sedai will give recommendations for the optimization of the resource, but the user has to manually apply the recommendations.AUTO
: Sedai will attempt to autonomously optimize the resource.
If None, all availability modes are retrieved.
- is_compatible: Retrieve resources that are eligible for Sedai operation by passing
True
. By default, only retrieves resources that are ineligible. - include_factors: Include details about factors that make the resource eligible or ineligible for Sedai operation. Default is False. If True, the 'positiveFactors' and 'blockers' fields will be populated with details.
- pagination_config: Optional pagination configuration. By default, uses the default pagination configuration-
sedai.pagination.DEFAULT_PAGINATION_CONFIG
.
Returns
A
sedai.pagination.PageIterator
ofOperationCompatibility
objects representing the eligibility status of each resource.