airflow.providers.microsoft.azure.triggers.compute¶
Classes¶
Poll the Azure VM power state and yield a TriggerEvent once it matches the target. |
Module Contents¶
- class airflow.providers.microsoft.azure.triggers.compute.AzureVirtualMachineStateTrigger(resource_group_name, vm_name, target_state, azure_conn_id='azure_default', poke_interval=30.0)[source]¶
Bases:
airflow.triggers.base.BaseTriggerPoll the Azure VM power state and yield a TriggerEvent once it matches the target.
Uses the native async Azure SDK client (
azure.mgmt.compute.aio) so that the triggerer event loop is never blocked.- Parameters: