airflow.providers.microsoft.azure.operators.compute¶
Classes¶
Base operator for Azure Virtual Machine operations. |
|
Start an Azure Virtual Machine. |
|
Stop (deallocate) an Azure Virtual Machine. |
|
Restart an Azure Virtual Machine. |
Module Contents¶
- class airflow.providers.microsoft.azure.operators.compute.BaseAzureVirtualMachineOperator(*, resource_group_name, vm_name, wait_for_completion=True, azure_conn_id='azure_default', **kwargs)[source]¶
Bases:
airflow.providers.common.compat.sdk.BaseOperatorBase operator for Azure Virtual Machine operations.
- Parameters:
- template_fields: collections.abc.Sequence[str] = ('resource_group_name', 'vm_name')[source]¶
- class airflow.providers.microsoft.azure.operators.compute.AzureVirtualMachineStartOperator(*, resource_group_name, vm_name, wait_for_completion=True, azure_conn_id='azure_default', **kwargs)[source]¶
Bases:
BaseAzureVirtualMachineOperatorStart an Azure Virtual Machine.
See also
For more information on how to use this operator, take a look at the guide: AzureVirtualMachineStartOperator
- Parameters:
- class airflow.providers.microsoft.azure.operators.compute.AzureVirtualMachineStopOperator(*, resource_group_name, vm_name, wait_for_completion=True, azure_conn_id='azure_default', **kwargs)[source]¶
Bases:
BaseAzureVirtualMachineOperatorStop (deallocate) an Azure Virtual Machine.
Uses
begin_deallocateto release compute resources and stop billing.See also
For more information on how to use this operator, take a look at the guide: AzureVirtualMachineStopOperator
- Parameters:
- class airflow.providers.microsoft.azure.operators.compute.AzureVirtualMachineRestartOperator(*, resource_group_name, vm_name, wait_for_completion=True, azure_conn_id='azure_default', **kwargs)[source]¶
Bases:
BaseAzureVirtualMachineOperatorRestart an Azure Virtual Machine.
See also
For more information on how to use this operator, take a look at the guide: AzureVirtualMachineRestartOperator
- Parameters: