Scenario#
- class Scenario(name=None, cluster_ext_id=None, vendors=None, updated_time=None, target_runway_days=None, runway=None, workloads=None, cluster_config=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
ExternalizableAbstractModel
WhatIf Scenario.
- Parameters:
name (min=1 chars, max=256 chars) – (
name
) Name of capacity planning scenario.cluster_ext_id – (
cluster_ext_id
) UUID of the cluster for which Whatif analysis is being performed.vendors – (
vendors
) A list of allowed vendors whose model can be requested to sustain the workload in a capacity planning scenario.updated_time – (
updated_time
) Timestamp when the capacity planning scenario is updated. The value should be in ISO-8601 format. For example, 2022-02-20T00:00:00.458Z.target_runway_days (min=30, max=360) – (
target_runway_days
) Number of days a cluster is expected to sustain the workload in a capacity planning scenario.runway – (
runway
)workloads – (
workloads
) List of workloads for which runway analysis is being done. It can be considered an additional resource requirement required to run a specific use case. For example, a SQL server.cluster_config – (
cluster_config
)
- property cluster_config#
- Type:
- property cluster_ext_id#
UUID of the cluster for which Whatif analysis is being performed.
- Type:
str
- property name#
Name of capacity planning scenario.
- Type:
str
- property target_runway_days#
Number of days a cluster is expected to sustain the workload in a capacity planning scenario.
- Type:
int
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model
- property updated_time#
Timestamp when the capacity planning scenario is updated. The value should be in ISO-8601 format. For example, 2022-02-20T00:00:00.458Z.
- Type:
datetime