airflow.contrib.operators.wasb_delete_blob_operator
¶
Module Contents¶
-
class
airflow.contrib.operators.wasb_delete_blob_operator.
WasbDeleteBlobOperator
(container_name, blob_name, wasb_conn_id='wasb_default', check_options=None, is_prefix=False, ignore_if_missing=False, *args, **kwargs)[source]¶ Bases:
airflow.models.BaseOperator
Deletes blob(s) on Azure Blob Storage.
- Parameters
container_name (str) – Name of the container. (templated)
blob_name (str) – Name of the blob. (templated)
wasb_conn_id (str) – Reference to the wasb connection.
check_options – Optional keyword arguments that WasbHook.check_for_blob() takes.
is_prefix (bool) – If blob_name is a prefix, delete all files matching prefix.
ignore_if_missing (bool) – if True, then return success even if the blob does not exist.