airflow.providers.microsoft.azure.operators.wasb_delete_blob
¶
Module Contents¶
-
class
airflow.providers.microsoft.azure.operators.wasb_delete_blob.
WasbDeleteBlobOperator
(*, container_name: str, blob_name: str, wasb_conn_id: str = 'wasb_default', check_options: Any = None, is_prefix: bool = False, ignore_if_missing: bool = False, **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.