ComputeSchedules Class
Compute schedules.
- Inheritance
-
azure.ai.ml.entities._mixins.RestTranslatableMixinComputeSchedules
ComputeSchedules(*, compute_start_stop: List[ComputeStartStopSchedule] | None = None)
Name | Description |
---|---|
compute_start_stop
Required
|
Compute start or stop schedules. |
kwargs
Required
|
A dictionary of additional configuration parameters. |
Name | Description |
---|---|
compute_start_stop
Required
|
|
Creating a ComputeSchedules object.
from azure.ai.ml.constants import TimeZone
from azure.ai.ml.entities import ComputeSchedules, ComputeStartStopSchedule, CronTrigger
start_stop = ComputeStartStopSchedule(
trigger=CronTrigger(
expression="15 10 * * 1",
start_time="2022-03-10 10:15:00",
end_time="2022-06-10 10:15:00",
time_zone=TimeZone.PACIFIC_STANDARD_TIME,
)
)
compute_schedules = ComputeSchedules(compute_start_stop=[start_stop])
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python feedback
Azure SDK for Python is an open source project. Select a link to provide feedback: