Поделиться через


TimeZone Перечисление

Перечисляет допустимые часовые пояса для повторения Schedule.

Наследование
TimeZone

Конструктор

TimeZone(value)

Комментарии

Параметр TimeZone можно использовать при создании ScheduleRecurrence, чтобы указать часовой пояс для времени начала повторения. Если значение не указано, используется время в формате UTC.

При создании расписания используйте параметр TimeZone следующим образом:


   from azureml.pipeline.core import Schedule, ScheduleRecurrence, TimeZone
   import datetime

   start_time = datetime.datetime(year=2019, month=5, day=20, hour=16)

   recurrence = ScheduleRecurrence(frequency="Minute",
                                   interval=30,
                                   start_time=start_time,
                                   time_zone=TimeZone.PacificStandardTime)

   schedule = Schedule.create(workspace, name="TestSchedule", pipeline_id=pipeline.id,
                              experiment_name="experiment_name", recurrence=recurrence)

Будет создано расписание, запускающее отправку конвейера каждые 30 минут, начиная с 20 мая 2019 г. в 16:00 по тихоокеанскому времени.

Дополнительные сведения об использовании расписаний для конвейеров: https://aka.ms/pl-schedule.

Поля

AUSCentralStandardTime
AUSEasternStandardTime
AfghanistanStandardTime
AlaskanStandardTime
AleutianStandardTime
AltaiStandardTime
ArabStandardTime
ArabianStandardTime
ArabicStandardTime
ArgentinaStandardTime
AstrakhanStandardTime
AtlanticStandardTime
AusCentralWStandardTime
AzerbaijanStandardTime
AzoresStandardTime
BahiaStandardTime
BangladeshStandardTime
BelarusStandardTime
BougainvilleStandardTime
CanadaCentralStandardTime
CapeVerdeStandardTime
CaucasusStandardTime
CenAustraliaStandardTime
CentralAmericaStandardTime
CentralAsiaStandardTime
CentralBrazilianStandardTime
CentralEuropeStandardTime
CentralEuropeanStandardTime
CentralPacificStandardTime
CentralStandardTime
CentralStandardTimeMexico
ChathamIslandsStandardTime
ChinaStandardTime
CubaStandardTime
DatelineStandardTime
EAfricaStandardTime
EAustraliaStandardTime
EEuropeStandardTime
ESouthAmericaStandardTime
EasterIslandStandardTime
EasternStandardTime
EasternStandardTimeMexico
EgyptStandardTime
EkaterinburgStandardTime
FLEStandardTime
FijiStandardTime
GMTStandardTime
GTBStandardTime
GeorgianStandardTime
GreenlandStandardTime
GreenwichStandardTime
HaitiStandardTime
HawaiianStandardTime
IndiaStandardTime
IranStandardTime
IsraelStandardTime
JordanStandardTime
KaliningradStandardTime
KamchatkaStandardTime
KoreaStandardTime
LibyaStandardTime
LineIslandsStandardTime
LordHoweStandardTime
MagadanStandardTime
MarquesasStandardTime
MauritiusStandardTime
MidAtlanticStandardTime
MiddleEastStandardTime
MontevideoStandardTime
MoroccoStandardTime
MountainStandardTime
MountainStandardTimeMexico
MyanmarStandardTime
NCentralAsiaStandardTime
NamibiaStandardTime
NepalStandardTime
NewZealandStandardTime
NewfoundlandStandardTime
NorfolkStandardTime
NorthAsiaEastStandardTime
NorthAsiaStandardTime
NorthKoreaStandardTime
PacificSAStandardTime
PacificStandardTime
PacificStandardTimeMexico
PakistanStandardTime
ParaguayStandardTime
RomanceStandardTime
RussiaTimeZone10
RussiaTimeZone11
RussiaTimeZone3
RussianStandardTime
SAEasternStandardTime
SAPacificStandardTime
SAWesternStandardTime
SEAsiaStandardTime
SaintPierreStandardTime
SakhalinStandardTime
SamoaStandardTime
SingaporeStandardTime
SouthAfricaStandardTime
SriLankaStandardTime
SyriaStandardTime
TaipeiStandardTime
TasmaniaStandardTime
TocantinsStandardTime
TokyoStandardTime
TomskStandardTime
TongaStandardTime
TransbaikalStandardTime
TurkeyStandardTime
TurksAndCaicosStandardTime
USEasternStandardTime
USMountainStandardTime
UTC
UTC02
UTC08
UTC09
UTC11
UTC12
UlaanbaatarStandardTime
VenezuelaStandardTime
VladivostokStandardTime
WAustraliaStandardTime
WCentralAfricaStandardTime
WEuropeStandardTime
WMongoliaStandardTime
WestAsiaStandardTime
WestBankStandardTime
WestPacificStandardTime
YakutskStandardTime