blob: af43e76cd9f108c63c7a40492dfa427cc6aec9aa [file] [log] [blame]
:mod:`airflow.contrib.operators.wasb_delete_blob_operator`
==========================================================
.. py:module:: airflow.contrib.operators.wasb_delete_blob_operator
Module Contents
---------------
.. py:class:: WasbDeleteBlobOperator(container_name, blob_name, wasb_conn_id='wasb_default', check_options=None, is_prefix=False, ignore_if_missing=False, *args, **kwargs)
Bases: :class:`airflow.models.BaseOperator`
Deletes blob(s) on Azure Blob Storage.
:param container_name: Name of the container. (templated)
:type container_name: str
:param blob_name: Name of the blob. (templated)
:type blob_name: str
:param wasb_conn_id: Reference to the wasb connection.
:type wasb_conn_id: str
:param check_options: Optional keyword arguments that
`WasbHook.check_for_blob()` takes.
:param is_prefix: If blob_name is a prefix, delete all files matching prefix.
:type is_prefix: bool
:param ignore_if_missing: if True, then return success even if the
blob does not exist.
:type ignore_if_missing: bool
.. attribute:: template_fields
:annotation: = ['container_name', 'blob_name']
.. method:: execute(self, context)