AuditLogEventAutoscalingScheduleUpsert¶
- class baseten.client.managementapi.AuditLogEventAutoscalingScheduleUpsert(*, min_replica, max_replica, concurrency_target, autoscaling_window, scale_down_delay, target_utilization_percentage, target_in_flight_tokens, max_scale_down_rate, schedule_name, enabled, cadence, timezone, weekdays, start_hour, start_minute, end_hour, end_minute, start_at=None, end_at=None, schedule_id)¶
Bases:
BaseModel- Parameters:
min_replica (Annotated[int, FieldInfo(annotation=NoneType, required=True, title='Min Replica')])
max_replica (Annotated[int, FieldInfo(annotation=NoneType, required=True, title='Max Replica')])
concurrency_target (Annotated[int | None, FieldInfo(annotation=NoneType, required=True, title='Concurrency Target')])
autoscaling_window (Annotated[int | None, FieldInfo(annotation=NoneType, required=True, title='Autoscaling Window')])
scale_down_delay (Annotated[int | None, FieldInfo(annotation=NoneType, required=True, title='Scale Down Delay')])
target_utilization_percentage (Annotated[int | None, FieldInfo(annotation=NoneType, required=True, title='Target Utilization Percentage')])
target_in_flight_tokens (Annotated[int | None, FieldInfo(annotation=NoneType, required=True, title='Target In Flight Tokens')])
max_scale_down_rate (Annotated[float | None, FieldInfo(annotation=NoneType, required=True, title='Max Scale Down Rate')])
schedule_name (Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Schedule Name')])
enabled (Annotated[bool, FieldInfo(annotation=NoneType, required=True, title='Enabled')])
cadence (Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Cadence')])
timezone (Annotated[str | None, FieldInfo(annotation=NoneType, required=True, title='Timezone')])
weekdays (Annotated[list[str] | None, FieldInfo(annotation=NoneType, required=True, title='Weekdays')])
start_hour (Annotated[int | None, FieldInfo(annotation=NoneType, required=True, title='Start Hour')])
start_minute (Annotated[int | None, FieldInfo(annotation=NoneType, required=True, title='Start Minute')])
end_hour (Annotated[int | None, FieldInfo(annotation=NoneType, required=True, title='End Hour')])
end_minute (Annotated[int | None, FieldInfo(annotation=NoneType, required=True, title='End Minute')])
start_at (Annotated[str | None, FieldInfo(annotation=NoneType, required=True, title='Start At')])
end_at (Annotated[str | None, FieldInfo(annotation=NoneType, required=True, title='End At')])
schedule_id (Annotated[str | None, FieldInfo(annotation=NoneType, required=True, title='Schedule Id')])
- model_config = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].