TimeZone 列舉
列舉週期 Schedule 的有效時區。
- 繼承
-
TimeZone
建構函式
TimeZone(value)
備註
建立 時 ScheduleRecurrence ,可以使用 TimeZone 來指定週期開始時間的時區。 如果未提供 None,則會使用 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 分鐘觸發管線提交,從 2019 年 5 月 20 日下午 4: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 |