Compartilhar via


TimeZone Enumeração

Enumera os fusos horários válidos para uma Schedule de recorrência.

Herança
TimeZone

Construtor

TimeZone(value)

Comentários

TimeZone pode ser usado ao criar um ScheduleRecurrence para especificar o fuso horário da hora de início da recorrência. Se nenhum for fornecido, será usado o UTC.

Use um TimeZone ao criar um agendamento da seguinte maneira:


   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)

Isso criará um agendamento que disparará um envio de pipeline a cada 30 minutos a partir de 20 de maio de 2019 às 16h, Hora Padrão do Pacífico.

Para mais informações sobre como usar agendamentos para pipelines, consulte https://aka.ms/pl-schedule.

Campos

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