ScenarioProjection#
- class ScenarioProjection(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:
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
)ext_id – (
ext_id
) A globally unique identifier of an instance that is suitable for external consumption.links – (
links
) A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.tenant_id – (
tenant_id
) A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model